Scenario
You are operating a production observability platform. The following symptoms appear:
- A log line contains PII or secrets
Available evidence:
- Customer data is detected in Loki
Your task
Determine the cause, recover, document, and validate.
Investigation
The investigation follows the discipline taught in Part XCVIII:
- Form hypothesis, find evidence, test, validate.
- Use the available evidence above to bound the search.
- Reach one of the likely root causes.
Recovery procedure
(Do not reveal until you have reasoned through the problem.)
- Identify the failing component.
- Apply the remediation pathway.
- Validate with the verification step.
- Document the incident.
Remediation
- Identify the service. 2. Redact at source. 3. Prune the affected line.
Verification
Sensitive data is removed; service is cleaned up.
Rollback
Restore from backup if needed
Prevention
Redaction at source