From an AI investigation to a NIS2 or DORA report: what the record can prove, and what a person must decide
It is 03:10 and the payments service has been failing for forty minutes. The AI SRE has already done its part: six hypotheses, four ruled out on evidence, and a root cause at High. Someone on the bridge asks the obvious
It is 03:10 and the payments service has been failing for forty minutes. The AI SRE has already done its part: six hypotheses, four ruled out on evidence, and a root cause at High. Someone on the bridge asks the obvious next question. "Are we reportable?" Someone else answers it the obvious way: paste the investigation into a chat window and ask for a DORA initial notification.
It comes back in seconds, well written, with every field filled in, and that is the problem. It says how many clients were affected, and nobody counted them. It says there is no indication of malicious activity, and nobody checked. A report to a regulator is not a summary. Every sentence in it is a statement your organisation makes, and some of those sentences are not in any log.
Nothing here is legal advice. Whether an incident is reportable is a legal judgement for the reporting entity, and the templates described below have not been reviewed by lawyers.
The deadlines make it an engineering problem
Both regimes report in stages, against a clock. We checked the deadlines against the texts themselves: NIS2, Article 23 and, for DORA, Delegated Regulation (EU) 2025/301, Article 5.
| First | Second | Final | |
|---|---|---|---|
| NIS2: a significant incident | Early warning, within 24 h of becoming aware | Incident notification, within 72 h of becoming aware | Final report, one month after the notification |
| DORA: a major ICT-related incident | Initial notification, within 4 h of classifying it as major, and no later than 24 h after becoming aware | Intermediate report, within 72 h of the initial notification | Final report, one month after the latest intermediate report |
The detail that matters most is in DORA's first cell. Its four hours start at classification, not at detection. How fast you decide "this is major" is now a regulated property of your incident pipeline. A classification step that waits for a model to answer, or gives a different answer when you run it again, puts a legal deadline on a component with no bound on its latency.
What a fluent report gets wrong
Generating the whole report with a model fails in four ways.
- It fills the gaps. NIS2's early warning asks whether the incident is suspected of being caused by unlawful or malicious acts, and whether it could have a cross-border impact. The record of a Kubernetes investigation answers neither. A model asked to fill the field will, and the most fluent answer is usually "no".
- It can't show how it knows. A regulator's follow-up question is "how do you know that was the cause?". A narrative written after the fact has no answer except the author's memory.
- It varies. Run an AI investigation twice on the same incident and you can get two answers, as we measured in our last article. A classification that can flip on a re-run is not one you can defend.
- It can be quietly edited. A report in a document can change after it was sent, and nothing in it says so.
What the record can and can't decide
Start with what makes an incident reportable at all. Under DORA, the classification rules in Delegated Regulation (EU) 2024/1772 make an incident major when it affects critical services and either a malicious, unauthorised access to systems may lead to data losses, or at least two other materiality thresholds are met. Here is how far an investigation record gets with each threshold:
| DORA criterion | Threshold, in short | Can telemetry decide it? |
|---|---|---|
| Criticality of services affected | Supports critical or important functions | Only if you map your services to functions first |
| Duration and service downtime | Incident over 24 h, or downtime over 2 h | Partly: the incident's duration is on record, the service's downtime may not be |
| Clients, counterparts, transactions | Over 10% of clients, over 100,000 clients, or over 10% of transactions | No |
| Data losses | An impact on data, or a successful malicious access | No: a crash loop doesn't tell you who got in |
| Reputational impact | Media coverage, repeated complaints, lost clients | No |
| Geographical spread | Two or more Member States | No |
| Economic impact | Costs and losses over EUR 100,000 | No |
NIS2's test is shorter and no easier. A significant incident has caused, or could cause, severe operational disruption or financial loss, or considerable damage to other people. The first half is partly visible in telemetry. The second isn't at all.
So the honest output of any automated classifier has three values, not two: met, not met, and not evaluated. A criterion the record can't see must never be reported as "not met". That is the same trap as treating an empty query result as proof that nothing happened, which we wrote about in "No data" isn't proof.
Where we drew the line
Who writes which part of a regulatory report.
Classification has no model in it. The criteria are yours, not ours, because mapping "significant" or "major" onto your incidents is your legal judgement. An administrator writes them as named conditions over what the record holds (severity, the services involved, the environment, how long the incident has run), plus a rule such as "this one is required, and at least one of these three". Anything else the regulation asks about goes on a list of criteria "assessed by people". The classifier runs when an incident is created, changes state or changes severity, and stores its basis: each criterion met or not, the value it expected and the value it found, and each criterion for people as not evaluated. It records a negative classification too, because why you didn't report is as much your record as why you did. A person can classify against the criteria, with a reason, and from then on the criteria stop deciding that incident.
The clocks start early on purpose. NIS2 counts from becoming aware of a significant incident, which can be read as later than detection. We count from detection, the earliest reading you could defend. A clock that starts early warns early; one that starts late can let a deadline pass unseen. A stage that counts from an earlier submission counts from that stage's deadline until the submission is recorded, and is marked provisional. Each stage escalates twice: when a quarter of its window is left, and when it passes.
The report is rendered, not written. Each stage is built from the same incident record as the postmortem, by the same code, and held to the same check: every entry must cite a row of this incident's record, and a sentence that makes a claim without a citation is refused. What the record can't say is listed under To be completed by the reporting entity, as a checklist, and never filled in. Here is the end of a DORA initial notification drafted from one of our lab incidents:
## To be completed by the reporting entity
- [ ] The reporting entity's identification and contact details
- [ ] Not evaluated from the record, for the entity to assess: Clients, financial counterparts and transactions affected
- [ ] Not evaluated from the record, for the entity to assess: Data losses
- [ ] Not evaluated from the record, for the entity to assess: Reputational impact
- [ ] Not evaluated from the record, for the entity to assess: Geographical spread
- [ ] Not evaluated from the record, for the entity to assess: Economic impact
The final report carries what an investigation adds: the root cause with its confidence band, each explanation that was ruled out with the evidence against it, and what could not be examined. In the same lab incident's NIS2 final report, that last section names a Kubernetes connector that had timed out, so its evidence was partial. A narrative written from memory would leave that out. A regulator who later finds it would ask why.
What we considered and rejected
- A model writes the report from the investigation. Rejected for the four reasons above. The model's words still reach the report, but only as findings already held to citations.
- A model classifies the incident. Rejected: unbounded latency on a four-hour clock, and an answer that can change on a re-run.
- Built-in thresholds for "major". Rejected: that would be us advising on whether you must report, which we won't do. We ship starting templates for you to edit; they decide nothing until you save them.
- Clocks from the moment someone decides the incident is significant. Rejected: it is the easiest reading to defend after a missed deadline, and the easiest way to miss one.
What happened when we turned it on
On our own installation, on 10 October 2026, saving the criteria for the first time classified the one incident that was still open. It had been detected five days earlier. Its four earlier deadlines escalated as overdue at once. That is the behaviour we designed: a deadline counted from detection doesn't wait for your settings. It is also the lesson. Configure the criteria before your first incident, not during one. Removing a regime later stops new classifications, but the deadlines it already started stay on the record.
The same measurement cut the criteria down. We had planned to let them test the blast radius and the clusters involved. On that installation no finding had ever filled in the blast radius, and the clusters field was empty on every incident. A test over an empty field reads as "not met" when the truth is "not known", so we didn't offer either. A criterion you can't evaluate from the record belongs on the "assessed by people" list.
A test for any tool that offers to draft your reports
Take one resolved incident and ask the tool for each stage's report. Then check:
- Unknowns. Does it leave "malicious?", "cross-border?", the number of clients and the economic impact blank, or does it answer them? A tool that answers them is guessing.
- "Not evaluated" versus "not met". Remove one data source and classify again. A criterion it can no longer see should change to not evaluated, never to not met.
- Every sentence has a source. Pick five factual sentences at random and follow each one to the query or event behind it. "The model said so" is not a source.
- The same answer twice. Classify the same incident twice. Any difference means the classification depends on a model's sampling.
- The clock. Find where each deadline starts, and what happens to it when the classification changes or a stage is submitted late.
- What wasn't examined. Break a connector during the incident. The final report should say so.
- Immutability. Edit a report after recording its submission. It should refuse, or create a new version that names the old one.
What isn't solved
- No lawyer has reviewed the templates. Until one does, every report is a draft, and says so.
- Working days, public holidays and national variations aren't modelled. DORA lets some financial entities submit by noon on the next working day when a deadline falls on a weekend or bank holiday. We don't apply that, so our clocks can run early, never late.
- There are no per-country templates. One template per regime and stage.
- NIS2's optional reports aren't tracked. An intermediate report on the authority's request, and a progress report when an incident is still ongoing at the final deadline, have no clock.
- Escalations reach the incident inbox only. There is no email or paging notification for a deadline yet.
- The classifier sees only what the record holds. Severity, services, environment and duration. Incident duration is not the same as service downtime.
- The investigation can still be wrong. The report cites the evidence and carries the confidence band, but a wrong root cause at High is still a wrong root cause. Once the incident is resolved, the final report also shows the cause the engineer stated, beside the AI's.
This article was written with AI assistance. It first appeared on alertigate.com.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.