Structured Log Shannon-Entropy Secret & PEM/Bearer DLP Redactor
Scans application NDJSON logs and crash dumps locally using Shannon bit-entropy (`> 4.3 bits/char`) and prefix grammars to redact live tokens before retention.
Governed Workflow Steps (3)
- 1. Stream NDJSON Log Lines & Tokenize
Stream NDJSON Log Lines & Tokenize Candidate Credential Spans: consume [logLines] via ingest.local_ndjson_token_scanner to emit [candidateSpans]. Verify invariant: Array.isArray(candidateSpans).
- 2. Compute Shannon Entropy & Replace
Compute Shannon Entropy & Replace Secrets With Deterministic Tags: consume [logLines, candidateSpans] via vault.vault-telemetry-secret-entropy-redactor to emit [redactedLogs, redactedTokenCount]. Verify invariant: redactedLogs.length === logLines.length.
- 3. Re-Verify Zero Residual High-Entropy
Re-Verify Zero Residual High-Entropy Bearer or PEM Blocks: consume [redactedLogs] via oracle.dlp_zero_residual_secret_oracle to emit [residualSecrets]. Verify invariant: residualSecrets === 0.