fabro/crates/redact/Cargo.toml
Bryan Helmkamp 90e7bf229a Add redact crate for secret detection and redaction in NDJSON logs
Two-layer detection: Shannon entropy on high-entropy alphanumeric tokens
(threshold 4.5) and gitleaks v8.22.1 pattern matching (202 rules) with
Aho-Corasick keyword pre-filtering. JSONL-aware redaction skips exempt
fields (IDs, paths) and image objects. 43 tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 9e8476d16412
2026-02-25 15:25:52 -05:00

20 lines
367 B
TOML

[package]
name = "redact"
edition.workspace = true
version.workspace = true
license.workspace = true
description = "Secret detection and redaction for log output"
[lib]
doctest = false
[dependencies]
regex.workspace = true
aho-corasick.workspace = true
serde_json.workspace = true
[build-dependencies]
toml = "0.8"
serde = { workspace = true }
[dev-dependencies]