Log Sanitization & Sensitive Data
Preventing Credential Exposure in Telemetry
Application logs are ingested, indexed, and aggregated into third-party observability providers (Datadog, Grafana Loki, CloudWatch) where broad access is common.
Policy Requirements
- Never log raw passwords, access tokens, API secrets, or credit card numbers.
- Log arguments containing variables named
password,token,secret,credential, orauthorizationwill be flagged by ruleSEC-002. - Redact sensitive data before writing to logs.