Skip to content
VITI Security

How to Scope a Penetration Test: The Questions a Good Tester Asks

by VITI Security TeamNov 27, 2026

A practical scoping guide: what to list, what to exclude, and the questions a competent tester will ask before quoting your penetration test.

How to Scope a Penetration Test: The Questions a Good Tester Asks - VITI Security

Scoping a penetration test means writing down exactly what will be tested, how, when and by whom, before anyone sends a single request. A good scope names every asset, every user role and every exclusion, and it sets the testing window and the emergency contact. Most disappointing pentests fail at this step, not during testing: the tester spends days on the wrong system, or the one application that matters is left out because nobody listed it.

Start with the reason for the test

Before listing assets, write one sentence on why you are testing. "A client questionnaire asks for an annual third-party test of our customer portal" leads to a very different scope from "We want to know if an attacker on our office Wi-Fi can reach the finance share."

The reason decides the target, the depth and the report format. A compliance-driven test needs evidence a reviewer will accept. A risk-driven test needs depth on the paths an attacker would actually use. Telling the tester which one you need saves both of you a round of revisions.

List the assets by name

Vague scopes produce vague quotes. Give the tester a list they can count.

  • Web applications: every URL, including admin panels and staging copies you want tested.
  • APIs: the base URLs and, if you have one, the OpenAPI or Swagger file.
  • External network: public IP addresses and ranges, plus any hosted services such as a VPN gateway.
  • Internal network: subnets in scope and how the tester will connect, for example a small device shipped to your office or a VPN account.
  • Cloud: account or subscription IDs and which services are in use.
  • Mobile apps: the store links or build files for iOS and Android.

The questions a good tester will ask you

If a firm quotes without asking most of these, the quote is a guess. Prepare the answers in advance and the scoping call takes twenty minutes instead of a week of emails.

  • How many user roles exist, and can you create a test account for each?
  • Is testing on production, staging or both? Is staging a faithful copy?
  • Are there third-party services in the path (payment gateways, hosted login, CDNs) that you do not own?
  • Are any systems fragile, such as an old server that falls over under load?
  • What hours can testing run, and is there a change freeze to avoid?
  • Who is the emergency contact if the tester finds something critical or breaks something?
  • Do you need the findings mapped to a framework such as SOC 2, ISO 27001 or PCI DSS?

Write the exclusions down too

Exclusions protect you and the tester. Typical ones are denial-of-service testing, social engineering of named staff, physical access, and any system owned by a third party who has not given written permission. Cloud providers publish their own rules for what customers may test; check them for the platforms you use.

If something is out of scope today but worth testing later, note it in the scope document as deferred. It becomes the start of next year's scope instead of a forgotten gap.

Agree the testing type and the rules of engagement

Decide whether the tester gets credentials and documentation (grey or white box) or starts from nothing (black box). For most small and mid-sized companies, grey box gives the most findings per day of testing because the tester skips the guessing.

Then put the rules of engagement in writing: dates, source IP addresses the tester will use, how critical findings are reported mid-test, and written authorisation from someone who owns the systems. That authorisation is what separates a penetration test from an attack.

A worked example: scoping a customer portal test

Here is how a typical scope comes together for a small accounting software company with one customer portal. The purpose: a client asked for an annual third-party test of the portal where firms upload financial documents. The assets: the portal at its production URL, its API, and the admin panel used by support staff. The staging copy is excluded because it runs an older release.

The roles: firm owner, firm staff member, and support admin, with two test accounts for each so the tester can check whether one firm can see another firm's files. The environment: production, during business hours in the company's time zone, with uploads limited to test files the tester provides. The exclusions: denial-of-service testing, the third-party payment page, and social engineering of staff.

The testing type is grey box, with the API's OpenAPI file shared on day one. Critical findings go to the CTO by phone and email within an hour. One retest round is included within 60 days of the report. Written down, that is less than a page, and every quote you receive against it will be priced on the same work.

Common scoping mistakes

A few errors account for most scoping problems. Leaving out the API because "it is part of the app" means the tester only sees what the interface calls. Providing one account per role makes it impossible to test whether one customer can read another's data. Forgetting the admin panel leaves the most powerful part of the application untested. And agreeing a window that overlaps a release means the tester may be testing code that changes under them halfway through.

A one-page scope template

A good scope fits on a page: purpose, assets in scope, roles and test accounts, environment, exclusions, testing type, testing window, contacts, reporting format and retest terms. If you want a reference for what the finished report should look like, read our sample VAPT report, or see how we run engagements on the VAPT services page.

Frequently asked questions

What should a pentest scope include?

Why you're testing, the named assets, user roles and test accounts, the environment, exclusions, the type of test, dates and hours, emergency contacts, the report format and the retest terms.

Production or staging?

Staging is safer if it truly mirrors production; if it doesn't, findings there may not apply to the live system. Many teams test staging thoroughly and do a lighter, coordinated pass on production.

Who has to authorise the test?

Someone with authority over the systems, in writing. For hosted or third-party systems you may also need the provider's permission, or to follow their published testing policy.

How long does scoping take?

With your asset list and roles ready, the call is usually 20 to 30 minutes and the written scope follows within a day or two.

Send us your scope, or let us help write it

Share your asset list and we will turn it into a one-page scope with tester days, exclusions and retest terms.