> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corelayer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PII Masking and Data Redaction

> Corelayer redacts emails, API keys, and financial data before it reaches issue summaries or AI output, so regulated teams debug without exposing customer PII.

## Overview

Corelayer uses customizable PII masking to keep sensitive customer data protected without removing the technical context engineers need for root-cause analysis.

PII is redacted before analysis so sensitive values are not exposed in issue summaries, notifications, or AI investigation output.

## Why It Matters

* Protects sensitive customer information by default
* Preserves operational visibility for faster debugging
* Supports regulated environments with stricter privacy controls
* Lets teams tune redaction based on their compliance needs

## PII Categories

Corelayer supports five masking categories:

| Category        | Examples                                                 | Default   |
| --------------- | -------------------------------------------------------- | --------- |
| `secrets`       | API keys, tokens, credentials, private keys              | Always On |
| `personal_info` | Email addresses, phone numbers, SSNs, physical addresses | On        |
| `financial`     | Credit card numbers, account-like financial strings      | On        |
| `network`       | IPv4 and IPv6 addresses                                  | Off       |
| `identifiers`   | UUIDs, user IDs, session IDs, coordinate-like IDs        | Off       |

`network` and `identifiers` are off by default to avoid over-redacting operational signals that are often required for debugging.

## How Masking Works

1. Data is ingested for issue detection and investigation.
2. PII masking rules are applied before analysis output is generated.
3. Redacted output is used in issue summaries, notifications, and investigation artifacts.

This flow reduces privacy risk while maintaining actionable debugging context.

## Configure PII Masking

1. In Corelayer, go to **Settings → Privacy**.
2. Toggle supported categories (`personal_info`, `financial`, `network`, `identifiers`).
3. Save settings.

Notes:

* `secrets` masking is always enabled and cannot be disabled.
* Settings are scoped at the organization group level.
* If a category is not explicitly configured, Corelayer uses the system default.

Need help tuning your policy? [Contact support](mailto:support@corelayer.com).


## Related topics

- [Corelayer Changelog: April 2026 Release](/changelog/april-2026.md)
- [Anomaly Detection for Data Pipelines](/anomalies/overview.md)
- [Merge Integration: HR and HCM Data Context](/integrations/merge.md)
