SOC 2 does not name a penetration test, but auditors commonly ask for one. Hydra, Cloudgrip's offensive product, tests every release and gives you a dated report with proof for each finding, so there is always a recent test inside your audit period.
What the framework asks
SOC 2 (System and Organization Controls 2) is an audit of how a service company protects customer data. It is measured against the Trust Services Criteria, published by the American Institute of Certified Public Accountants (AICPA). None of the criteria says "penetration test". These are the ones a test helps you evidence.
CC7.1: Identify vulnerabilities
- What it asks: Have a way to detect new vulnerabilities, including the ones introduced when a configuration changes.
- What the auditor wants to see: Proof that the process runs regularly, not once. That means dated results and a record of what was done about them.
- What a Hydra run gives you: A test on every release. Each run leaves a dated report that lists what was tested and what was found.
CC4.1: Evaluate your controls
- What it asks: Check that your controls exist and work, through ongoing or separate evaluations. The points of focus for this criterion mention penetration testing as one kind of evaluation.
- What the auditor wants to see: An evaluation done by someone outside the team that built the system, with a clear scope and method.
- What a Hydra run gives you: An outside test of the running system. Agents try real attacks on your logins, access controls, APIs and, with a read-only cloud role, your cloud IAM paths. The report states the scope.
CC4.2 and CC7.4: Fix what you find
- What it asks: Tell the people responsible about weaknesses in good time so they can correct them (CC4.2). When a security incident happens, contain it and fix the cause (CC7.4).
- What the auditor wants to see: A trail for each problem: when it was found, who owned it, when it was fixed, and how the fix was checked.
- What a Hydra run gives you: Each finding comes with replayable requests and a fix, written as a pull request if you connect your repo. After the fix merges, Hydra attacks again and the retest result is recorded.
Type II reports: the audit period
- What it asks: A Type I report looks at your controls on one date. A Type II report looks at whether they worked over a period, usually several months to a year.
- What the auditor wants to see: For Type II, evidence dated inside the period. A test from before the period started says little about how the control worked during it.
- What a Hydra run gives you: Reports dated across the whole period, one for each release, so you are not relying on a single test.
The auditor's opinion
- What it asks: An independent CPA firm examines your controls and gives its opinion in the SOC 2 report.
- What the auditor wants to see: Evidence across all your controls, such as access reviews, change management and incident response. Testing is one part of it.
- What a Hydra run gives you: Nothing here. Hydra supplies testing evidence. Whether your controls meet the criteria is the auditor's judgment, and a pentest alone does not make you compliant.
Auditors set their own standard for what counts as a penetration test. Ask yours early which evidence they expect.
How it works
- Connect. Give Hydra a URL and two test logins, plus an optional read-only cloud role. Ownership of each target is verified first. First exploited findings arrive within 24 hours, if there's something to find.
- Test every release. Agents attack your web apps, APIs and cloud on every release, within rate limits you set. A finding is reported only after it has been exploited and replayed from a clean session.
- Hand over the evidence. Each run produces a dated report with scope, findings and retest proof.
What your auditor reads
Every run produces the same three parts, so reports from different releases can be compared.
- Scope: which apps, APIs, cloud accounts and roles were tested, and when. This is what separates a penetration test from scanner output.
- Proven findings: each finding with its severity, the replayable requests and the evidence that the exploit worked. Findings that don't reproduce are left out.
- Retest proof: for each fix, the date the same attack ran again and whether it still worked. Open items stay visible.
Does SOC 2 require a penetration test?
Not by name. The Trust Services Criteria describe outcomes, such as detecting vulnerabilities (CC7.1) and checking that controls work (CC4.1). They leave the method to you. Penetration testing appears only as an example in the points of focus for CC4.1.
In practice, auditors commonly expect a penetration test as evidence for those criteria, and so do many of the customers who read your report. A test does not make you compliant on its own. It is one piece of evidence that the auditor weighs with everything else.
FAQ
When should the test happen for a Type II report?
Inside the audit period. A Type II report covers how your controls worked over a period, so auditors want testing dated within it. Testing on every release gives you reports spread across the whole period. For a Type I report, ask your auditor how recent the test needs to be.
Is a vulnerability scan enough for SOC 2?
A scan helps with CC7.1, but it is not a penetration test. A scan lists possible weaknesses by matching known patterns. A penetration test tries to exploit them and shows what an attacker could do, including access control and logic flaws that scanners rarely see. An auditor who asks for a pentest will usually not accept scan output in its place.
Will our auditor accept a test run by AI agents?
That is the auditor's decision. What they usually look for is a clear scope, findings backed by evidence, and proof that fixes were retested. A Hydra report contains all three. Share a sample with your auditor before the audit period starts.
What should be in scope for the test?
The system your SOC 2 report describes. That normally means the production application, its APIs, its login flows and the cloud it runs on, tested with logins for more than one role and more than one customer. If the test covers less than the system description, expect your auditor to ask why. Staging is Hydra's default, and production is opt-in.
Does this cover all five Trust Services Categories?
No. The categories are security, availability, processing integrity, confidentiality and privacy. Security is part of every SOC 2 report, and that is where penetration testing evidence mostly applies. It also supports confidentiality when a test shows that one customer cannot read another's data. The other categories need different evidence.
Does Cloudgrip help with detection evidence too?
Cerberus, Cloudgrip's defense product, detects attacks in the logs, metrics and traces you already collect, and every attack path Hydra proves becomes a detection it watches for. Whether that counts as evidence for monitoring criteria is up to your auditor.
Does Cloudgrip itself hold a SOC 2 report?
Not yet. Our current status is listed on our security page.
Keep reading
- Cloudgrip Hydra: how the agents attack, prove and fix, and what they test.
- ISO 27001 penetration testing: which Annex A controls a penetration test supports, and what the certification body still decides.
- PCI DSS penetration testing: what Requirement 11.4 asks, and where testing every release fits around the annual test.