Scans
Get a scan's audit summary
⚠️ Beta endpoint: behavior and schemas are subject to change.
Return the audit summary for a scan. Always 200 when the scan and its audit row exist — the summary's summary_status tells you whether the data is final (done), still being computed (pending), or failed (failed).
get/v1/scans/{scan_id}/audit
Path parameters
scan_idstring uuid required
Example:3635820f-0dad-4d1e-95aa-4b0aac1aa231
The id of the scan to retrieve the audit summary for.
Response
Scan Audit Summary
Example response
{
"summary_status": "done",
"monitoring_type": "historical",
"duration_seconds": 42,
"pending_seconds": 5,
"elements_scanned": 1523,
"elements_skipped": 12,
"data_downloaded_bytes": 10485760,
"data_scanned_bytes": 8388608,
"secrets_by_severity": {
"critical": 1,
"high": 2
},
"outcome_by_reason": {
"skipped": {
"unsupported_extension": 3
},
"failed": {
"internal_error": 1
}
},
"ended_at": "2024-06-01T10:00:00Z",
"rolled_up_at": "2024-06-01T10:05:00Z"
}