
# Prepare the response to a data breach

Decide now whom you call and within what time: it costs ten minutes, and improvising it on a festival Sunday costs the relationship.

The processor **never notifies the CNIL**: it alerts the controller **without undue delay**, and the controller decides whether to notify. Its 72 hours run **from the moment the host alerted it**: any delay taken here is taken from its own, hence a committed figure.

## What counts as a breach

Any breach of the **confidentiality**, **integrity** or **availability** of the data, accidental or not, is notified.

| Case | What to know before calling |
| --- | --- |
| Lost dump: backup in clear, sent over an uncontrolled channel, forgotten on a machine handed over | What it contained; a dump is **complete**: names, minors' dates of birth, addresses, space tokens ([`exploitation.md`](exploitation.md)) |
| Unauthorised access to administration | Since when, what was read or changed, and whether the password was used elsewhere |
| Leak of space, calendar-subscription or wall-display tokens | Tokens travel **in the URL path**: shared, indexed or forwarded reverse-proxy logs are a breach ([what remains the reverse proxy's responsibility](securite.md#ce-qui-reste-à-la-charge-du-reverse-proxy)). A leaked subscription token is **usable without a second factor** and appears in those logs at each calendar sync, far more often than the other |
| Database or backup lost with no copy | A breach of **availability**, to notify even with no third-party access |
| Individual schedule sent to the wrong address | A breach of its own scale, and the most frequent case |

These are **not** breaches: an outage with no data loss (an operations incident, "Knowing it runs" in [`exploitation.md`](exploitation.md)) and a staff member seeing a colleague's schedule through a feature built for it ([viewing a colleague's seats](securite-limites-de-debit.md#consultation-des-postes-dun-collègue)).

## The delay you commit to

| Step | Commitment |
| --- | --- |
| Alert the client contact | **Within 24 hours** of becoming aware, even without a full diagnosis: the first call says what you know, not what you have understood |
| First document qualifying the facts | Within 48 hours |
| Final report | Once the investigation is closed, with no deadline set in advance |

Art. 33.4 allows information **in phases**: waiting until you understand everything is the only really costly fault.

## Whom to call

A named person and a deputy, never a generic address (nobody reads a `contact@` on a Sunday), named in the [processing agreement](rgpd.md#signer-la-convention-de-sous-traitance) and carried to the [register](rgpd.md#remplir-une-entrée-du-registre) with a phone number: the incident may be exactly the one that stops e-mail arriving.

## What the alert contains

Art. 33.3 sets the content, which the controller will reuse as is for the CNIL:

- the nature of the breach, and the **categories and approximate number** of people and records concerned (the headcount of the editions affected, readable in the application);
- the likely consequences;
- the measures taken or proposed, including to mitigate the effects;
- the contact point on the host's side.

## The breach log

Art. 33.5 requires **documenting every breach, including one you do not notify**. This log lives with the register and the [purge log](rgpd.md#tenir-le-journal-des-purges-et-des-restaurations):

| Column | Content |
| --- | --- |
| Discovery | Date and time of **becoming aware**, not of occurrence: it is what triggers the delays |
| Facts | What happened, and through what channel you learned of it (probe, error tracking, a staff member's report) |
| Scope | Editions and categories of data affected, approximate volume |
| Qualification | Breach or not, **and why**, including when the answer is no |
| Notification | Who was told, when, by what means |
| Follow-up | Corrective measures, and what they change to the security measures declared in the register |

## What is missing to keep this commitment

A 24-hour delay assumes you **know** something happened. With no `SENTRY_DSN` set and no external probe, an instance can be down, or worse, with nobody learning of it before Monday ("Knowing it runs", [`exploitation.md`](exploitation.md)).
