Home / Help centre / Scan profiles
Scan profiles
How do I exclude a URL path or subdomain from a scan?
On the Scope section, find Avoid rules and click + Add rule. Pick Url Path or Subdomain as the type, enter the value to skip, and click Save. Future scans from that profile stay away from it.
Steps
- Open the profile. Edit a profile with the pencil icon in Scan Profiles, or start a new one.
- Find Avoid rules. Scroll down the Scope section to Scope rules. The second block is Avoid rules.
- Add a rule. Click + Add rule under Avoid rules.
- Pick the type. Set Type to Url Path for a section of the site, or Subdomain for a whole host.
- Enter the value. Type the path or subdomain, add a short Description, and click Save.
Good to know
Typical things to exclude are an admin area you do not own, a payment page with real transactions, or a third-party host that sits on your domain. Only keep a path out of scope when you have a reason, since it also hides any weakness behind it. Write the reason in the Description so a colleague understands the choice months later.
| Field | What to enter |
|---|---|
| Type | Url Path or Subdomain (Domain also exists for a whole domain) |
| Value | The path or host to keep out, such as /internal |
| Description | A note on why it is excluded |
Avoid rules steer the scan. They are not a safety guarantee on their own, so pair them with clear rules of engagement and, in production, switch off the exploitation phase if you want no live tests. See how to add rules of engagement.
You can delete a rule later with the trash icon on its row, and the next scan will cover that area again. A subdomain rule is handy for a test host or a marketing site that shares your domain but is not part of the app. Need help choosing? Use /contact.
Related questions
- What's the difference between focus rules and avoid rules?
- Which rule types can I use in focus and avoid rules?
- How do I add a focus rule so a scan concentrates on certain paths?
- How do I delete a focus or avoid rule?
- How do I stop a scan from testing a certain HTTP method?
How to set focus and avoid rules on a scan profile
Step-by-step, with annotated screenshots.
Updated · Back to the help centre
Still stuck?
Tell us what you see on screen and an engineer will help you sort it out.