Creates a new static list of QIDs.
Parameter | Mandatory/Optional | Data Type | Description |
---|---|---|---|
name | Mandatory | string | Specify a name for the list. |
listType | Mandatory | string | Specify the type of list. Currently, the only valid value is STATIC. |
scope | Mandatory | string | Specify the scope of the list. Currently, the only valid value is VULNERABILITY. |
qidsToBeAdded | Mandatory | string | Specify the QIDs to be added to the list. If the QIDs are specified, the "qidsAdditionFilter" parameter is ignored. |
qidsAdditionFilter | Mandatory | string |
Specify a filter query to select QIDs. |
API Request
curl -X "POST"
"<qualys_base_url>/csapi/v1.3/list"
-H "accept: application/json"
-H "Authorization: Bearer <token>"
-H "Content-Type: application/json"
-d "{
"name": "test002_list",
"listType": "STATIC",
"scope": "VULNERABILITY",
"qidsToBeAdded": [
993395,
754102,
92012
],
"qidsAdditionFilter": null;
}'
Response
{
"listUuid": "43bcefbf-74cd-4d67-9b87-f3f4284d8cce"
}
Was this topic helpful?