get_redaction_log
Verify PII redaction activity by retrieving per-pattern counts from the runtime redaction log. Filter by source and lookback window to confirm scrubbing is occurring.
Instructions
Forensic accounting of PII redactions for a dataset. Returns per-pattern counts from runtime_redaction_log (populated by ingest_sql_log with redact=True), so operators can verify the chokepoint is firing on production traffic. Filter by source and lookback window. Empty result with no traces ingested is not an error — it just means no scrubbing has happened yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Optional source filter. Today: 'sql_log'. | |
| dataset_id | Yes | ||
| since_days | No | Lookback window for last_seen. Default 30. |