Skip to main content

Module redaction

Module redaction 

Source
Expand description

Conservative redaction for runtime logs, audit records, and diagnostics.

Constants§

MAX_OPERATIONAL_TEXT_BYTES
Maximum UTF-8 bytes retained from one log, audit, error, or diagnostic text.

Functions§

redact_text
Redacts common credential forms without attempting to parse business payloads.
redact_text_with_limit
Redacts credential markers and bounds the resulting UTF-8 text.