GET /qvm/saved_searches/vuln_instances/{task_id}/results/vuln_instances

Lists the Vulnerability Instances returned from a vulnerability instance saved search.

Lists the Vulnerability Instances returned from a saved search.

Table 1. GET /qvm/saved_searches/vuln_instances/{task_id}/results/vuln_instances resource details
MIME Type

application/json

Table 2. GET /qvm/saved_searches/vuln_instances/{task_id}/results/vuln_instances request parameter details
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.

Table 3. GET /qvm/saved_searches/vuln_instances/{task_id}/results/vuln_instances response codes
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 vulnerability instance data.

Response Sample


[{"seen_by_scan_profile": "String", "last_seen_date": 42, "cvss_environmental_score_string": "String", "ports": [42], "domain_id": 42, "critical_details": "String", "first_seen_date": 42, "relevant_patches": [{"security_notice": "String", "patch_type": "String <one of: OS, NONOS>", "description": "String"}], "vulnerability_id": 42, "asset_id": 42, "id": 42, "risk_score": 42.5, "cvss_environmental_score": 42.5}]