Skip to content

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.

Terminal window
av dast jobs [flags]

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.

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)

Show a project’s scan-run history:

Terminal window
av dast jobs --project <projectId>

Get the history as JSON, for scripting or piping into jq:

Terminal window
av dast jobs --project <projectId> --json

Write a shareable HTML report to ./reports/dast-scan-jobs.html:

Terminal window
av dast jobs --project <projectId> --export ./reports
Code Meaning
0 Scan history listed (or exported), even when it is empty
1 Not logged in, missing --project, or the API request failed