Scan
The Scan endpoint allows you to launch scans, get details about scans, and list/cancel scans that currently in progress.
Get a list of scans.
GET
https://api.halosecurity.com/api/v1/scan/list.json
Returns a paginated list of scans.
https://www.halosecurity.com/user/security/targets/scanning
Query Parameters
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 the details of a scan.
GET
https://api.halosecurity.com/api/v1/scan/get.json
Returns the details of a scan.
https://www.halosecurity.com/user/security/targets/scanning
Query Parameters
scan_id*
String
Launch a scan on a given target.
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
https://www.halosecurity.com/user/security/targets/scanning
Query Parameters
target_d*
Integer
Get a list of active scans.
GET
https://api.halosecurity.com/api/v1/scan/inprogress-list.json
Returns a paginated list of active scans.
https://www.halosecurity.com/user/security/targets/scanning
Query Parameters
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
Cancel a scan that is currently in progress.
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
https://www.halosecurity.com/user/security/targets/scanning
Query Parameters
scan_id
String
Last updated