Add the target
1
Open DAST and choose Add target
Enter the URL a scan should start from, for example
https://staging.example.com or https://staging.example.com/app.2
Read the first result
TRUSTIVAN loads that one page, without credentials, and records what the
response shows. This is a passive check: it
sends nothing an ordinary visitor would not.
http or https. It may not contain a username or password,
a query string or a fragment, and its host may not be a private, loopback or
link-local address. The scope of every scan is the URL’s origin: its
scheme, host and port. https://staging.example.com and
https://staging.example.com:8443 are two targets, and so are the http and
https versions of one host.
With the API:
verification, which holds what to publish next.
Prove you own it
Each target has its own token. Publish it in one of two places.- DNS record
- File on the site
Create a
TXT record:The record goes on the exact host of the target. A record on
example.com does not verify staging.example.com. Use this method when
you control the DNS zone, or when the application cannot serve a static
file.POST /dast/targets/{id}/verify). The check answers immediately:
- Verified, with the method that worked. The next scan is active.
- Not verified, with the reason for each method: the record was not found,
the file answered
404, the value did not match. DNS changes can take a few minutes to be visible; check again.
The token is per target and per organization. If another organization adds the
same host, it is given a different token, and your record does not verify
theirs.
Keep the proof published
Verification is not a one-time step. Before every active scan, including scheduled ones, TRUSTIVAN looks for the token again. If it is gone, that scan is passive, the target shows as unverified with the reason, and it stays unverified until you publish the token and choose Check now. Leave the record or the file in place for as long as you want active scans. If the check gets no answer rather than a no (a DNS timeout, your site down or answering5xx), that one scan is passive and says so in a warning. The target
stays verified and the next scan checks again, so a brief outage does not turn
your scheduled scans passive.
To stop active scans of a target, remove the token.
Run an active scan
Choose Scan now on a verified target, or:GET /scans/{id} for the same thing from a pipeline. One dynamic scan per
organization can be queued or running at a time.
To stop it, choose Cancel or POST /scans/{id}/cancel. A cancelled scan
records no findings.
Schedule it
Open Schedule on the target and set it to hourly, daily or weekly. This is the same schedule every asset has (PUT /assets/{id}/schedule), and it is subject to
the same plan limits.
Remove a target
Remove deletes the target, its verification and any stored credential. Its asset, past scans and findings are kept; archive the asset to take those out of view.Permissions
These apply to API keys as well as to people.