Documentation
¶
Overview ¶
Package audit re-checks what is already stored against the redaction rules. Redaction runs once, at ingest; this is the inspection after the fact, like a compliance officer sampling filed claims to confirm nothing sensitive slipped through, whether because a rule was added after a row was written or because a code path never redacted at all.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Example ¶
Example points at one offending row. It carries no text: the report must not repeat the secret it is warning about.
type Location ¶
type Location struct {
Table, Column string
Scanned int
Hits int // rows with at least one residual match
ByRule map[string]int // rule name -> rows it matched
Examples []Example
}
Location is the outcome for one table.column.
type Report ¶
type Report struct {
Locations []Location
}
Report is the outcome of Secrets.