SAST Tools: What They Catch and What They Miss
SAST tools catch injection flaws, hardcoded secrets, and insecure patterns early. They cannot catch business logic, runtime behavior, or authorization gaps. Here is exactly where the line falls.
The short answer is: not explicitly, but practically yes for most organisations processing significant volumes of personal data.
GDPR does not contain the words "penetration test." What Article 32 contains is a requirement for "a process for regularly testing, assessing and evaluating the effectiveness of technical and organisational measures for ensuring the security of the processing." That language has been interpreted by data protection authorities across the EU to require active security testing, and penetration testing is the most direct evidence that testing of technical measures is occurring.
This guide explains exactly what the GDPR obligation requires, where the ambiguity lies, what evidence satisfies regulators, and how the obligation differs for controllers versus processors.
Article 32(1) of the GDPR requires controllers and processors to implement appropriate technical and organisational measures to ensure a level of security appropriate to the risk. The specific sub-requirements include:
The fourth requirement is the one that creates the penetration testing obligation. "Regularly testing, assessing and evaluating the effectiveness" of technical security measures is not satisfied by having security measures in place. It requires actively testing whether they work.
The word "regularly" is not defined in the regulation. The European Data Protection Board (EDPB) and national supervisory authorities have not issued prescriptive frequency guidance, but enforcement decisions and regulatory guidance have consistently treated annual testing as a minimum for organisations processing significant personal data volumes.
The ambiguity that causes "does GDPR require pentesting?" to be a searchable question is in the word "testing." The regulation does not specify what form testing must take.
Supervisory authorities have accepted a range of approaches as satisfying Article 32(1)(d): penetration testing, vulnerability scanning, security audits, code reviews, and combinations thereof. The appropriate approach depends on the organisation's size, the nature of the processing, and the risk profile of the data being processed.
For a small organisation processing low-risk personal data with limited technical infrastructure, periodic vulnerability scanning combined with an annual security review may satisfy the regulation. For a financial services firm, healthcare provider, or any organisation processing large volumes of sensitive personal data, regulators and enforcement precedent both point to penetration testing as the appropriate standard.
The practical guidance: if a data breach occurred and regulators reviewed your Article 32 compliance, what would they find? Periodic vulnerability scanning that missed the vulnerability class responsible for the breach will not demonstrate that your testing process was adequate. Penetration testing that confirmed exploitability, identified the risk, and documented remediation is the standard of evidence that Article 32's testing obligation implies.
Article 32(2) requires that risk be assessed taking into account the state of the art, costs of implementation, and the nature, scope, context, and purposes of processing, as well as the risk of varying likelihood and severity for the rights and freedoms of natural persons.
This proportionality principle is why GDPR's penetration testing obligation is not absolute. A sole trader processing email addresses for a newsletter has a different risk profile than a hospital processing patient health records or an e-commerce platform processing payment information alongside purchase history.
For data controllers and processors processing:
...the proportionality principle points clearly toward penetration testing as a required measure rather than an optional one. Supervisory authority enforcement actions have consistently found that organisations in these categories without regular security testing failed Article 32.
The GDPR Article 32 obligation applies to both controllers (who determine the purposes of processing) and processors (who process data on behalf of controllers).
For data controllers, the obligation is to implement appropriate technical measures for their own processing. This includes testing the security of the systems and applications they operate.
For data processors, the obligation is dual. First, processors must implement their own Article 32 measures for the processing they conduct. Second, Article 28 requires that controllers use only processors who provide sufficient guarantees that appropriate technical measures will be implemented. In practice, this means enterprise customers increasingly require processors to demonstrate penetration testing evidence as part of vendor security due diligence.
A SaaS company processing personal data on behalf of its customers is a data processor. Its enterprise customers (as data controllers) are legally required to verify that the processor implements adequate security measures. Penetration testing evidence has become the standard demonstration of processor security adequacy in enterprise procurement processes, independently of whether any specific customer mentions GDPR in their security questionnaire.
Following the UK's departure from the EU, the UK retained GDPR through the Data Protection Act 2018 and the UK GDPR, which mirrors EU GDPR Article 32 requirements almost exactly. The UK Information Commissioner's Office (ICO) applies the same testing expectations as EU supervisory authorities.
UK-based organisations processing personal data of UK residents are subject to UK GDPR. EU-based organisations processing personal data of EU residents are subject to EU GDPR. Organisations with operations in both jurisdictions face both obligations, though satisfying one generally satisfies the other given the near-identical requirements.
The ICO has issued enforcement decisions citing inadequate security testing as a contributing factor in post-breach findings, reinforcing that Article 32's testing obligation is interpreted to require active security validation rather than passive monitoring.
If a breach occurs and regulators investigate, the evidence they look for under Article 32(1)(d) has three components.
A documented testing process. A policy or procedure describing how security testing is conducted, at what frequency, covering what scope, and how findings are managed. The process must be documented before the breach, not constructed retrospectively.
Evidence of testing conducted. Penetration test reports from within a reasonable period before the incident, covering the systems and data involved. Reports must demonstrate active testing, not scanning output. What is inside a VAPT report covers the evidence standard that distinguishes a credible report from scanner output relabelled as penetration testing.
Evidence of remediation. Findings from the testing process must have been addressed. A penetration test that identified the vulnerability class responsible for a breach, combined with evidence that the finding was not remediated, demonstrates that the testing process was present but the response process was absent. Both must be evidenced.
Regulators have not specified what format evidence must take, but timestamped reports with specific findings, remediation tracking records, and retest confirmation compose the strongest evidence package under Article 32(1)(d).
Article 32 says "regularly" without defining frequency. The practical standard, based on supervisory authority enforcement and guidance across EU member states:
Annual penetration testing is the accepted minimum for organisations processing personal data at meaningful scale or risk. Post-change testing following significant infrastructure changes is consistent with the "regularly" standard because the effectiveness of technical measures changes when the underlying systems change.
For organisations processing special category data or large volumes of sensitive personal data, the proportionality principle in Article 32(2) pushes toward more frequent testing. Continuous penetration testing and how it differs from annual pentests covers the model where testing frequency matches deployment cadence, which satisfies Article 32's "regularly" standard more definitively than a fixed annual schedule.
GDPR differs from PCI DSS, HIPAA, and ISO 27001 in how it handles penetration testing.
PCI DSS Requirement 11.4 mandates penetration testing explicitly and specifies frequency, scope, and tester qualification requirements. HIPAA creates a testing obligation through the Security Rule's Technical Safeguards requirements, and OCR enforcement has treated penetration testing as the expected approach. ISO 27001 Annex A 8.8 creates a vulnerability management obligation that auditors interpret to require active testing. All three are more prescriptive than GDPR.
GDPR's flexibility is both its strength and its ambiguity. It allows proportionate approaches rather than mandating the same testing program for a multinational financial institution and a small consultancy. It also creates genuine uncertainty for compliance teams trying to determine what "regularly testing" means in their specific context.
The practical position for most organisations: if your risk profile, data sensitivity, or processing scale would lead a reasonable observer to expect penetration testing, you should be conducting it. The enforcement record suggests that regulators share that expectation. For organisations managing both GDPR and ISO 27001 penetration testing obligations, or GDPR alongside SOC 2 penetration testing requirements, a single well-scoped annual penetration test can generate evidence that satisfies all three frameworks simultaneously.
The scope should cover the systems that process, store, or transmit personal data. For a web application that collects and processes user personal data, this means: the application itself including authenticated user surfaces where personal data is accessible, the API layer through which personal data flows, the infrastructure hosting personal data, and the access controls that restrict who can reach personal data.
What a real web application penetration test should cover maps the twelve dimensions of comprehensive testing. The GDPR-specific priority within those dimensions is the surfaces through which personal data could be accessed, extracted, or manipulated: authentication and session management (which determines who can reach personal data), authorization controls (which determines what personal data each user can see), and the API and data export functions through which personal data can leave the system.
The security gaps that standard testing misses covers the ten categories most consistently absent from GDPR-scoped assessments, including authorization gaps across user roles and API-specific vulnerabilities that expose personal data through undocumented endpoints.
The agentic pentesting and continuous security validation model aligns naturally with Article 32's "regularly testing" language. A continuous testing program that validates security controls on every deployment produces a running evidence record demonstrating ongoing assessment rather than annual snapshots.
How autonomous pentesting produces a continuous compliance evidence record covers how the continuous model generates the timestamped testing and remediation records that compose the strongest possible Article 32(1)(d) evidence portfolio.
For penetration testing services and VAPT services structured for GDPR compliance evidence, or agentic penetration testing for continuous coverage, the 10x Pentest platform delivers exploit-proven findings with timestamped remediation confirmation. See pricing or get in touch to discuss scoping a GDPR-aligned testing program.
Q1. Does GDPR require penetration testing?
GDPR does not name penetration testing explicitly. Article 32(1)(d) requires "a process for regularly testing, assessing and evaluating the effectiveness of technical and organisational measures for ensuring the security of the processing." Supervisory authorities across the EU have consistently interpreted this to require active security testing, and enforcement decisions following data breaches have treated the absence of regular security testing as a failure to comply with Article 32. For organisations processing sensitive personal data at scale, penetration testing is the most direct way to demonstrate that Article 32's testing obligation is being met.
Q2. How often does GDPR require security testing?
GDPR requires testing "regularly" without specifying frequency. Annual penetration testing is the accepted minimum for organisations processing personal data at meaningful risk levels. The proportionality principle in Article 32(2) means that higher-risk processing, including special category data, financial data, or large-scale processing, warrants more frequent testing. Post-change testing following significant infrastructure changes is consistent with the "regularly" standard because technical measure effectiveness changes when the underlying systems change.
Q3. Does UK GDPR have the same penetration testing requirements as EU GDPR?
Yes. UK GDPR, enacted through the Data Protection Act 2018, mirrors EU GDPR Article 32 requirements. The ICO applies the same interpretation of the testing obligation as EU supervisory authorities. UK-based organisations processing personal data of UK residents must satisfy UK GDPR. Organisations with EU operations must also satisfy EU GDPR. A single penetration testing program scoped to cover systems processing both UK and EU personal data satisfies both obligations.
Q4. What evidence does a regulator look for under Article 32(1)(d)?
A regulator investigating Article 32 compliance following a breach looks for three components: a documented security testing process describing how testing is conducted, at what frequency, and covering what scope; penetration test reports from within a reasonable period demonstrating that active testing occurred and found the relevant vulnerability classes; and remediation records showing that findings were addressed and that remediation was confirmed. The absence of any one component weakens the Article 32 evidence package. Reports alone without remediation records, or remediation records without supporting test reports, are incomplete.
Q5. Does GDPR penetration testing apply to data processors as well as controllers?
Yes. Article 32 applies to both data controllers and data processors. Processors must implement their own Article 32 technical measures for the processing they conduct, including regular security testing of the systems they use to process personal data on behalf of controllers. Additionally, Article 28 requires controllers to verify that processors provide sufficient guarantees of appropriate technical measures. In practice, enterprise customers routinely require penetration testing evidence from SaaS vendors and technology service providers as part of vendor due diligence, making penetration testing a commercial requirement for processors independent of their own direct GDPR obligations.
Schedule a free consultation and see how teams like yours are strengthening their security posture — continuously.