Expand description
Output sanitization helpers for cargo command logs and evidence payloads.
Functionsยง
- redact_
sensitive - Redact sensitive token-like patterns from output lines.
- strip_
ansi - Strip ANSI escape sequences (CSI/OSC/etc.) from a string.
- tail_
lines - Return the last
nlines froms, then apply sensitive redaction.