Devices
API Supported Endpoint Actions and Available Methods for Device APIs include:
• | Available Methods for Devices |
• | Available Filters on Devices List |
The following are available methods for Devices:
Method |
Description |
get list |
GET <URL> |
get instance details |
GET <URL><id>/ |
Available Filters on Devices List
The following are available filters on Device Lists:
Filter |
Description |
|||||||||||||||||||||
name(string) |
Name of Device |
|||||||||||||||||||||
last_scan_date__gte (int) |
Unix timestamp for the last scan date of the Device, filter type greater than or equal (seconds) |
|||||||||||||||||||||
last_scan_date__lt (int) |
Unix timestamp for the last scan date of the Device, filter type greater than or equal (seconds) |
|||||||||||||||||||||
system_score__gte (int) |
Unix timestamp for the system score date of the Device, filter type greater than or equal (seconds) |
|||||||||||||||||||||
system_score__lt (int) |
Unix timestamp for the system score date of the Device, filter type less than or equal (seconds) |
|||||||||||||||||||||
is_insecure (bool) |
Filters the insecure Device |
|||||||||||||||||||||
is_secure (bool) |
Filters the secure Device that is secure |
|||||||||||||||||||||
secure_type (int) |
Secure type of Device:
|
|||||||||||||||||||||
platform (int) |
Platform / Operating system for Device:
|
|||||||||||||||||||||
max_criticality (int) |
Maximum criticality for Device |
|||||||||||||||||||||
max_where (int) |
Maximum where for Device |
|||||||||||||||||||||
max_solution_status (int) |
Maximum solution status for Device |
|||||||||||||||||||||
system_score_ranges (int) |
Maximum score range for Device |
|||||||||||||||||||||
last_scan_status (int) |
Last scan status for Device |
Example
The following is an example of filter out a Device, where Device name is some-Device-name:
api/inventory/hosts/?name=some-Device-name