List scan findings
Returns the findings of one scan, a page at a time, with the same filtering and sorting as GET /findings.
Only findings that have passed automated verification (verification_status = approved) are returned.
Request
GET /scans/{id}/findings
Send an API key with the read scope in the X-Api-Key header.
Path parameters
| Parameter | Description |
|---|---|
idstring, required |
Query parameters
| Parameter | Description |
|---|---|
pagenumber | The page number to retrieve. Default 1. |
limitnumber | The number of items to retrieve per page. Default 100. |
severitystring | One of critical, high, medium, low, or info. |
statestring | One of open, true_positive, false_positive, accepted_risk, resolved, or closed. |
scan_idstring | |
scan_typestring | Filter by scan type across all scans associated with the finding. One of pr or full. |
repo_urlstring | Filter by repository URL. Case-insensitive; a trailing slash or .git suffix is ignored. |
found_sincestring | Only include findings discovered on/after this ISO 8601 timestamp. |
found_untilstring | Only include findings discovered before this ISO 8601 timestamp. |
sort_bystring | One of found_at, updated_at, or severity. |
sort_orderstring | One of ASC or DESC. Default DESC. |
Responses
200 OK
| Field | Description |
|---|---|
dataarray of object, required | |
data[].string, required | Finding UUID. |
data[].string, required | Human-readable id (KEY-FD-NUMBER). |
data[].integer, required | Per-organization sequence number behind display_id. |
data[].string, required | |
data[].string, required | |
data[].string, required | One of critical, high, medium, low, or info. |
data[].string, required | One of open, true_positive, false_positive, accepted_risk, resolved, or closed. |
data[].string, required | |
data[].string, required | |
data[].string, required | |
data[].string, required, nullable | |
data[].array of string, required | |
data[].string, required, nullable | |
data[].string, required | |
data[].string, required | |
data[].string, required, nullable | Timestamp of the most recent transition to resolved (ISO 8601). Null if never resolved. |
totalnumber, required | |
pagenumber, required | |
limitnumber, required |