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
Name | Type | Description |
---|---|---|
sort | Integer |
= scan id (default) |
sort_desc | Integer |
|
type | string |
|
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
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
sort | Integer |
= created date (default) |
sort_desc | Integer |
|
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
Name | Type | Description |
---|---|---|
scan_id | String |
Last updated