GET /qvm/saved_searches

Retrieves a list of vulnerability instance saved searches.

Retrieves a list of vulnerability instance saved searches.

Table 1. GET /qvm/saved_searches resource details
MIME Type

application/json

Table 2. GET /qvm/saved_searches request parameter details
Parameter Type Optionality Data Type MIME Type Description

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.

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.

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.

Table 3. GET /qvm/saved_searches response codes
HTTP Response Code Unique Code Description

200

The request to retrieve the list of vulnerability instance saved searches completed successfully.

500

1020

An error occurred while trying to retrieve the list of saved searches.

Response Description

A list of vulnerability instance saved searches that can be used or applied against:
  • /qvm/saved_searches/{saved_search_id}/vuln_instances
  • /qvm/assets
  • /qvm/vulns
  • /qvm/openservices
  • /qvm/networks

Each saved search that is returned includes an ID, name, and list of filters that make up this saved search.

Response Sample


[
    {
        "filters": [
            {
                "operator": "String",
                "parameter": "String",
                "value": "String"
            }
        ],
        "id": 42,
        "name": "String",
        "owner": "String"
    }
]