Defining Custom Secret and PII Patterns
Note: This capability is currently in Early Access (EA) and is not generally available. To request access, please contact OX technical support.
You can define custom patterns to detect proprietary secrets, internal credentials, or organization-specific PII formats that are not recognized by OX by default.
After a custom pattern is added, it becomes active in subsequent scans across supported OX scanning engines.
Go to Settings > Scan settings > Secrets.
Enable Custom Secret/PII Pattern Detection.

In the Custom patterns section, select Add.

In the Basics tab, configure the pattern settings.
Secret / PII
Defines whether the pattern detects secrets or PII
Name
Display name for the custom pattern
Severity
Severity assigned to matching findings
Pattern (regex)
Regex expression used for matching
Notes
Internal notes for the pattern
Custom Issue Description
Custom description displayed in related findings
Optional: In the Validation tab, test the Regex pattern against example values before saving the rule.

Example Secret
Example value used to validate the Regex pattern
Optional: In the Advanced tab, configure additional matching controls.

Entropy
Additional validation used to improve detection accuracy
Secret group
Group identifier used during matching
Select Add.
The pattern becomes active in subsequent scans after it is saved.
Limits and permissions
Maximum custom patterns per organization
20
Default state
Disabled
Required permissions
Admin or Policy Manager
Last updated
