vox-redact API Reference (generated)
vox-redact
Section titled “vox-redact”Crate: vox-redact · Version: 0.6.0 · Target: Library (lib.rs)
Regex-based redaction of secrets and PII from log lines and JSON values.
Crate Overview
Section titled “Crate Overview”Conservative PII/secret redaction. Moved from vox-terminal-core::corpus::redact
so non-terminal crates (e.g. agent operation capture) can reuse it without a
backwards dependency edge.
Redaction is conservative: unknown patterns are left as-is. Only patterns with high precision (low false-positive rate) are elided.
Public API Surface
Section titled “Public API Surface”Functions
Section titled “Functions”| Function | Description |
|---|---|
redact_owned | Redact PII/secret patterns in free text. Conservative: unknown patterns pass through. |
redact_args | Recursively redact a JSON value: values under secret-ish keys become "[REDACTED]"; all other string scalars are run through [redact_owned]. |