Log Redactor
hard9 tests
A logging pipeline must strip sensitive data before logs leave the cluster. The model receives a raw log line and must return a redacted version, replacing PII and secrets (emails, passwords, API keys, SSNs, private IPs) with [REDACTED] while leaving the rest of the log intact.