Package com.tnsai.quality.redaction
package com.tnsai.quality.redaction
-
ClassDescription
Redactordecorator that emits aRedactionAuditEventto aRedactionAuditListenerevery time the wrapped redactor matches at least one pattern (issue #80).Pipes input through a chain ofRedactors in order (issue #80).SLF4J-backedRedactionAuditListener— emits one structured log line per audit event (issue #80).Log levels supported by the listener — mirrorsLogger's standard levels minus ERROR (audit success isn't an error).Regex-drivenRedactor(issue #80).AgentEventPublisherdecorator that scrubs PII / secrets out of every event before delegating (issue #80, sink integration #2 of 6).LLMCallPublisherdecorator that scrubs PII / secrets out of a capturedLLMCallLogbefore delegating (TNS-417, follow-up to TNS-374).MemoryStoredecorator that scrubs PII / secrets out of every write before delegating to the underlying store (issue #80, sink integration #1 of 6).Audit record for one redaction call (issue #80).Sink forRedactionAuditEvents emitted byAuditingRedactor(issue #80).Per-call context handed to aRedactor(issue #80).One redacted match inside a string (issue #80).One named pattern in a redactor's catalog (issue #80).Default catalog ofRedactionPatterns shipped with the framework (issue #80).Output of aRedactor.scrubString(java.lang.String, com.tnsai.quality.redaction.RedactionContext)call (issue #80): the redacted text plus theRedactionFindings the redactor matched.Where the redacted content originated (issue #80).SPI for scrubbing PII / secrets out of strings or structured values before they leave the framework's internal boundaries — log lines, trace attributes, memory writes, captured LLM prompts (issue #80).Sensitivity tier of aRedactionFinding(issue #80).Redactorthat dispatches each call to a per-tenantRedactorbased on the activeRedactionContext(issue #80).