Skip to content
Unverified: This page has not yet been anchored to automated code tests.

vox-redact API Reference (generated)

Crate: vox-redact · Version: 0.6.0 · Target: Library (lib.rs)

Regex-based redaction of secrets and PII from log lines and JSON values.

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.

FunctionDescription
redact_ownedRedact PII/secret patterns in free text. Conservative: unknown patterns pass through.
redact_argsRecursively redact a JSON value: values under secret-ish keys become "[REDACTED]"; all other string scalars are run through [redact_owned].