Wazuh and NIS2: which Art. 21 measures SIEM and XDR support
Directive 2022/2555: the Article 21(2) measures and the Article 23 reporting deadlines. What Wazuh supports and what a SIEM does not cover.
Directive (EU) 2022/2555 (NIS2, called the “NIS 2 directive” in Polish law) imposes on essential and important entities a catalogue of risk-management measures and hard deadlines for reporting significant incidents. Wazuh provides part of the data and mechanisms needed to meet these requirements, but it does not make an organization compliant with the directive.
What the directive says
Article 21(1) requires appropriate and proportionate technical, operational and organisational measures. Proportionality depends, among other things, on the degree of exposure to risks, the size of the entity, and the likelihood and severity of incidents. Paragraph 2 lists the elements the measures include “at least”, based on an all-hazards approach:
- a) policies on risk analysis and information system security,
- b) incident handling,
- c) business continuity, such as backup management and disaster recovery, and crisis management,
- d) supply chain security,
- e) security in network and information systems acquisition, development and maintenance, including vulnerability handling and disclosure,
- f) policies and procedures to assess the effectiveness of the measures,
- g) basic cyber hygiene practices and training,
- h) policies and procedures regarding the use of cryptography and encryption,
- i) human resources security, access control and asset management,
- j) multi-factor or continuous authentication, secured voice, video and text communications and secured emergency communication systems, where appropriate.
Paragraph 4 adds an obligation to take corrective measures “without undue delay” when an entity finds that it does not comply with paragraph 2.
Incident reporting under Article 23
A significant incident must be reported. According to Article 23(3), it is an incident that has caused or is capable of causing severe operational disruption of the services or financial loss for the entity, or that has affected or is capable of affecting other natural or legal persons by causing considerable material or non-material damage. Paragraph 4 defines the successive stages:
| Stage | Deadline | Content |
|---|---|---|
| Early warning (point (a)) | without undue delay, within 24 hours of becoming aware | whether the incident is suspected of being caused by unlawful or malicious acts, whether it could have a cross-border impact |
| Incident notification (point (b)) | without undue delay, within 72 hours of becoming aware | update of the early warning, initial assessment of severity and impact, where applicable indicators of compromise |
| Intermediate report (point (c)) | at the request of a CSIRT or the authority | status updates |
| Final report (point (d)) | not later than one month after the notification under point (b) | description, severity and impact, root cause or type of threat, mitigation measures applied and ongoing, cross-border impact |
If the incident is still ongoing when the final report is due, the entity submits a progress report, and the final report within one month of handling the incident being finished (point (e)). A trust service provider reports significant incidents that have an impact on the provision of its trust services within 24 hours instead of 72. The mere act of notification does not increase the liability of the notifying entity (paragraph 1).
Example: the team classified the incident as significant on 16 November at 9:30.
| Stage | Latest deadline |
|---|---|
| Early warning | 17 November, 9:30 |
| Incident notification | 19 November, 9:30 |
| Final report | one month from filing the notification: after filing on 18 November the deadline is 18 December |
The clock starts at “becoming aware” of a significant incident. Article 23 does not define that moment, so an organization should record in its procedure what it treats as becoming aware, for example the classification of an alert as a significant incident. Generating an alert does not have to mean becoming aware. This is my recommendation, the directive does not settle it.
Status in Poland
The directive required national provisions to be adopted by 17 October 2024 (Article 41(1)). In Poland it is implemented by the Act of 23 January 2026 amending the Act on the National Cybersecurity System and certain other acts, published in the Journal of Laws (Dziennik Ustaw) of 2 March 2026, item 252. A footnote to the act’s title states that it implements Directive 2022/2555. Article 49 provides that the act enters into force after one month has elapsed from the day of publication. I do not analyze here the obligations of individual categories of entities, the adaptation deadlines or the penalties: that requires reading the whole act (102 pages) and goes beyond this post.
What Wazuh claims in its documentation
The Wazuh documentation contains no mapping to NIS2. The page on regulatory compliance lists PCI DSS, HIPAA, NIST 800-53, TSC and GDPR as the standards supported by the default ruleset. For other standards, it lets you add your own compliance identifier in the rule group tag. The same page states that the mappings are indicative, and that deploying Wazuh alone does not certify or guarantee compliance. Formal compliance depends on the organization’s policies, procedures and evidence, and is assessed by an independent qualified auditor. The table below is therefore my mapping, built from the module descriptions in the documentation and from the text of Article 21.
Mapping the measures to Wazuh modules
| Measure (Art. 21(2)) | Wazuh module | What it provides | What it does not cover |
|---|---|---|---|
| a) risk analysis | Vulnerability Detection, SCA | input for the analysis: detected vulnerabilities and configuration assessment results | the policy itself, the methodology or the risk assessment |
| b) incident handling | log collection, rules, Active Response | detection, alerts, automatic responses to a rule, level or rule group | the process, roles, classification decisions and filing notifications with the CSIRT |
| c) business continuity | log collection | alerts from backup system events, if their logs reach Wazuh | backups, recovery, crisis management |
| d) supply chain | Vulnerability Detection | vulnerabilities in supplier software installed on monitored endpoints | supplier assessment, contracts, the quality of their practices |
| e) acquisition, development, vulnerabilities | Vulnerability Detection, SCA, FIM | correlation of the inventory with the vulnerability database, configuration checks, detection of unauthorized file changes | a secure development lifecycle, a vulnerability disclosure process |
| f) effectiveness assessment | SCA, alerts | repeatable scan results and alert history as evidence | procedures for assessing effectiveness |
| g) cyber hygiene | SCA, Syscollector inventory | detection of unnecessary software and services, inventory reports | training |
| h) cryptography | SCA, if the policy contains such checks | tests of the settings named in the policy | a cryptography policy, key management; the scope depends on the SCA policy used |
| i) access control, assets | Syscollector inventory, log collection | users and groups, software, services, ports on agents; system logs | human resources security, the access policy |
| j) MFA, communications | log collection | events from MFA systems, if their logs reach Wazuh | multi-factor authentication as a function, secured communications |
Rows c, h and j rely on the general ability to collect logs and test configuration. The documentation does not describe ready-made coverage of these measures.
Modules the mapping rests on
Vulnerability Detection. The agent sends a software inventory, and the module correlates it with the vulnerability repository from the Wazuh CTI platform or with a local copy of that repository (offline). Details of operation, statuses and pitfalls are described in Vulnerability Detection in Wazuh. The module data is evidence for the detection stage. The remediation deadline and the risk acceptance decision remain with the organization, and Article 21(4) requires corrective measures without undue delay.
SCA. Scans assess endpoints against YAML policy files, mostly based on CIS Benchmarks. Rules can check files, directories, registry keys and values, and running processes. A custom policy, for example with internal requirements, is described in Custom SCA policies in Wazuh.
FIM. A baseline of file checksums and attributes lets you detect the creation, modification and deletion of monitored files, in real time or on a schedule.
Inventory. Syscollector collects hardware, operating system, software, network interfaces, ports, processes, browser extensions, services, users and groups, and for Windows also updates. Operating system versions and end-of-support dates are described in the post on the agent inventory.
Log collection. The agent forwards system and application logs to the server, and messages can also arrive through syslog or API integrations. This is the basis for detection and for reconstructing the incident timeline, which you will use for the early warning, the notification and the final report (fields: severity, impact, IoC, cause).
Active Response. The module runs scripts on the endpoint when an alert with a given identifier, level or rule group fires. Responses can be one-off (stateless) or reverted after a time (stateful). The documentation warns that poorly chosen rules and responses can increase the vulnerability of the endpoint. Approving a response before it runs is covered in the post on the approval gate.
Data retention
The Wazuh documentation states that security standards require data to be kept for audits for a minimum period, and that older data can be removed with an ISM (Index State Management) policy. Neither Article 21 nor Article 23 gives a log retention period, so the value must be set from your own risk analysis and auditor requirements. The pitfall of a policy that deletes state indices is described in the post on OpenSearch retention.
What a SIEM does not replace
From the Article 21(2) list, at least items a, d, f, g (training), h, i (human resources) and j require policies, contracts, training and decisions that a tool does not provide. Wazuh does not send an early warning or a notification to the CSIRT: the documentation pages I reviewed do not describe such a function. It provides evidence and a timeline, and the team prepares the content, the classification and the submission according to the procedure. Measuring effectiveness under item f also requires a procedure in which scan and alert results are compared against an adopted threshold.
What the documentation does not specify
- A mapping of Wazuh to NIS2 or a set of compliance identifiers for Article 21: the Wazuh documentation does not provide one. The documentation search runs in JavaScript, so I checked the absence of a mention only on the downloaded pages.
- A function in Wazuh for filing notifications with the CSIRT.
- A definition of the moment of “becoming aware” for the 24 and 72 hour deadlines: Article 23 does not contain one.
- The log retention period required by NIS2.
- The exact day the Polish act enters into force: the text only says “after one month has elapsed from the day of publication” (published 2 March 2026). I do not analyze the obligations of individual entities or the penalties here.
Sources
- https://publications.europa.eu/resource/cellar/9b84d482-85bd-11ed-9887-01aa75ed71a1 (Official Journal of the EU L 333, 27.12.2022, p. 80, Directive (EU) 2022/2555, Articles 21, 23 and 41)
- https://dziennikustaw.gov.pl/D2026000025201.pdf
- https://documentation.wazuh.com/current/compliance/index.html
- https://documentation.wazuh.com/current/user-manual/capabilities/vulnerability-detection/index.html
- https://documentation.wazuh.com/current/user-manual/capabilities/file-integrity/index.html
- https://documentation.wazuh.com/current/user-manual/capabilities/sec-config-assessment/index.html
- https://documentation.wazuh.com/current/user-manual/capabilities/log-data-collection/index.html
- https://documentation.wazuh.com/current/user-manual/capabilities/active-response/index.html
- https://documentation.wazuh.com/current/user-manual/capabilities/system-inventory/index.html
- https://documentation.wazuh.com/current/user-manual/wazuh-indexer/index-life-management.html