Skip to content

Scan targets Since v0.2 ​

A scan target is a web application the assessment feature may scan, whether or not this product protects it: a test copy behind us, behind another product, or on its own. Targets live in the versioned configuration (scan_targets), so they are audited, can be rolled back and follow a high-availability pair.

A target must be a test copy

Scans send real attacks. Nothing can scan a target until A test copy that may be scanned is on. New targets start refused.

Before you begin ​

  • Role: global administrator. Others cannot see or change targets.
  • Install the scanners (Assessments shows how) so the target has something to run.
  • Targets are a newer configuration format (format 3). The active node refuses to save a configuration that has targets until the standby also runs this release. Upgrade the standby first.

Add a scan target ​

The table lists every target. Select Edit on a row to open it below the table, one at a time. The settings are split into the tabs Basics, Scope, What to scan, Login, Limits and Autonomous agent. A tab label says when something on it needs attention, for example "Basics (2 to fill in)". Settings used less often sit under More settings.

text
1. Open Security testing > Scan targets.
2. Add a target with the add control below the table.
3. On Basics, enter a Name and the Address to scan, and turn on
   A test copy that may be scanned.
4. Optionally set Scope, What to scan, Login and Limits.
5. After the target is applied, set the login secret on the Login tab.
6. Select Preview changes, add a comment and select Apply.
sh
waap assess target add -dry-run -name shop-uat -url https://shop.test.example/ -allow-scan=true -app shop
waap assess target add -m "UAT shop" -name shop-uat -url https://shop.test.example/ -allow-scan=true -app shop
printf '%s' "$PASSWORD" | waap assess login -target shop-uat -password-stdin
yaml
# scan_targets[] in the configuration
- name: shop-uat
  url: https://shop.test.example/
  allow_scan: true
  application: shop

Preview shows the change before it is applied. Apply makes a new configuration version. Removing a target also removes its stored login. Other commands: waap assess target update|remove|set|get.

Settings reference ​

Basics ​

SettingWhat it doesDefaultAllowed valuesApplies in
Name (name)Identifies the target.nonelowercase letters, digits and dashesall
Address to scan (url)Where scans start.nonehttp or https, optional port and path; no user, query or fragmentall
A test copy that may be scanned (allow_scan)Allows scans.offon, offall
Note shown before scanning (note)Says what this copy is; shown in every scan's confirmation.nonetextall
Linked application (application)One of this product's applications that protects the target. Empty: scanned on its own.nonean application nameall
Most a scan may prove (evidence_level)Evidence level. Replay confirmation is not in this version, so confirmed is stored for later and every finding stays reported.reportedreported, confirmedall

Read-only demonstration is not available and is refused.

Scope ​

SettingWhat it doesDefaultAllowed valuesApplies in
Other host names in scope (scope_hosts)Host names the scan may request besides the address's own, which is always in scope.nonehost namesall
Connect to (address)Reaches a test copy by IP address while the scan still sends the right host name.nonehost:portall
Check the server certificate (tls_verify)Verifies the target's certificate. Turn off only for a self-signed test copy.onon, offhttps targets
Health check path (health_path)Fetched before a scan; the scan refuses to start when it cannot be reached./pathall
Paths never requested (exclude_paths)The scan gateway refuses these. List logout, reset and other destructive pages.nonepaths, a trailing * matches a prefixall

What to scan ​

SettingWhat it doesDefaultAllowed valuesApplies in
Scanners (engines)Which scanners run. testssl alone checks only the TLS setup of an https target.all installednuclei, zap, katana, dalfox, sqlmap, testsslall
Starting URLs (seeds.urls)Paths, with an optional query. Single-page applications need these, because the crawler does not run JavaScript.nonepathsall
OpenAPI descriptions (seeds.openapi)Paths on the target that serve an OpenAPI description.nonepathsall
OpenAPI description files (seeds.openapi_files)Absolute paths on the control node, for an API that does not serve its description.noneabsolute pathsall
GraphQL endpoints (seeds.graphql)The schema is read through introspection.nonepathsall

Login ​

The tab shows only the fields of the chosen Login type.

SettingWhat it doesDefaultAllowed valuesApplies in
Login type (auth.type)How the scan signs in.nonenone, form, json, cookie, headerall
Login path (auth.login_path)Where the form or JSON login is posted.nonepathform, json
Username (auth.username)The test account.nonetextform, json
Username field, Password field (auth.username_field, auth.password_field)Names of the form fields.nonetextform, json
Token field (auth.token_field)form: a hidden field to send back, such as a CSRF token. json: the answer member that holds the token.nonetextform, json
Other login fields (auth.fields)name=value fields sent with the login. Not for secrets.nonelistform, json
Cookies always sent (auth.cookies)name=value cookies added to every request. Not for secrets.nonelistall
Header name (auth.header)The request header that carries the stored value.noneheader nameheader
Page that needs the login (auth.check_path)Fetched after login. A redirect or error means the login failed, and the scan refuses to run unauthenticated.nonepathany login type except none

The login secret is write-only. It is never shown again and never appears in a report or log.

Limits ​

SettingWhat it doesDefaultAllowed valuesApplies in
Scan depth (limits.profile)Time and request budget.standard for scan targetsquick (8 minutes, 8,000 requests), standard (15, 20,000), deep (60, 100,000)all
Requests per second (limits.rate)Overrides the depth's value.the depth's valueat most 200all
Requests at once (limits.concurrency)Overrides the depth's value.the depth's valueat most 32all
Most requests per scan (limits.requests)Overrides the depth's value.the depth's valueat most 200000all
Longest scan (limits.duration)Overrides the depth's value.the depth's valueat most 4hall

Limits ​

The ceilings above are hard limits. Lower Requests per second for a slow application.