The 72-Hour Clock Begins in Your Deploy Logs
Most teams treat a data breach as a security problem with a legal tail. In practice, it is often a release problem with a legal tail. A bad config ships, a flag exposes a new route, a migration copies data somewhere it should not be, and suddenly the most important timestamp in the room is not the deploy time. It is the moment someone can reasonably say: we knew.
Under UK GDPR, that moment starts a 72-hour assessment clock for reporting to the ICO. Not a 72-hour fix clock. Not a 72-hour root-cause clock. A 72-hour clock to decide whether the incident needs reporting, and to explain what you know. If your release runbook stops at rollback, you are leaving the regulatory part of the incident to memory and panic.
Awareness is a release artefact
Awareness is rarely a neat moment. It might be a support ticket saying a customer saw someone else’s order confirmation. It might be a spike in 403s after a permissions change. It might be a colleague asking why the staging export bucket has a production prefix. The clock does not wait for certainty. It starts when you have enough information to suspect a personal data breach.
That is why the first useful observability feature is not a prettier dashboard. It is a timestamped record of what changed, who approved it and what the system was doing when the first signal arrived. Your deploy log should answer: which release was live, which feature flags were on, which config version was active, and which customers or records were in scope. If that takes an hour of Slack archaeology, your 72-hour window is already smaller than you think.
What your logs need to prove
You do not need to log everything. You do need to log the things a DPO, legal counsel and incident lead will ask for at 2am. Think of it as a breach evidence pack that happens to live in your observability stack.
- Deploy identity: commit SHA, build number, deploy ID, environment, approver and timestamp in UTC. A named release is easier to discuss than a vague Tuesday change.
- Config and flag state: the exact diff, the flag values at the time, who toggled what and when. Feature flags are release controls, but they are also evidence.
- Access and data touchpoints: authentication events, admin actions, API gateway logs, database audit records and export job history. If personal data moved, you want the path, not just the destination.
- Decision trail: alerts fired, who acknowledged them, what was rolled back or disabled, and why. A short incident decision log is worth more than a thousand vague recollections.
- Retention and integrity: keep the relevant window long enough, restrict who can edit it, and synchronise clocks. A log you cannot trust is just a rumour with a timestamp.
This is not about turning your platform into a surveillance system. It is about being able to say, with reasonable confidence, what happened and what data was affected. That is the difference between a measured assessment and a guess dressed up as an update.
Rollback is not a reset button
When a release goes wrong, the instinct is to roll back fast. Good instinct. But rollback can overwrite the evidence you need. It can delete the broken container, rotate the logs, restore a database to an earlier point and remove the very clues that explain scope. Before you hit the big red button, preserve the breach pack: snapshot the relevant logs, export the deploy metadata, record the current flag states and note the awareness timestamp.
Rollback also affects the regulatory story. If you can contain the issue by disabling a flag or reverting a release, say so clearly and show when containment happened. If data was already accessed or exported before containment, that matters too. The ICO will want to understand risk, not just remediation. A clean rollback does not automatically mean a clean incident.
Flags, blast radius and the story you can tell
Feature flags are brilliant for limiting blast radius. They are less brilliant when nobody can reconstruct which cohort saw the bad path. Make sure your flag system records evaluation context where it is safe to do so: tenant, region, user segment or internal test group. Not raw personal data if you can avoid it, but enough to bound the problem.
A UK lens helps here. If your service has separate behaviour for England, Scotland, Wales and Northern Ireland, or different journeys for public sector and private customers, your incident scope should reflect that. A breach affecting a small pilot cohort is a different conversation from one affecting every checkout in the country. You want the observability to tell you which it is before the meeting starts.
The tabletop that includes the press office
Most deployment tabletop exercises test engineering response. They stop at service restoration. The better exercise keeps going: who calls the DPO, who drafts the ICO assessment, who decides whether customer communication is needed, and who signs off the facts? Run it with engineering, legal, privacy and communications in the same room, or the same call.
Give the team a realistic prompt: a release exposed a debug endpoint for 40 minutes, and the first alert came from a customer. Ask for three things. First, the engineering timeline. Second, the data-scope assessment. Third, the draft regulatory narrative. Then check whether your logs actually support the answers. You will find gaps fast. That is the point.
A small runbook addition with a big payoff
Add a breach-clock section to your deployment runbook. It does not need to be long. It needs to say: preserve evidence before rollback, record the awareness time in UTC, capture deploy and flag state, notify the DPO, start a decision log, and do not wait for perfect information before assessing. Add a named owner for the evidence pack and a named owner for regulatory communication.
This is not legal advice, and every incident has its own facts. But the engineering principle is simple: if the 72-hour clock can start during a release, your release tooling should help you answer the first questions. Otherwise the most important system in the incident is someone’s memory — and that has terrible uptime.