Skip to content

SOC 2 Type 2 penetration testing scope: what to include

For a SOC 2 Type 2 audit, a pentest has to cover the systems in your boundary and fall inside the period. Here is how to scope it, time it, and keep the evidence.

Axrok Team8 min read

SOC 2 Type 2 is not a one-day snapshot. The service auditor's opinion covers whether controls were suitably designed and operated effectively throughout a specified period. That changes how you should scope a penetration test, and when you should run it.

This guide is about scope and timing for Type 2. If you are still asking whether SOC 2 requires a pentest at all, start with SOC 2 penetration testing requirements. Short version: the AICPA criteria do not name penetration testing as a mandatory control, but your policies, your auditor, and your customers often make it a de facto requirement.

Key takeaways

  • A Type 2 report covers a period of time, not a single date. The test, the fixes, and the retest should fall inside that period whenever you can arrange it.
  • Scope the pentest to the systems inside your SOC 2 boundary, not to every system the company owns.
  • For most SaaS products, that means the web application, its APIs, and the cloud environment behind them, plus the external attack surface that could affect the service.
  • A scan is not a substitute for a test if an auditor or customer is expecting a penetration test.
  • Keep the evidence: the report, remediation records, and retest results.

Type 1 and Type 2 are different jobs

The AICPA describes two kinds of SOC 2 report. In a Type 1 engagement, the service auditor's report and management's assertion are as of a date: they address whether the description of the system is fair and whether the controls were suitably designed at that point. In a Type 2 engagement, the report and management's assertion cover a period of time, and the auditor also reports on whether those controls operated effectively throughout the period (see the AICPA's SOC 2 topic page and firm explainers such as Deloitte's guide to SOC reports).

The AICPA does not prescribe a minimum length for that period. In practice, many Type 2 reports cover six to twelve months, and later reports often cover twelve months. The useful point for scoping a pentest is simpler: Type 2 is about what happened during the window, not only what was true on one day.

That is why Baker Tilly reports Type 2 delays when an organization "couldn't provide proof that meaningful penetration testing was performed within the period." A test completed after the window, or a report you cannot date inside it, may not help the auditor as much as you expect.

Start from the audit boundary, not from a generic pentest menu

You do not have to test every system you own. Baker Tilly advises that the test should at least include the systems and environment in scope for the SOC audit, and at a minimum "the applications, infrastructure, and external attack surfaces that could affect the security, availability, or confidentiality" of the services in your report.

Write the boundary down before you ask for quotes. A practical Type 2 scope statement usually names:

  • The product or service covered by the SOC 2 report
  • The web application and the API that product uses
  • The cloud accounts, regions, and key supporting services in that boundary
  • Authentication and authorization paths, including single sign-on if customers use it
  • Administrative interfaces that can change customer data or system configuration
  • The external attack surface of those systems: what is reachable from the internet

Just as important is a short list of what is out of scope, and why. A corporate marketing site, an unrelated internal tool, or a staff laptop fleet may sit outside the trust services boundary. If you leave them out, say so. If they can affect the in-scope service (for example, a shared identity provider), they may belong in the test after all.

For SaaS, test the application and the API, not only the network

For most SaaS companies, the product is the attack surface. Baker Tilly observes that "web applications and APIs are difficult to write securely, and the majority of critical vulnerabilities are found here."

The industry reference lists point to the same place. Broken Access Control sits at number one in the OWASP Top 10:2025, and Broken Object Level Authorization leads the OWASP API Security Top 10 (2023). In plain terms: can one customer see or change another customer's data? A Type 2 pentest that never tests that question is a weak fit for a multi-tenant product, even if the network scan looks thorough.

A useful application and API scope usually includes:

  • At least two customer roles, plus an administrator role where one exists
  • Object-level checks on records that belong to another tenant
  • Authentication, session handling, and password or token reset flows
  • File upload, export, and other paths that move data out of the application
  • Older API versions and undocumented endpoints if they are still reachable

If you already have an API-focused guide in hand, see API penetration testing for SaaS.

Time the test so the loop fits the period

Scope is only half of Type 2 planning. Timing is the other half.

Work backwards from the end of the audit window:

  1. Leave time to fix what you find. Open high-severity findings close to the end of the period are harder to explain. Baker Tilly lists high-severity vulnerabilities left unaddressed for long periods, and missing remediation plans, as common delays.
  2. Leave time to retest. A retest that confirms the fixes worked is part of the evidence. If the first test sits in the last week of the period, you may run out of time.
  3. Confirm the date your CPA firm expects. Some firms want to see the test completed, and the issues treated, inside the period. Do not assume a test from the previous year will do.

If the product will change significantly during the period (a new authentication system, a major cloud migration, a new data store), say so in the scoping call. A test run only before that change may not represent the system the auditor is reviewing for the rest of the window. A second, narrower test after the change can be more useful than one early test you cannot update.

Do not confuse a scan with the test you will be asked about

Automated scanning belongs in a routine security program. It is not a replacement for a penetration test if an auditor or a customer is expecting one. Baker Tilly is clear that a pentest adds the manual validation and exploitation that shows what a weakness actually exposes.

The Trust Services Criteria list both vulnerability scans and penetration testing as examples of evaluations management may use under CC4.1. They are examples of different activities, not two names for the same one. Our guide to penetration tests versus vulnerability scans explains the difference.

Ask the tester which methodology they follow. Publicly available references include the OWASP projects above and NIST's SP 800-115.

What evidence to keep for Type 2

A pentest helps the audit only if you can show the full loop. Keep:

  • The statement of scope, including dates, environments, and what was out of bounds
  • The final report, with methodology and findings ranked by risk
  • Remediation tickets or change records for each finding you treated
  • Retest results that show which issues were confirmed fixed, and which remain open
  • A short record of any accepted risk, with who approved it

That package is what an auditor can sample. A report on its own, especially one with untreated critical findings, is weaker evidence. For the document itself, see what a penetration test report includes. When a customer wants proof that testing happened without the full findings list, a letter of attestation is often the safer share.

If you are still mapping tests to criteria, our GRC and compliance service can help.

FAQ

Does a SOC 2 Type 2 report require a penetration test?

Not explicitly. The criteria list penetration testing as one example of how you can evaluate controls. In practice, your policy, your auditor, or your customers may still expect one, and Type 2 delays often come from missing proof that meaningful testing happened within the period.

How is Type 2 scope different from Type 1 scope?

The systems in the boundary are often the same. The difference is the period. For Type 2, the test should represent the system during that window, and the evidence of testing, treatment, and retest should fall inside it whenever you can arrange that.

Do we need to test every system in the company?

No. Focus on the systems inside your SOC 2 scope, including the external attack surface that could affect those services. Broader testing can strengthen your program, but it is not automatically required for the report.

When should we schedule the pentest in a 12-month Type 2 window?

Early enough to fix findings and complete a retest before the period ends. Confirm the timing your CPA firm expects before you book the work. A test in the last days of the window leaves little room to close the loop.

Is a vulnerability scan enough for Type 2?

Usually not, if a customer or auditor is expecting a penetration test. Scans are a useful routine activity. A pentest adds manual validation and exploitation to show what a weakness actually exposes.

Talk it through

If you are lining up a Type 2 window and want a second view on scope or timing, we are happy to talk it through. Book a free 15-minute call through our contact page or email zayan@axrok.com, and we can help you see whether a penetration test fits your audit period.

Sources

  • penetration testing
  • SOC 2
  • compliance

Want this looked at in your environment?

Book a free 15-minute call. A founder reads every enquiry and replies personally.