docs(security): fix secret redaction default docs

This commit is contained in:
helix4u
2026-05-29 12:06:22 -07:00
committed by Teknium
parent a2d3cff53f
commit aef04b2b53
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ def redact_sensitive_text(text: str, *, force: bool = False, code_file: bool = F
"""Apply all redaction patterns to a block of text.
Safe to call on any string -- non-matching text passes through unchanged.
Disabled by default — enable via security.redact_secrets: true in config.yaml.
Enabled by default. Disable via security.redact_secrets: false in config.yaml.
Set force=True for safety boundaries that must never return raw secrets
regardless of the user's global logging redaction preference.