GET /qvm/saved_searches/vuln_instances/{task_id}/results/assets
Lists the Vulnerability Instances assets that are returned from the vulnerability instance saved search.
Lists the Vulnerability Instances assets that are returned from the saved search.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
task_id |
path |
Required |
Number (Integer) |
text/plain |
null |
filter |
query |
Optional |
String |
text/plain |
Optional - This parameter is used to restrict the elements in a list base on the contents of various fields. |
fields |
query |
Optional |
String |
text/plain |
Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas. |
Range |
header |
Optional |
String |
text/plain |
Optional - Use this parameter to restrict the number of elements that are returned in the list to a specified range. The list is indexed starting at zero. |
HTTP Response Code | Unique Code | Description |
---|---|---|
200 |
The request to retrieve vulnerabilities by instance completed successfully. |
|
404 |
1002 |
Resource not found. |
500 |
1020 |
An error occurred while retrieving results. |
Response Description
A list of assets associated with the vulnerability instance data.
Response Sample
[{"operating_systems": [{"last_seen_date": 42, "name": "String"}], "interfaces": [{"mac_address": "String", "last_seen_profiler": 42, "created": 42, "first_seen_scanner": 42, "last_seen_scanner": 42, "ip_addresses": [{"last_seen_profiler": 42, "created": 42, "network_name": "String", "first_seen_scanner": 42, "last_seen_scanner": 42, "id": 42, "type": "String", "first_seen_profiler": 42, "value": "String"}], "id": 42, "first_seen_profiler": 42}], "hostnames": ["String"], "id": 42, "risk_policies": [{"name": "String", "groups": ["String"], "last_evaluated": 42, "passed": true, "question_type": "String"}], "domain_id": 42, "properties": [{"last_reported": 42, "name": "String", "type_id": 42, "id": 42, "last_reported_by": "String", "value": "String"}]}]