RedactionRule(
self,
pii_type: str,
strategy: RedactionStrategy = 'redact',
detector: Detector | Name | Type |
|---|---|
| pii_type | str |
| strategy | RedactionStrategy |
| detector | Detector | str | None |
Configuration for handling a single PII type.
Resolve runtime detector and return an immutable rule.