av dast jobs
Show a project’s DAST scan-run history - one row per run with its mode, target, REDYELLOWGREEN counts, and when it started.
Synopsis
Section titled “Synopsis”av dast jobs [flags]Description
Section titled “Description”av dast jobs lists the DAST scan runs recorded for a project, one row per
run. You must be logged in (av login), and --project is required.
The table shows STARTED (as YYYY-MM-DD HH:MM), MODE (Passive or
Active), TARGET (the scanned URL), the RED / YELLOW / GREEN finding
counts, and the SCAN ID.
--json prints the raw JSON payload instead of the table. --export writes
the result to disk: a styled, self-contained HTML report, or the raw JSON when
combined with --json. Pass a directory to get dast-scan-jobs.html (or
.json) inside it, or a path with an extension to name the file yourself.
Options
Section titled “Options”| Flag | Default | Description |
|---|---|---|
--project |
- | Project ID (required) |
--json |
false |
Output raw JSON instead of a table |
--export |
- | Export to a directory or file (HTML; raw JSON with --json) |
Examples
Section titled “Examples”Show a project’s scan-run history:
av dast jobs --project <projectId>Get the history as JSON, for scripting or piping into jq:
av dast jobs --project <projectId> --jsonWrite a shareable HTML report to ./reports/dast-scan-jobs.html:
av dast jobs --project <projectId> --export ./reportsExit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
0 |
Scan history listed (or exported), even when it is empty |
1 |
Not logged in, missing --project, or the API request failed |
See also
Section titled “See also”av dast scan- run the scans this command reports onav dast findings- pull the consolidated findings the server holds for a projectav dast targets- list a project’s registered scan targets