Incident response: the first hour, rehearsed
When something goes wrong, the quality of the response depends on decisions made long before: who leads, where people talk, what gets contained first and who must be told by when. A small team's version of the incident lifecycle, with a drill to practise it.
In one sentence
Declare early, contain first, preserve evidence, communicate honestly, learn without blame. And write it down before you need it.
Run the drill
03:12. An alert: a production API key is downloading thousands of customer records from an unknown IP.
Prepare before it happens
- Roles: an incident lead who decides, a scribe who keeps the timeline, and someone on communications.
- Contacts: cloud provider support, legal, your data protection officer, key customers.
- Runbooks for the likely incidents: leaked secret, compromised account, data exposure, ransomware.
- Access you'll need: break-glass admin accounts, log access, the ability to revoke keys and sessions fast.
- Obligations: know your notification deadlines (for example, 72 hours to the supervisory authority under GDPR for personal data breaches).
Key takeaways
- 01Declare incidents early; closing a false alarm is cheap.
- 02Contain first, without destroying evidence.
- 03Know your notification duties and deadlines in advance.
- 04Run blameless post-mortems that fix the system.
Check your understanding
1 of 3
When should an incident be declared?
Related concepts
Logging & alerting
Log security events (auth, permission changes, exports), alert on a small set of high-signal patterns, and ship logs to an append-only store outside the servers they describe.
6 min read →Secrets management
A secret in a repo is leaked, even after you delete it. Keep secrets in a vault or the platform's secret store, scan before push, scope every key, and revoke first, investigate second.
6 min read →Backups & ransomware
Keep at least one backup that is immutable or offline under separate credentials (3-2-1), and test restores regularly so recovery is a procedure, not an experiment.
5 min read →