Pii Policy
data class PiiPolicy(val enabled: Boolean = false, val detectionMode: PiiDetectionMode = PiiDetectionMode.RULE_BASED, val action: PiiAction = PiiAction.REJECT, val minimumConfidence: Float = 0.7f, val fieldExclusions: Set<String> = emptySet(), val mlTimeoutMs: Long = 200)
Policy controlling PII detection behavior.
Since
0.5.0
Constructors
Properties
Link copied to clipboard
Detection strategy: rule-based regex or ML-assisted.
Link copied to clipboard
JSON paths to exclude from scanning (e.g., "$.metadata.tag").
Link copied to clipboard
Minimum confidence threshold for a finding to be actionable.
Link copied to clipboard
Timeout for ML-assisted detection before fallback to rule-based.