PHP2Shell is spreading fast. Get a FREE PHP2Shell Vulnerability Check!

Directive (EU) 2022/2555 · EU

NIS2 Penetration Testing

Last reviewed

Short answer

NIS2 does not name penetration testing, but Article 21 requires essential and important entities to have policies and procedures to assess whether their cybersecurity measures are effective. Regular penetration testing is one of the clearest ways to do that. Plainsea runs it continuously on your web applications and APIs, with confirmed findings and retests as evidence.

Who NIS2 applies to

NIS2 applies to organisations in the EU that work in the sectors listed in the directive's annexes and are at least medium-sized (roughly: 50 or more employees, or annual turnover and balance sheet both above EUR 10 million). Some types of organisation are covered regardless of size, for example DNS service providers, top-level domain name registries and trust service providers.

  • Essential entities: larger organisations in highly critical sectors, such as energy, transport, banking, financial market infrastructure, health, drinking water, digital infrastructure, ICT service management and public administration.
  • Important entities: other organisations in those sectors, and organisations in sectors such as postal and courier services, waste management, chemicals, food, manufacturing, digital providers and research.

Member states had to turn the directive into national law by 17 October 2024 and apply it from 18 October 2024. The exact rules, authorities and deadlines depend on your country's national law, so check it alongside the directive.

What NIS2 asks for and where Plainsea helps

Article 21(2)(f)Policies and procedures to assess the effectiveness of your cybersecurity risk-management measures.Regular and continuous penetration tests show whether your controls stop a real attack on your web applications and APIs. Every finding is confirmed as exploitable, and a retest shows whether a fix worked.Supported
Article 21(2)(e)Security in the acquisition, development and maintenance of systems, including vulnerability handling and disclosure.Finds and confirms exploitable vulnerabilities in your web applications and APIs, and lets you track remediation and retest each finding. Your patching process, secure development practices and disclosure policy remain your own.Partly
Article 21(2)(a)Policies on risk analysis and information system security.Confirmed findings, with severity and evidence, give your risk analysis real data about what an attacker can actually do. The risk analysis and policies themselves are yours.Partly
Article 21(2)(h), (i) and (j)Cryptography and encryption; access control policies; multi-factor or continuous authentication.Testing can show where these controls fail in your web applications, for example weak authentication or broken access control. Writing and enforcing the policies is outside what Plainsea does.Partly
Article 20(1)Management bodies approve the risk-management measures, oversee their implementation and can be held liable.Reports with confirmed findings and their remediation status give management clear evidence to review and approve.Partly
Article 32(2)For essential entities: supervisory audits, security scans and requests for evidence of implemented policies.Test reports and retest reports are evidence of regular testing that you can share with an auditor or authority. They do not replace an audit by an independent body.Partly
Article 21(2)(b), (c), (d), (g)Incident handling, business continuity, supply chain security, cyber hygiene and training.Outside what Plainsea does.Not covered
Article 23Reporting significant incidents: early warning within 24 hours, notification within 72 hours, final report within one month.Outside what Plainsea does.Not covered

What Plainsea does not cover

Plainsea helps you show that your security measures are tested and that the problems found get fixed. It does not make you meet NIS2 on its own, and no single tool can.

  • Scope: Plainsea tests web applications and APIs. Other parts of your environment, such as internal networks, endpoints, operational technology or cloud configuration, need other testing.
  • Policies and processes: risk analysis, incident handling, business continuity, supply chain security, training and incident reporting are yours to define and run.
  • Audits: where your authority requires an audit by an independent body, Plainsea's reports support it but do not replace it.
  • Legal advice: whether and how NIS2 applies to you is a question for your national law and your legal or compliance team.

Evidence for auditors

What you can show an auditor or a supervisory authority:

  • Test reports for each run, with every finding confirmed as exploitable and the evidence behind it.
  • Retest reports that show whether each finding was fixed.
  • Remediation tracking, so you can show who fixed what and when.
  • A record of scope and schedule: which systems were tested, how often and under which rules.
  • Human control: the scope, rules and pace of every test are set by your team, and you can turn on human approval so a person approves each action before it runs.

Does NIS2 require penetration testing?

Not by name. The directive asks for "policies and procedures to assess the effectiveness of cybersecurity risk-management measures" (Article 21(2)(f)) and for vulnerability handling (Article 21(2)(e)). It does not say how to do it.

In practice, penetration testing is one of the most direct ways to meet that requirement. A policy says what should happen; a penetration test shows what an attacker can actually do. Authorities can also run security scans and audits of essential entities (Article 32), so it is better to find the weaknesses first.

Why once a year is often not enough

Systems change every week: new releases, new features, new configurations. A yearly test shows how secure you were on the day of the test. NIS2 is about managing risk continuously, and continuous testing fits that better than an annual snapshot.

With Plainsea, AI agents test your web applications and APIs within the scope you set, on a schedule you choose, and report only findings they have confirmed as exploitable. You can turn on human approval, so a person approves each action before it runs.

Management is now accountable

Under Article 20, management bodies must approve the cybersecurity measures, oversee them and can be held liable for failures. Fines for essential entities can reach at least EUR 10 million or 2% of worldwide annual turnover, whichever is higher; for important entities at least EUR 7 million or 1.4%. Clear, regular evidence that measures are tested and problems are fixed is what management needs to oversee them.

FAQ

Does NIS2 explicitly require penetration testing?

No. Article 21 requires policies and procedures to assess the effectiveness of your security measures, without naming a method. Penetration testing is one of the most common and direct ways to show that your measures actually work.

How often should we test under NIS2?

The directive does not set a frequency. Testing after significant changes and on a regular schedule is good practice; continuous testing gives the clearest picture, because your systems change all the time.

Is Plainsea enough to meet NIS2?

No tool can do that on its own. Plainsea supports the testing and vulnerability handling parts of Article 21 and gives you evidence for audits. Policies, incident handling, reporting and other measures are yours to put in place.

Who does NIS2 apply to?

Medium-sized and large organisations in the sectors listed in the directive, plus some types of organisation regardless of size. Check your country's national law, which sets the exact rules.

Can we use Plainsea reports as evidence for an audit?

Yes. Test reports show confirmed findings with evidence, and retest reports show whether they were fixed. They support an audit by an independent body but do not replace it.

Sources

This page explains how Plainsea supports NIS2 testing requirements. It is not legal advice; check the rules that apply to you with your legal or compliance team. Spot something out of date? Tell us and we will update this page.

← All compliance guides

Next step

See Plainsea on your own environment

Book a walkthrough with our team and see continuous, AI-driven pentesting in action.

Book a demo