Compliance frameworks have grown into a permanent feature of the business landscape, and penetration testing sits explicitly inside many of them. PCI DSS, ISO 27001, SOC 2, NIS2, and the various sector-specific regimes all expect some form of regular security testing. Understanding what each framework actually requires, rather than what your auditor sometimes seems to want, prevents both overspending and the more painful experience of audit findings late in the cycle.
PCI DSS Has the Most Specific Requirements
Payment Card Industry Data Security Standard imposes some of the most prescriptive testing requirements in any framework. Annual external and internal penetration testing, segmentation testing for environments using network isolation, and additional testing after significant changes are all explicitly mandated. The methodology, scoping, and reporting need to match what assessors expect. Working with a best penetration testing company that has experience specifically with PCI testing avoids the awkward conversations where the auditor refuses to accept a report that did not follow the right structure.
ISO 27001 Demands Less but Implies More
ISO 27001 itself does not mandate penetration testing in the prescriptive way PCI does, but the various controls within Annex A point strongly towards regular testing being part of any reasonable implementation. Risk assessments need supporting evidence, technical vulnerability management requires identifying issues, and management of information security incidents requires understanding what could happen. Most ISO 27001-certified organisations end up running regular tests because the alternative is producing risk assessments without underlying evidence.
SOC 2 and Related Service Frameworks
SOC 2 reports rely on the auditor’s professional judgement about whether controls operate effectively. Security testing fits naturally into this picture as evidence supporting controls related to vulnerability management, change management, and continuous monitoring. The frequency, scope, and depth depend on the trust services criteria selected, but quarterly or annual testing is typical for organisations with public-facing services.
Expert Commentary
Name: William Fieldhouse
Title: Director of Aardwolf Security Ltd
Comments: I see clients struggling to align their testing programme with multiple compliance frameworks at once. The answer is rarely a separate test for each framework. A well-designed annual programme, with appropriate retests after remediation, satisfies most frameworks simultaneously, provided the scoping and reporting reflect what each one actually requires.

NIS2 and the Move Towards Sector Regulation
The Network and Information Systems Directive in its second iteration has significantly expanded the scope of cybersecurity regulation across Europe. Essential and important entities now face explicit security testing requirements, breach reporting obligations, and supply chain considerations. UK organisations operating across European markets need to consider how their testing programmes meet NIS2 expectations even where the local regulator’s guidance has not yet caught up.
Common Pitfalls
Compliance testing goes wrong in predictable ways. Scope set too narrowly to satisfy the framework on paper but missing the actual risk. Testing scheduled to land just before audits rather than at intervals that match operational reality. Reports written for tester convenience rather than auditor expectations. Remediation evidence collected haphazardly so that retests struggle to confirm closure. Each of these creates work later that good initial planning avoids entirely.
Practical Recommendations
Start by listing every framework you are subject to and what each one expects from a security testing perspective. Design a unified testing programme that satisfies the strictest requirements, then ensure the deliverables map cleanly to each framework’s evidence needs. Schedule retests close enough to the originals that remediation context remains fresh. Request a penetration test quote from a provider with explicit experience in your compliance environment, and the relationship will support both audit success and genuine security improvement.
