Specify the patch UUIDs to fetch corresponding patch details.
Parameter |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
attributes |
Optional |
string |
From all attributes, specify a comma-separated string of attributes that you want to fetch in the response. |
platform |
Optional |
string |
The platform type. - Available values: Linux, Windows - Default value: Windows |
sort |
- |
string |
Sorting fields in JSON format. For example, [{"vendorSeverity":"asc"}] |
API request
curl -X POST
"https://<QualysBaseURL>/pm/v1/patchcatalog/patches?attributes=isSecurity%2C%20rebootRequired%2C%20vendorSeverity&platform=Windows&sort=%5B%7B%22vendorSeverity%22%3A%22asc%22%7D%5D" -H "accept: application/json" -H "Authorization: Bearer <<jwt token>>" -H "Content-Type: application/json" -d "{\"patchUuid\":[\"12d8f363-7aa9-3c11-b07b-08b181dc24cf\",\"2db2d98d-01b7-3770-8224-795f13153e62\"]}"
Request Body - Specify the UUIDs
{
"patchUuid": [
"string"
]
}
Response
[
{
"isSecurity": true,
"rebootRequired": true,
"vendorSeverity": "Critical"
},
{
"isSecurity": true,
"rebootRequired": true,
"vendorSeverity": "None"
}
]