Get scans
This operation returns the list of the scans performed by the current user, together with their status.
Request
Parameters |
---|
Get the list of scans. The value is |
Limit the number of returned scans. |
Only show scans from this workspace. |
Only show scans from this target. |
{
"op": "get_scans",
"limit": 4,
"workspace_id": 5425246
}
Response
Attributes |
---|
The status of the operation. The value can |
The list of scans for the current user. Returned in case of a successful operation. |
Error message. Returned in case of a failed operation. |
{
"op_status": "success",
"scans": [
{
"scan_id": 456234,
"scan_status": "running"
},
{
"scan_id": 456235,
"scan_status": "finished"
},
{
"scan_id": 456236,
"scan_status": "waiting"
},
{
"scan_id": 456237,
"scan_status": "stopped"
}
]
}