Skip to main content

Web Scans

Web Scans check websites and web applications for common weaknesses, such as misconfigurations, missing security headers, injection flaws and out-of-date components.

Web Scans list

Start a Web Scan​

  1. Open Scans › Web Scans and select + New Scan.
  2. In the Web Application Scan Manager, fill in:
FieldWhat to enter
URLsFull address of each site, starting with http:// or https://.
Scan frequencyOne-Off, Daily, Weekly, Fortnightly, Monthly or Quarterly.
Start date & timeWhen the scan (or the first run of a schedule) starts, in your profile time zone.
Schedule nameFor recurring scans: a name you will recognise in the list.
Organization / SiteWhere the results belong.
ScannerOnly shown if your organisation has its own dedicated scanner.
Scan profileStandard, or Deep (JavaScript crawling, stronger attacks, takes 2-3x longer).
How the scan logs inWhether and how to scan as a signed-in user. See Scan logged-in pages.
Route for this scanWhich addresses the scan comes from. Leave the default unless you have set up another route. See Scan network.
  1. Select Run Scan.

Standard or Deep?​

  • Standard suits most sites and is the best first scan.
  • Deep follows links built by JavaScript (common in single-page apps) and runs stronger tests. Use it when Standard finds few pages, or for a more thorough check before a release. Deep scans can send more requests to your site; consider running them outside business hours.

Scan logged-in pages​

Many applications hide most of their pages behind a sign-in. To test those pages, give the scan a login.

In the scan form, under How the scan logs in, choose:

  • Use this site's saved login: uses the login saved for the site (see below).
  • No login (public pages only): scans only what an anonymous visitor can see.
  • Enter a login for this scan (or for this schedule): enter credentials just for this scan.

A login uses one of two methods:

  • Login page (username and password)
  • Fixed header or token

If your site needs something done before the login, add it under Steps before login (optional).

If a site's bot protection blocks the scan from logging in, the scan tells you. Allow-list xSPECTRE's scanning addresses in that protection and run the scan again. See Scan network.

To save a login for a site, an administrator goes to Settings › Scan network › Logged-in scanning and chooses a method.

Use a test account

A logged-in scan submits forms and can change that account's data. Always use a dedicated test account, never a real user's or an administrator's account.

Scan an API​

Use API definitions to scan an API from an OpenAPI / Swagger definition or a GraphQL endpoint. API definitions can also be added under Settings › Scan network so APIs are tested more thoroughly.

While it runs​

The scan shows as In progress with a percentage and stage: Queued, Starting scan, Crawling site, Crawling JavaScript pages, Active scanning, then Saving results.

To end a scan early, select Stop. Results found so far are kept.

Results appear in the scan's Scan Detail page and in Vulnerabilities. The list also shows a count of informational results, which are kept separate from vulnerabilities.

Tips for good results​

  • Allow-list xSPECTRE's scanning addresses in your WAF or firewall. Blocked requests mean missed findings. Every scan request carries an X-xSPECTRE-Scan-ID header so you can identify it in your logs.
  • Scan your staging site before release, and production on a schedule.
  • If you see Failed with code XS-TGT-301 ("We could not reach your website"), check the site is online and reachable from the internet. See Troubleshooting.