Incident SEC-0412: a log search for Bearer turned up live bearer tokens and API keys in the structured log stream, even though every event passes through the logging hook's redaction step before it is written. One event as it was stored after redaction:
{
"service": "billing",
"password": "[REDACTED]",
"request": {"headers": {"Authorization": "Bearer eyJhbGciOi..."}},
"attempts": [{"api_key": "sk_live_93f1"}, {"result": "ok"}],
}
Events are arbitrary JSON-like data produced by many services. Security wants no credential value to reach the log, wherever it appears in an event.