Skip to main content

Module redaction

Module redaction 

Source

Functionsยง

redact_text
redact_text_if_enabled
redact_with_patterns
Apply caller-supplied policy redaction patterns on top of the built-in secret rules: each regex match becomes [REDACTED:<label>]. Returns the transformed text and the number of redactions applied (for audit counts).
redaction_enabled_for_active_role