Skip to main content

Crate shipper_output_sanitizer

Crate shipper_output_sanitizer 

Source
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 n lines from s, then apply sensitive redaction.