DlpScanPolicy
DLP policy knobs that convert classification into enforcement behavior.
SDK v2026.4.0
Kind: interface
Signature
export interface DlpScanPolicyProperties
enabled(boolean): Whether DLP scanning should run.validationDepth(DlpValidationDepth): Validation depth used when no explicit scanner option overrides it.redactConfidential(boolean): Whether confidential findings should be redacted instead of passed through.blockRestricted(boolean): Whether restricted findings should be blocked.redactRestricted(boolean): Whether restricted findings should be redacted when blocking is disabled.minimumConfidence(number): Minimum detector confidence required before a finding is retained.allowedFindingKinds(string[]): Finding kinds that should be treated as safe context for this policy.customRecognizers(DlpCustomRecognizer[]): Optional custom regex recognizers applied before policy evaluation.actionPolicies(Partial): Optional action-family-specific policy overrides.