# Recital 51

HTML page (canonical) : https://luxgap.com/lois/nis2/cons-51/?lang=en
Summary : Recital 51 NIS 2 (UE 2022/2555) — Member States should encourage the use of any innovative technology, including.

Directive on the security of network and information systems · UE 2022/2555

| (51) | Member States should encourage the use of any innovative technology, including artificial intelligence, the use of which could improve the detection and prevention of cyberattacks, enabling resources to be diverted towards cyberattacks more effectively. Member States should therefore encourage in their national cybersecurity strategy activities in research and development to facilitate the use of such technologies, in particular those relating to automated or semi-automated tools in cybersecurity, and, where relevant, the sharing of data needed for training users of such technology and for improving it. The use of any innovative technology, including artificial intelligence, should comply with Union data protection law, including the data protection principles of data accuracy, data minimisation, fairness and transparency, and data security, such as state-of-the-art encryption. The requirements of data protection by design and by default laid down in Regulation (EU) 2016/679 should be fully exploited. |
| --- | --- |

Luxgap guidance · DPO & CISO

## How to comply

### The classic trap

Recital 51 sends a double-edged message: yes, deploy AI and automated tools to detect cyberattacks, but never step outside the GDPR perimeter. In practice, organisations plugging in an AI-powered EDR, a SOAR or an ML-based SIEM forget two things: *data minimisation* (logs typically ingest far more than what is strictly needed for detection) and *data protection by design*. The ILR and the CNPD increasingly check the consistency between the NIS 2 detection posture and the GDPR Article 5 principles, particularly when AI processes behavioural data of employees or citizens.

### What this recital concretely changes for you

- Every AI cybersecurity brick (UEBA, NDR, EDR, SOAR, ML anti-phishing) must be documented in the GDPR processing register, with a legal basis and a DPIA if it profiles users.
- State-of-the-art encryption is no longer optional but an explicit regulatory expectation: AES-256, TLS 1.3, key management in an isolated HSM or KMS.
- Sharing data to train models (CSIRT, ENISA, sectoral communities) must be framed: real anonymisation, not pseudonymisation in disguise.
- The *privacy by design* argument must be demonstrable: least intrusive default configuration, short retention of raw logs, masking of personal data in alerts.
- Semi-automated tools (human oversight) are preferred over fully automated decisions when they touch an identifiable individual, to avoid the GDPR Article 22 trap.

### How Luxgap automates this risk

Our **Luxgap AI Detection Compliance Gateway** makes it impossible to deploy a non-compliant AI cybersecurity tool in your IS. The gateway sits between your log sources (Microsoft Defender, Sentinel, CrowdStrike, Wazuh, Splunk) and your AI detection engines to enforce in real time the minimisation, masking and traceability required by recital 51 and GDPR Article 5, without degrading detection quality.

- Automatically detects every personal-data stream entering an AI cybersecurity engine and applies reversible masking with a key stored in an HSM.
- Classifies each AI use case (UEBA, anti-phishing, NDR, SOAR) against the AI Act + GDPR grid and triggers the corresponding DPIA or AI use sheet.
- Generates *privacy by design* documentation opposable to the CNPD and the ILR: purpose, legal basis, retention period, encryption measures, human oversight.
- Sends real-time alerts on Teams or Slack as soon as a new model is deployed without prior compliance validation.
- Produces a time-stamped, cryptographically sealed PDF report demonstrating dual compliance with NIS 2 Article 21 + GDPR Article 25, opposable in a joint ILR-CNPD audit.

Available **alongside a Luxgap DPO or CISO mandate** or as a **dedicated SaaS brick** depending on your scope. [Request a tailored quote](https://luxgap.com/contact/?subject=Demo+AI+Detection+Compliance+Gateway&lang=en) and our teams will prepare a demonstration on your real detection stack, with a free 48-hour blank audit to map your AI flows before any engagement.
