Scan
The Scan endpoint allows you to launch scans, get details about scans, and list/cancel scans that currently in progress.
Last updated
Was this helpful?
The Scan endpoint allows you to launch scans, get details about scans, and list/cancel scans that currently in progress.
Last updated
Was this helpful?
GET
https://api.halosecurity.com/api/v1/scan/list.json
Returns a paginated list of scans.
sort
Integer
0
= scan id (default)
sort_desc
Integer
0
= No (default)
1
= Yes
type
string
current
= (default)
recent
= recent scans per target
prior
= prior scans
all
= all scans
GET
https://api.halosecurity.com/api/v1/scan/get.json
Returns the details of a scan.
scan_id*
String
GET
https://api.halosecurity.com/api/v1/scan/start.json
Launch a scan on a given target. Requires the security_scan_start
permission.
Learn about permissions: Permissions
target_d*
Integer
GET
https://api.halosecurity.com/api/v1/scan/inprogress-list.json
Returns a paginated list of active scans.
sort
Integer
0
= created date (default)
sort_desc
Integer
0
= No (default)
1
= Yes
target_id
Integer
Filter by target id
scan_id
String
Filter by scan id
GET
https://api.halosecurity.com/api/v1/scan/inprogress-cancel.json
Cancel a scan that is currently in progress. Requires the security_scan_cancel
permission.
Learn about permissions: Permissions
scan_id
String