Incident Response Playbook
Playbook de réponse aux fuites de clés API
Key leaks are common in real operations. The goal is fast containment and verifiable recovery, not panic and guesswork.
Incident phases
- Detect and scope: identify leaked key, affected systems, and earliest known exposure window.
- Contain immediately: disable or restrict key usage, block abusive traffic patterns, and isolate critical paths.
- Rotate and re-issue: generate replacement credentials with least-privilege scope and short lifetime.
- Verify blast radius: review logs for misuse, failed auth spikes, and suspicious access from unknown origins.
- Stabilize and document: close root cause and capture timeline, decisions, and mitigation evidence.
Operator checklist
- - Revoke leaked key and invalidate related sessions/tokens.
- - Rotate all sibling keys in the same trust domain if correlation is unclear.
- - Purge leaked credentials from logs, configs, and CI artifacts.
- - Enforce secret scanning and pre-commit checks for future prevention.
- - Run a re-check and confirm no active unauthorized usage remains.
Aftercare in the next 24 hours
- - Add alert rules for key misuse signatures and unusual auth geography.
- - Review token scope design and shorten validity where possible.
- - Update runbooks with lessons learned and schedule a tabletop replay.
This playbook is operational guidance, not legal or forensic advice.