Get Linux Patch Packages

Specify the patch UUID to fetch a paginated list of packages associated with a Linux patch.

GET/pm/v1/patchcatalog/patch/packages

Input ParametersInput Parameters

Parameter

Mandatory/Optional

Data Type

Description

filter

Optional

string

Specify the Package name to search.

pageNumber

Optional

integer

The page to be returned.

Default value: 0

pageSize

Optional

integer

Limit number of rows to be returned per page.

Default value: 10

patchUuid

Mandatory

string

Specify the Patch ID to search.

Sample - Get the list of packages associated with a Linux patchSample - Get the list of packages associated with a Linux patch

API request

    
        curl -X GET 
        "https://<QualysBaseURL>/pm/v1/patchcatalog/patch/packages?filter=libexif-0.6.21&pageNumber=0&pageSize=10&patchUuid=003378c8-a176-3ccb-b247-90de95e78890" -H "accept: application/json" -H "Authorization: Bearer <<jwt token>>"
    

Response

    
        [
    {
        "packageName": "libexif-0.6.21-7.el7_8.aarch64.rpm",
        "architecture": "aarch64"
    },
    {
        "packageName": "libexif-0.6.21-7.el7_8.rpm",
        "architecture": "noarch"
    },
    {
        "packageName": "libexif-0.6.21-7.el7_8.x86_64.rpm",
        "architecture": "x86_64"
    }
]