Pii detection pattern
Steps to create a PII Detection Pattern
- Go to PII & Guardrails > PII.
- Select + New Pattern to add a new detection rule. The configuration panel appears on the right.
- Enter a Pattern Name to identify the type of sensitive data you want to detect.
- Provide the Regex Definition to flag the value as PII.
- Enable the Status toggle to activate the pattern.
- Choose redact, mask, or replace to anonymize detected values through replacement or partial masking.
- Select Access Control options to specify which components can view unmasked values; unselected components receive only masked data.
- Use Test Pattern to validate that your regex detects the correct values and that masking behaves as expected.
- Select Create to save and activate the PII detection pattern.
