# NIS2 and incidents

> Record security incidents in an append-only dossier, let Berth run the NIS2 reporting clocks of 24 hours, 72 hours and one month, generate the text for your CSIRT, and export the dossier as a signed ZIP.

Source: https://www.berthpanel.app/library/nis2-and-incidents/ · Category: compliance · Updated: 2026-10-29

When something goes wrong, such as a compromised account, a hacked site that was used to attack others, or an outage caused by an attack, two things matter afterwards: a complete, trustworthy record of what happened and what you did, and, for organisations covered by NIS2, reporting to the CSIRT on time. Berth's incident dossier handles both, under *Security → Incidents*.

## What NIS2 asks

Under article 23 of the NIS2 directive, an essential or important entity reports a **significant incident** to its CSIRT or competent authority in three steps:

| Deadline | Report | Content |
|---|---|---|
| 24 hours after becoming aware | Early warning | Is it suspected to be malicious or unlawful? Could it have cross-border impact? |
| 72 hours after becoming aware | Incident notification | First assessment of severity and impact, indicators of compromise |
| One month after the notification | Final report | Root cause or type of threat, measures taken and ongoing, cross-border impact |

The clock starts when the organisation **becomes aware** of the incident, not when it began. Berth records both moments separately.

## Record an incident

1. Go to *Security → Incidents* and choose **Record incident**.
2. Enter a title, *What happened*, the affected customers, domains or services, and the severity: low, medium, high or critical.
3. Set *When*: when it was detected and when the organisation became aware. Both default to now.
4. Mark it as **significant** if it falls under NIS2 reporting. The reporting clocks only run for significant incidents.

```bash
berth incident create --title "Webshell on shop.example.com" --severity high --significant \
  --description "Webshell found in the uploads directory, used to send spam" \
  --affected shop.example.com,acme --detected "2026-10-28 09:40" --aware "2026-10-28 10:15"
```

You can also create an incident with one click from a finding of the audit watchdog (see [Audit trail and approvals](https://www.berthpanel.app/library/audit-trail-and-approvals/#the-audit-watchdog)), or as a mitigation for a vulnerability you cannot fix yet (see [Vulnerability management](https://www.berthpanel.app/library/vulnerability-management/#mitigations-when-there-is-no-fix)).

## The dossier

Each incident has a **Log** that can only grow: every change of status, severity, times or NIS2 details is added as an entry, together with your own notes. Nothing is overwritten or removed, so the dossier shows the course of events as it happened.

- Status: open, contained, resolved or closed.
- Add notes as you work: what you checked, what you found, who you informed.
- Correct the detected or aware time if you learn more. The deadlines move along, and the correction is logged.

```bash
berth incident note --id 4 --text "Webshell quarantined, FTP password of acme reset"
berth incident update --id 4 --status contained
berth incident show --id 4
berth incident list
```

## The reporting clocks

For a significant incident, the incident page shows the three deadlines under *Reporting deadlines*, and *Incidents* lists the deadlines that need attention. The panel reminds administrators four hours before a deadline and again when it has passed.

When you have made a report, record it with **Record report to the CSIRT**, with the time and the CSIRT's reference. That deadline is then done.

```bash
berth incident report --id 4 --kind early_warning --ref CSIRT-2026-0815
berth incident report --id 4 --kind notification
berth incident report --id 4 --kind final_report
```

## Text for the CSIRT

Under *Reporting details (NIS2)*, fill in what each report needs:

- suspected malicious or unlawful: yes, no or unknown;
- possible cross-border impact: yes, no or unknown;
- severity and impact;
- indicators of compromise;
- type of threat or root cause;
- measures taken and ongoing.

Berth then produces the text of the early warning, the notification or the final report, with the fields article 23(4) asks for in each step, ready to copy into your CSIRT's reporting portal. Fields that are still empty are marked, so you see what is missing before you send it. The generated text is in Dutch.

```bash
berth incident nis2 --id 4 --malicious ja --cross-border nee \
  --impact "Outbound spam from one subscription for about two hours; no data accessed" \
  --iocs "203.0.113.77; uploads/cache.php" \
  --root-cause "Outdated form plugin" --mitigation "File quarantined, plugin updated, password reset"
berth incident csirt --id 4 --kind early_warning
```

## Export the dossier

Download the whole dossier as a **signed ZIP**: a summary as HTML and PDF, the incident and its log, and the security timeline and activity log from the day before discovery until closure. A `manifest.json` lists every file with its SHA-256 and is signed with the installation's Ed25519 key, so the recipient can check that nothing was changed.

```bash
berth incident export --id 4 --out incident-4.zip
berth evidence verify incident-4.zip
```

Hand it to your CSIRT, your insurer, a customer or an auditor. Auditors with the auditor role can read incidents and download dossiers themselves.

## Beyond a single incident

- The [audit watchdog](https://www.berthpanel.app/library/audit-trail-and-approvals/#the-audit-watchdog) helps you detect incidents in the first place.
- The security timeline and the evidence pack show what happened over a longer period, see [Evidence for audits](https://www.berthpanel.app/library/evidence-for-audits/).
- [Notifications and alerts](https://www.berthpanel.app/library/notifications-and-alerts/) decides who is woken up, and how.
