Search
Close this search box.
SOCReporting Guide

Web application and API penetration testing: defining the right scope

Vulnerability assessment and penetration testing guide

A penetration test can cover your public website and still miss the application your customers use. That distinction matters when you’re collecting evidence for a SOC audit.

Start with the service the report will cover. Which application delivers it, what information does it handle, and how do customers use it? Then ask about the APIs and connected systems behind those screens. Those answers help you arrange useful testing and leave time to address the results.

Do we actually need a penetration test?

A penetration test can help show whether weaknesses in an application could put customer information or important functions at risk. Whether you need one, what it should cover, and when it should happen depend on your risks, controls, commitments, and any specific contractual requirements. Don’t assume every SOC 2 engagement calls for the same testing package.

Before buying a test, ask your audit team what evidence it expects for the controls in scope. Have your technical team explain what testing already exists and what it covers. Your organization still owns the decision about how to manage the risk; the auditor evaluates the evidence.

Which application are we talking about?

Your public website may mainly describe your company. The application behind a customer login may store records, process requests, or let customers download files. Testing the public website alone may leave the service being audited largely untouched.

“But it’s all under the same company name.” It can still be different software, hosted in different places and maintained by different teams. Ask someone to show you the actual customer journey, from sign-in through the work the customer needs to complete.

A signed-in application view connects to separate API and data-service components.
Define the application, API routes, user roles and business workflows included in the agreed test.

What is an API, and do we have one?

An API is a way for software systems to exchange information or request actions. A mobile app might use one to retrieve account details. Your customer portal might use another to send an order to a billing system. You don’t need to learn how to test an API, but you do need to know whether those connections are part of the service.

  • Which parts of the application can customers use through a browser, mobile app, or integration?
  • Can the same information or action be reached through an API?
  • Does the planned test cover those routes, including the permissions for different types of users?

For example, a customer should only be able to retrieve their own records, whether they use the screen or an API. A successful sign-in tells you who the person is. It does not, by itself, show that the application limits what they can see or change.

What else does the application connect to?

Ask the application owner to sketch the important connections. These might include the company’s sign-in service, payment processor, document storage, support tools, or other systems that receive customer information. For each connection, ask what data moves, what access it has, and who is responsible for securing it.

This does not mean your tester should test every connected provider. Some connections call for testing your own integration or configuration. Others call for reviewing the provider’s relevant assurance reports and your responsibilities under them. Agree on the evidence needed for each important dependency, and get permission before any testing.

What should the testing provider confirm?

Give this checklist to your technical owner and testing provider. Ask them to resolve the details together:

  • Application coverage: customer and administrative screens, APIs, mobile back ends, integrations, and older interfaces still in use.
  • User coverage: ordinary users, administrators, support access, and service accounts where relevant.
  • Customer separation: whether one customer’s information and actions are kept separate from another’s. Use authorized test accounts and approved test data.
  • Important workflows: approvals, account recovery, invitations, exports, and other sensitive actions.
  • Limitations: excluded features, unavailable user roles, and differences between a test environment and production.

If the proposal refers to OWASP, ask which relevant parts of its testing guidance will be used. A named methodology helps explain the approach; it does not tell you that every feature has been checked.

What do we keep for the audit?

  • The agreed scope and the dated report, including the application version, environment, methods, and limitations.
  • A record of the findings, their business impact, responsible owners, and planned completion dates.
  • Evidence of corrections and any retest results, linked to the original findings.
  • Documented decisions about items that remain open, including temporary safeguards and accepted risk.

A finding is something to evaluate and address, not an automatic verdict on your SOC report. Share significant issues with the audit team early and explain what happened, what you changed, and what evidence is available. “Fixed and retested” should remain distinguishable from “a fix is planned.”

Your next step is simple: identify the application owner, confirm which service is in the audit, and compare the proposed test with the customer journey. Agree when testing, corrections, and any retesting need to be completed for your audit. Buying the report is only part of being ready.

Sources and further reading

For audit context, see AICPA SOC resources. For technical scoping, see the OWASP Web Security Testing Guide and OWASP API Security Top 10. The checklist above is practical planning guidance, not an additional set of SOC requirements.

Leave a Reply

Popular SSAE Resources