What is SOC 2, briefly?
SOC 2 is an examination of a service organization's controls by a CPA firm, called the service auditor. The controls are evaluated against the AICPA's Trust Services Criteria for security, availability, processing integrity, confidentiality and privacy. According to the AICPA SOC 2 guide, an examination that covers security uses the common criteria, CC1.1 to CC9.2.
There are two report types. A Type 1 report covers whether controls were suitably designed at a point in time. A Type 2 report also covers whether they operated effectively throughout a period, and includes a description of the auditor's tests and their results. Either way, the result is a CPA's report and opinion, not a certificate.
What do the Trust Services Criteria say about penetration testing?
Penetration testing is named once, in the points of focus for CC4.1. In the AICPA Trust Services Criteria, CC4.1 follows COSO Principle 16: the entity selects, develops and performs ongoing and/or separate evaluations to check that the parts of its internal control are present and functioning. One of its points of focus, "Considers Different Types of Ongoing and Separate Evaluations," lists penetration testing alongside independent certifications such as ISO and internal audit assessments as kinds of evaluation management uses.
Vulnerability scanning appears under CC7.1, which asks the entity to use detection and monitoring procedures to identify configuration changes that introduce new vulnerabilities, and its exposure to newly discovered ones. Its point of focus, "Conducts Vulnerability Scans," describes scanning for vulnerabilities and misconfigurations periodically and after any significant change, then fixing what is found on a timely basis.
Points of focus are not a checklist. The AICPA says some may not be relevant to a given entity, and that using the criteria "does not require an assessment of whether each point of focus is addressed." So the accurate answer is that penetration testing is a recognized way to meet CC4.1, not a stated requirement.
| Criterion | What it asks for | Where testing appears |
|---|---|---|
| CC4.1 | Ongoing and/or separate evaluations of whether internal controls are present and functioning | A point of focus names penetration testing as one type of evaluation |
| CC7.1 | Detection and monitoring to find new vulnerabilities and risky configuration changes | A point of focus describes vulnerability scans, periodically and after significant change |
| Points of focus | Important characteristics that help design and evaluate controls | Not each required: the AICPA says they need not be assessed one by one |
If it is not required, why does everyone ask for one?
Your auditor needs evidence
You design your controls; the auditor tests whether they work. A dated report from an independent tester is one of the most direct ways to show you evaluate your security controls (CC4.1) and that you look for vulnerabilities (CC7.1). Without one, you need another credible way to evidence the same criteria, and your auditor decides whether it is enough.
Your policy may already promise one
The auditor evaluates the controls stated in your system description, as the AICPA guide sets out. If your security policy says you run a penetration test every year, that promise becomes a control, and a missing test becomes an exception in your report.
Your customers read the report too
The AICPA guide says a SOC 2 report is meant to help its users assess and address the risks of working with you. A customer's security review may ask for your latest pen test summary as well as your SOC 2 report, because it shows how your systems held up against an attacker's approach.
How often should you run a pen test for SOC 2?
The criteria set no frequency. What matters is the cadence your own policy commits to and, for a Type 2 report, that testing happens inside the period being examined. If your only test was finished before the period began, it may not help as evidence for that period.
A sensible baseline is a test at least once a year and after any significant change to the in-scope system, which mirrors the wording the CC7.1 point of focus uses for scans. Other standards are more specific: PCI DSS, for example, requires external scans by an Approved Scanning Vendor at least once every three months, according to the PCI Security Standards Council. SOC 2 has no equivalent number. Scanning between tests matters because new vulnerabilities are published constantly; you can follow them on Signal, our threat-intelligence feed.
| Activity | What the SOC 2 criteria say | A practical cadence |
|---|---|---|
| Penetration test | Named as one type of evaluation under CC4.1; no frequency | At least yearly and after significant change, dated inside the audit period |
| Vulnerability scan | CC7.1 point of focus: periodically and after significant change | A fixed schedule, such as monthly or quarterly, plus after changes |
| Fixing findings | CC7.1 point of focus: remediate on a timely basis | Fix times by severity written into your policy, with tickets as proof |
What should the pen test cover?
Scope should follow your SOC 2 system description: the infrastructure, software and data behind the service your report covers. For a typical software company that means:
- The production web application, tested as a logged-in user across roles, not only from the login page.
- The APIs your product and customers use.
- The external network perimeter: internet-facing hosts, services and login pages.
- Cloud configuration, where the service runs on AWS, Azure or Google Cloud.
- Internal networks, if they are part of the system in your description.
If you leave something out, write down why. An auditor reading a narrow scope will ask.
What evidence will your auditor want to see?
Each auditor sets their own requests, but these are the documents that usually answer them.
| Evidence | What it shows |
|---|---|
| The pen test report | The test dates, scope, method, and every finding ranked by severity with its evidence |
| Scope and rules of engagement | That the test covered the systems in your SOC 2 system description |
| Who did the testing | That the testers were independent of the team that built the system |
| Remediation tickets | That findings were tracked and fixed within the time your policy sets |
| Retest results | That the fixes worked |
| Your testing policy | The cadence you committed to, which the auditor tests you against |
| Risk acceptance | A management decision, with a reason, for anything left open |
In a Type 2 report the auditor describes the tests they ran and the results, so gaps in this trail are visible to anyone who reads your report.
Will a pen test make us SOC 2 compliant?
No single test does that. A penetration test is evidence for a small number of criteria among many; the auditor reports on all of your controls and how they operated. AvalonX provides penetration testing and reports. We do not perform SOC 2 audits, and a test from us, or anyone else, does not make a company SOC 2 compliant. Your CPA firm decides what evidence is sufficient.
Pen test or vulnerability scan: which does SOC 2 need?
Both show up in the criteria, in different places: scans under CC7.1 and penetration testing under CC4.1. They do different jobs. A scan checks broadly and often for known weaknesses; a pen test goes deep to show what an attacker could actually do. Our guide to the difference between a pen test and a vulnerability scan covers this in detail, and our pen test cost guide covers budgets.
How AvalonX fits
Our SOC 2 penetration testing page explains how we test web applications, APIs and internet-facing systems, and how our report sets out the date, the scope, findings by severity and a recommended fix for each. Testing runs on a schedule through the year on a plan:
| Plan | Price | Targets | Penetration testing | 12 months at list price |
|---|---|---|---|---|
| Essentials | $249/month | Up to 3 | A full pen test every 90 days | $2,988 |
| Pro | $599/month | Up to 10 | A full pen test every 30 days | $7,188 |
| 360 | $899/month | Up to 10 | A full pen test every 7 days | $10,788 |
Questions people ask
Is a penetration test mandatory for SOC 2?
No. The AICPA Trust Services Criteria do not list penetration testing as a required control. It appears as an example of an evaluation in a point of focus under CC4.1, and points of focus are not individually required. Auditors and customers often still expect one as evidence.
How often do you need a pen test for SOC 2?
SOC 2 sets no frequency. Test at the cadence your security policy commits to; testing at least once a year and after significant changes is a sensible baseline. For a Type 2 report, make sure a test falls inside the period being examined.
Which Trust Services Criteria does a pen test support?
Most directly CC4.1, whose point of focus names penetration testing as one type of evaluation. Its findings also support CC7.1, which covers identifying new vulnerabilities, alongside your vulnerability scanning.
Can a vulnerability scan replace a pen test for SOC 2?
Not if your auditor or customer has asked for a penetration test. Scans and pen tests appear under different criteria and do different jobs: a scan finds known weaknesses broadly, while a pen test tries to exploit them. Many programs use both.
Does a pen test make us SOC 2 compliant?
No. A pen test is one piece of evidence. SOC 2 is a CPA firm's examination of your controls across the whole system, and only your auditor's report speaks to it.
Related guides
Sources
- AICPA, 2017 Trust Services Criteria for Security, Availability, Processing Integrity, Confidentiality, and Privacy (with revised points of focus, 2022): CC4.1, CC7.1 and the note on points of focus. https://www.aicpa-cima.com/resources/download/2017-trust-services-criteria-with-revised-points-of-focus-2022
- AICPA, SOC 2 Reporting on an Examination of Controls at a Service Organization (guide, 2018), chapter 1 excerpt. https://catalogimages.wiley.com/images/db/pdf/9781945498602.excerpt.pdf
- PCI Security Standards Council, Vulnerability Scans and Approved Scanning Vendors: A Resource Guide. https://www.pcisecuritystandards.org/wp-content/uploads/2024/07/PCI_SSC_ASV_Resource_Guide_v12.pdf