Skip to content

Prepare for your first test

Ten minutes of preparation buys a deeper test. This checklist covers which environment to point at, which accounts to create, and the settings that let the test see what your users see.

What you need

A test needs four things from you: a public hostname, a way to prove you control it, a person with the authority to sign for testing, and accounts the test can sign in with. Everything else on this page makes the result better.

  • A public hostname for the application, for example app.yourcompany.com or staging.yourcompany.com.
  • Access to the DNS for that hostname, or the ability to publish one small file on the site.
  • A signer: someone who can authorize security testing on behalf of your organization.
  • Test accounts made for testing, one per role you want covered.

Staging or production?

A staging environment that mirrors production is a strong first target: the same code and the same roles, with no customer data at stake. It has to answer on the public internet at a hostname you control, because the test comes from outside your network.

Production is the system your customers use, and the certificate names the hostname that was tested. If you test production, pick testing hours that suit your traffic and start at the Gentle request rate. You can raise the rate while the test runs.

Tell the test which one it is: open Scope, notes for the tester and API spec on the hostname and set This hostname is to Production or Staging. A production test proves each finding the gentlest way.

The choice is yours. Many teams test staging first, fix what turns up, then run production.

The checklist

  1. Choose the hostname. One hostname per application. Each hostname is verified, signed for and tested on its own, and test traffic stays on that exact hostname.
  2. Take a backup. Testing sends real attack traffic at a live system. Confirm the backup of the data behind the hostname is current and that you know how to restore it.
  3. Create test accounts. Use accounts made for testing, never a real person's login. One role is included on any order. With the multiple-roles option you can add up to four, and the test plays each pair of roles against each other.
  4. Cover two roles and two tenants. The most valuable set is an admin and a standard user in one tenant, plus a user in a second tenant. That is how the test finds one customer reading another customer's data.
  5. Give each account something to protect. Add a few records to each one: an invoice, a project, a document. Access control flaws show up when there is data on both sides.
  6. Allow the test through your WAF or bot filter. Every test request carries the User-Agent grapefruit-pentest/1.0. Add a rule that allows that header, so the test sees what your users see.
  7. Check your providers' terms. If your hosting, cloud, CDN or WAF provider asks for notice or permission before security testing, arrange it before you start.
  8. Tell whoever is on call. Share the testing window so alerts from the test are recognized for what they are.
  9. Run the connectivity check. In the portal, open Speed, testing hours and firewall settings on the hostname and press Check we can reach, followed by your hostname. It confirms the test runner can reach the site.

Optional: connect your code

You can attach a repository to a hostname for deeper, whitebox testing. Open Connect a codebase for deeper, whitebox testing on the hostname. Press Connect GitHub for private repositories and choose one, or paste an address under Public repository URL (optional, whitebox) and press Save. Access to your code is read-only, you pick the repositories in GitHub's own installer, and you can revoke it in GitHub at any time. The source guides the test. Traffic still goes only to your verified hostname.

What happens next

Add the hostname in the portal, prove you control it, sign the testing authorization and pay. The test then starts on its own. Findings appear in the live view as they are confirmed, and the certificate for a full test is released after a security expert reviews it.