What the three texts ask for in penetration testing, quoted from the sources, and how one application testing programme can cover them.
Penetration testing obligations are often summarised loosely, for example as "regulators now require continuous testing". The texts are more specific. DORA requires appropriate tests, at least yearly, of all ICT systems and applications supporting critical or important functions and, for the entities their authority identifies, threat-led penetration testing (TLPT) at least every three years. NIS2 asks for procedures to assess whether security measures are effective and leaves the testing frequency to each entity's risk assessment. Under PCI DSS v4.0.1, internal and external penetration tests are due at least once every 12 months and after any significant change, with retesting after fixes. None of the three requires continuous penetration testing.
This guide quotes the relevant provisions, notes who is in scope, and looks at where automated agentic testing can help and which requirements it cannot meet on its own.
This article is general information, not legal advice. Obligations depend on your entity type, your national transposition and your supervisor. Check the cited texts and your competent authority.
DORA: Regulation (EU) 2022/2554
DORA has applied to EU financial entities since January 17, 2025. Chapter IV (Articles 24 to 27) covers digital operational resilience testing. Most of its testing obligations apply to financial entities other than microenterprises; microenterprises plan their testing on a risk basis under Article 25(3).
A testing programme. Article 24(1) requires financial entities other than microenterprises to "establish, maintain and review a sound and comprehensive digital operational resilience testing programme as an integral part of the ICT risk-management framework". Tests must be undertaken by independent parties, internal or external (Article 24(4)), and internal validation methodologies must confirm that the weaknesses found are fully addressed (Article 24(5)).
Yearly tests of critical systems. Article 24(6): "Financial entities, other than microenterprises, shall ensure, at least yearly, that appropriate tests are conducted on all ICT systems and applications supporting critical or important functions."
Which tests. Article 25(1) lists the tests the programme provides for, from vulnerability assessments and scans, open source analyses and source code reviews where feasible to scenario-based, performance, end-to-end and penetration testing. Central securities depositories and central counterparties must also run vulnerability assessments before any deployment or redeployment of applications and infrastructure components supporting critical or important functions (Article 25(2)).
TLPT. Article 26(1) requires advanced testing by means of TLPT "at least every 3 years", but only for the financial entities that the competent authority identifies (Article 26(8)). Microenterprises and entities under the simplified ICT risk-management framework of Article 16 are excluded. The authority may change the frequency based on the entity's risk profile. Each TLPT covers several or all critical or important functions and is performed on live production systems (Article 26(2)). Entities that use internal testers must contract external testers every three tests (Article 26(8)). The detailed rules are in Commission Delegated Regulation (EU) 2025/1190, which was drafted in accordance with the TIBER-EU framework.
What it means in practice. Article 24(6) applies every year to all ICT systems and applications supporting critical or important functions. For most entities the difficult part is breadth: testing every in-scope system each year and keeping the evidence.
NIS2: Directive (EU) 2022/2555
NIS2 applies, through national transposition laws, to essential and important entities in the 18 sectors listed in its Annexes I and II, generally those of at least medium size. Financial entities covered by DORA are a special case. NIS2 treats DORA as a sector-specific act (Article 4 and recital 28), so for those entities DORA's rules on ICT risk management, testing and incident reporting apply instead of NIS2's.
The obligation. Article 21(2) lists the minimum cybersecurity risk-management measures. Point (f) requires "policies and procedures to assess the effectiveness of cybersecurity risk-management measures." Point (e) covers "security in network and information systems acquisition, development and maintenance, including vulnerability handling and disclosure."
Where pentesting comes in. The articles of the Directive don't mention penetration testing. More detail exists for the digital-sector entities covered by Commission Implementing Regulation (EU) 2024/2690, among them cloud computing, data centre, managed service and managed security service providers, online marketplaces and trust service providers. Point 6.5 of its annex requires them to decide the need, scope, frequency and type of security tests on the basis of their risk assessment, to test according to a documented methodology, and to record the type, scope, time and results of each test. Recital 15 adds that security tests "may include automated or manual tests, penetration tests, vulnerability scanning, static and dynamic application security tests, configuration tests or security audits", and that their findings "should inform" the effectiveness assessment and independent reviews of security policies.
In practice. NIS2 leaves the frequency to your risk assessment but asks you to show that your measures work, and documented, regular test results are among the most direct evidence you can provide. Member States may go further than the Directive (Article 5), so check your national rules as well.
PCI DSS v4.0.1
PCI DSS v4.0.1 is the current version of the standard, and the requirements that v4.0 introduced as future-dated became mandatory on March 31, 2025. Requirement 11.4 covers penetration testing:
| Requirement | What it says (summary) |
|---|---|
| 11.4.1 | A penetration testing methodology is defined, documented and implemented. It includes industry-accepted approaches, coverage of the entire CDE perimeter and critical systems, testing from inside and outside the network, testing of segmentation controls, application-layer testing for at least the vulnerabilities listed in Requirement 6.2.4, network-layer testing, and retention of results for at least 12 months. |
| 11.4.2 | Internal penetration testing according to the methodology, at least once every 12 months and after any significant infrastructure or application upgrade or change, by a qualified internal resource or qualified external third party, with organizational independence of the tester. |
| 11.4.3 | External penetration testing under the same conditions. |
| 11.4.4 | Exploitable vulnerabilities and security weaknesses found are corrected according to the entity's risk ranking (Requirement 6.3.1), and penetration testing is repeated to verify the corrections. |
| 11.4.5 | If segmentation is used, segmentation controls are tested at least once every 12 months and after any changes to them. |
| 11.4.6 | Service providers only: segmentation testing at least once every six months and after changes. |
| 11.4.7 | Multi-tenant service providers only: support for their customers' external penetration testing. |
The PCI Security Standards Council's Penetration Testing Guidance was written in 2017 for PCI DSS v3.2, when penetration testing was Requirement 11.3. It explains that what counts as a "significant change" is not prescribed by the standard and depends on the entity's risk-assessment process and on the configuration of its environment. It also explains organizational independence: the tester must be organizationally separate from the management of the target systems.
Frequent releases. Not every release is a significant change, but with weekly releases some will be under your own definition, and each of those calls for a penetration test. Separately, Requirement 6.5.1 asks that every update to bespoke and custom software be tested for compliance with Requirement 6.2.4, which lists common software attacks, before it is deployed to production. Requirement 11.4.4 makes retesting explicit.
Where agentic testing fits
| Obligation | Pain point | Where agentic testing can help |
|---|---|---|
| DORA Art. 24(6): at least yearly, all ICT systems and applications supporting critical or important functions | Breadth: many applications for the budget | Automated runs make it practical to test every in-scope application each year |
| NIS2 Art. 21(2)(f): assess effectiveness | Evidence that measures work over time | Runs with the same scope and configuration can be repeated and compared from one period to the next |
| PCI DSS 11.4.2/11.4.3: after significant change | Releases ship faster than a pentest can be scheduled | A test can be started from the CI/CD pipeline when a significant change ships |
| PCI DSS 11.4.4: correct and retest | Retests can take weeks to schedule | The specific finding can be retested on demand |
Two cautions apply:
- TLPT is a separate regime. It follows Delegated Regulation 2025/1190, which mirrors the TIBER-EU framework, and Article 27 sets requirements for the testers, such as professional indemnity insurance. An automated pentest is not a TLPT.
- The tester requirements still apply. PCI DSS asks for a documented methodology (11.4.1) and a qualified tester with organizational independence (11.4.2 and 11.4.3), and DORA asks for independent testers, internal or external (Article 24(4)). A tool doesn't meet these conditions by itself. A qualified, independent tester can run or supervise the automated testing within their methodology, review the results and sign the report; whether that is acceptable for PCI DSS is for your assessor to confirm.
A worked scenario: one calendar for overlapping frameworks
Take a fictional mid-sized bank in the EU. It is a financial entity under DORA, and it issues payment cards and stores card data, so PCI DSS applies too. Banking is one of the NIS2 sectors, but NIS2 doesn't add a separate set of risk-management rules here, because DORA's rules apply instead. The bank runs twelve customer-facing applications, five of which support critical or important functions, and three of which are in the cardholder data environment. It releases to production every week.
A single testing calendar can cover both frameworks:
- Inventory once. Map each application to DORA critical or important functions and to the PCI DSS CDE, and record the systems each one depends on, since Article 24(6) covers all ICT systems and applications supporting those functions.
- Annual baseline. Every in-scope application gets a penetration test at least once every 12 months by an independent tester, who for the CDE must also be qualified and follow the 11.4.1 methodology. This is the yearly element of DORA Article 24(6) for these applications and of PCI DSS 11.4.2 and 11.4.3, whose scope also covers the network layer and the CDE perimeter.
- Change-triggered tests. Define in writing what counts as a "significant change" (a new authentication flow, a new payment method, a new external integration, a major framework upgrade) and trigger a test when one ships, with a scope you can justify to your assessor. This is what 11.4.2 and 11.4.3 ask for after a significant change, and an assessor is likely to ask for the written definition.
- Retest on fix. Every exploitable finding gets a retest that repeats the original attack, with evidence stored next to the finding. This covers PCI DSS 11.4.4 and supports the internal validation that DORA Article 24(5) asks for.
- Quarterly review. Summarise results, open findings and retest outcomes for management. This feeds the review of the ICT risk-management framework, which DORA requires at least once a year (Article 6(5)).
If the authority identifies the bank for TLPT, that is a separate exercise, at least every three years, with its own rules; the calendar above stays as it is.
A company under NIS2 instead, such as a cloud provider that is also a PCI DSS service provider, can follow the same calendar. Its test records then also serve point 6.5 of the annex to Implementing Regulation 2024/2690, and the quarterly review supports the effectiveness assessment of Article 21(2)(f).
Frameworks people also ask about
- ISO/IEC 27001:2022. Annex A doesn't name penetration testing as a control. It usually comes up as one way to meet control 8.8 (management of technical vulnerabilities) and control 8.29 (security testing in development and acceptance); your risk assessment determines which controls apply and how you implement them.
- SOC 2. The AICPA Trust Services Criteria don't require a penetration test either. Penetration testing appears among the examples of separate evaluations in the points of focus for criterion CC4.1 (monitoring activities), and a test report is often used as evidence there. Ask your auditor what they expect.
- ENISA and national authorities. ENISA has published technical implementation guidance for Implementing Regulation 2024/2690, with examples of evidence. National authorities publish their own measures under the transposition laws, so read those as well.
Evidence an auditor is likely to ask for
- Scope: which applications, why they're in scope, and how they map to critical or important functions (DORA) or the CDE (PCI DSS).
- Dates and frequency of tests, including tests triggered by changes.
- Findings with proof of exploitability where exploitation was safe and in scope, severity and owner.
- Remediation and retest evidence.
- The methodology document, who performed the tests, and how their qualifications and independence were established.
- Your written definition of "significant change", and the log of changes that did or didn't trigger a test.
- Test and remediation results kept for at least 12 months (PCI DSS 11.4.1).
- Management sign-off on accepted risks, with a reason and a review date.
It also helps to store evidence per finding, so that anyone reviewing it can follow it from discovery to retest without searching through several reports and email threads.
RedPick findings come with proof-of-concept evidence, severity and remediation guidance, and a retest re-verifies a specific finding after it has been fixed. The Platform page describes how findings are verified.
If you are planning application testing for DORA, NIS2 or PCI DSS and want to discuss where RedPick fits, contact us.
Primary sources: Regulation (EU) 2022/2554 (DORA); Delegated Regulation (EU) 2025/1190 (TLPT); Directive (EU) 2022/2555 (NIS2); Implementing Regulation (EU) 2024/2690; ENISA NIS2 technical implementation guidance; PCI DSS document library; PCI SSC Penetration Testing Guidance.
Related: AI pentesting buyer's checklist · Agentic vs automated testing · Platform
Frequently asked questions
Does DORA require continuous AI pentesting?
No. Article 24(6) requires financial entities other than microenterprises to ensure, at least yearly, that appropriate tests are conducted on all ICT systems and applications supporting critical or important functions. More frequent automated testing can help with coverage and evidence, but it does not replace TLPT for the entities required to perform it.
Is an automated pentest a DORA TLPT?
No. TLPT under Article 26 is an advanced, threat-led test on live production systems, required at least every three years only of the financial entities identified by their authority. Article 27 sets requirements for the testers, and Commission Delegated Regulation (EU) 2025/1190 sets the detailed rules, in line with the TIBER-EU framework.
Do the NIS2 risk-management rules apply to financial entities covered by DORA?
In general, no. NIS2 treats DORA as a sector-specific act for financial entities (Article 4 and recital 28), so for entities covered by DORA its rules on ICT risk management, testing and incident reporting apply instead of the corresponding NIS2 provisions.
Can an automated tool perform the PCI DSS penetration test on its own?
Requirements 11.4.2 and 11.4.3 call for testing according to the entity's defined methodology, by a qualified internal resource or qualified external third party with organizational independence. A tool can be part of that methodology, but the tester requirements apply to whoever performs the test.
Which PCI DSS version do these requirements refer to?
PCI DSS v4.0.1, the current version. The requirements that v4.0 introduced as future-dated became mandatory on March 31, 2025.
