Appearance
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-stdinyaml
# scan_targets[] in the configuration
- name: shop-uat
url: https://shop.test.example/
allow_scan: true
application: shopPreview 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
| Setting | What it does | Default | Allowed values | Applies in |
|---|---|---|---|---|
Name (name) | Identifies the target. | none | lowercase letters, digits and dashes | all |
Address to scan (url) | Where scans start. | none | http or https, optional port and path; no user, query or fragment | all |
A test copy that may be scanned (allow_scan) | Allows scans. | off | on, off | all |
Note shown before scanning (note) | Says what this copy is; shown in every scan's confirmation. | none | text | all |
Linked application (application) | One of this product's applications that protects the target. Empty: scanned on its own. | none | an application name | all |
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. | reported | reported, confirmed | all |
Read-only demonstration is not available and is refused.
Scope
| Setting | What it does | Default | Allowed values | Applies in |
|---|---|---|---|---|
Other host names in scope (scope_hosts) | Host names the scan may request besides the address's own, which is always in scope. | none | host names | all |
Connect to (address) | Reaches a test copy by IP address while the scan still sends the right host name. | none | host:port | all |
Check the server certificate (tls_verify) | Verifies the target's certificate. Turn off only for a self-signed test copy. | on | on, off | https targets |
Health check path (health_path) | Fetched before a scan; the scan refuses to start when it cannot be reached. | / | path | all |
Paths never requested (exclude_paths) | The scan gateway refuses these. List logout, reset and other destructive pages. | none | paths, a trailing * matches a prefix | all |
What to scan
| Setting | What it does | Default | Allowed values | Applies in |
|---|---|---|---|---|
Scanners (engines) | Which scanners run. testssl alone checks only the TLS setup of an https target. | all installed | nuclei, zap, katana, dalfox, sqlmap, testssl | all |
Starting URLs (seeds.urls) | Paths, with an optional query. Single-page applications need these, because the crawler does not run JavaScript. | none | paths | all |
OpenAPI descriptions (seeds.openapi) | Paths on the target that serve an OpenAPI description. | none | paths | all |
OpenAPI description files (seeds.openapi_files) | Absolute paths on the control node, for an API that does not serve its description. | none | absolute paths | all |
GraphQL endpoints (seeds.graphql) | The schema is read through introspection. | none | paths | all |
Login
The tab shows only the fields of the chosen Login type.
| Setting | What it does | Default | Allowed values | Applies in |
|---|---|---|---|---|
Login type (auth.type) | How the scan signs in. | none | none, form, json, cookie, header | all |
Login path (auth.login_path) | Where the form or JSON login is posted. | none | path | form, json |
Username (auth.username) | The test account. | none | text | form, json |
Username field, Password field (auth.username_field, auth.password_field) | Names of the form fields. | none | text | form, 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. | none | text | form, json |
Other login fields (auth.fields) | name=value fields sent with the login. Not for secrets. | none | list | form, json |
Cookies always sent (auth.cookies) | name=value cookies added to every request. Not for secrets. | none | list | all |
Header name (auth.header) | The request header that carries the stored value. | none | header name | header |
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. | none | path | any login type except none |
The login secret is write-only. It is never shown again and never appears in a report or log.
Limits
| Setting | What it does | Default | Allowed values | Applies in |
|---|---|---|---|---|
Scan depth (limits.profile) | Time and request budget. | standard for scan targets | quick (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 value | at most 200 | all |
Requests at once (limits.concurrency) | Overrides the depth's value. | the depth's value | at most 32 | all |
Most requests per scan (limits.requests) | Overrides the depth's value. | the depth's value | at most 200000 | all |
Longest scan (limits.duration) | Overrides the depth's value. | the depth's value | at most 4h | all |
Limits
The ceilings above are hard limits. Lower Requests per second for a slow application.
Related
- Assessments
- Pentest agent (the Autonomous agent tab)
- Accounts and roles