Skip to content

Set scope and give the tester context

A test that knows your application goes deeper. Say whether the hostname is production or staging, which parts to test, which paths to leave alone and what the tester should know, and attach your API specification.

Open the scope form

  1. Sign in to the portal and find the hostname under Hostnames to test.
  2. Press Scope, notes for the tester and API spec. The form opens under the heading Scope and context.
  3. Fill in what applies. Every field is optional except Which parts, which appears when you test specific parts only.
  4. Press Save scope. The form answers: Saved. It applies to the next test.
  • Each hostname has its own scope.
  • A manager or an admin can save it. A viewer cannot.
  • A saved scope is used by the next test that starts. A test already running keeps the scope it started with.

Environment and parts

  • This hostname is: choose Production: prove each finding the gentlest way, or Staging: built for testing. A new hostname is treated as production.
  • On production the test is told to prove each finding with the least intrusive request, to change nothing it cannot undo and to create no data it cannot remove.
  • Test: choose The entire application or Specific parts only.
  • Which parts: shown for Specific parts only. Describe them in plain words, in 3 to 1,000 characters, for example: The /billing pages and the invoices API. The test spends its effort there.

Paths to leave alone

Paths to leave alone, one per line, lists places the test stays out of. Each one becomes a block rule on your hostname, so requests to that path and anything under it are stopped before they are sent.

  • Up to 20 paths.
  • Each starts with a slash, for example /admin/danger-zone or /api/payments/charge, and is up to 200 characters.
  • A lone slash is refused, because it would exclude the whole site.
  • Lines or commas both separate paths.

Domains your app depends on

Testing is limited to the hostname you verified. If your application signs in through, or loads assets and data from, another domain, list it under Domains your app depends on, one per line. The test may load those domains when the application needs them and is told not to attack them.

  • Up to 10 domains.
  • Each is a public domain name, for example auth.yourcompany.com or cdn.yourcompany.com.

Notes for the tester

Notes for the tester holds up to 2,000 characters of what a new colleague would need to hear. The test reads the notes before it plans, and treats behaviour you describe as intended as no finding.

  • Design decisions: Admins can see every user's data by design.
  • How tenants are separated: Tenants are separated by the X-Org header.
  • Anything timed: The export job runs nightly.

Upload an API specification

With a specification the test reads your API first and tests every operation it lists. The upload sits at the foot of the form, under API specification (OpenAPI or GraphQL, up to 2 MB), and saves on its own.

  1. Choose the file. Accepted types are .json, .yaml, .yml, .graphql, .gql and .txt.
  2. Press Upload.
  3. Check that the file name now shows in place of the file picker.
  4. To replace it, press Remove next to the name and upload the new file.
  • One specification per hostname, up to 2 MB.
  • A larger file answers: That file is over 2 MB. Upload the OpenAPI or GraphQL file on its own.
  • An empty file or another file type is refused and deleted.

More repositories

The main repository of a hostname is set under the codebase link above the form. More repositories, one per line, adds up to three more, each written as https://github.com/owner/name. A private repository is read through your GitHub connection, so share it with the app in GitHub first. Any other is fetched as a public repository. The source guides the test, and traffic still goes only to your hostname.