Linux Patch Groups

A Linux patch group defines a set of patches that you want to scan for or deploy.

Base URL

        https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/groups

Supported Requests

Method URL Input Return

DELETE

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/groups/{patchgroupId}

  Success Code

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/groups/{patchgroupId}/patches

Request Body Patches Success Code

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/groups/{patchgroupId}/patches/{patchId}

 

Success Code

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/groups/{patchgroupId}/patches/cves

Request Body CVEs

Success Code

GET

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/groups

  LinuxPatchGroup

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/groups/{patchgroupId}

  LinuxPatchGroup

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/groups/{patchgroupId}/patches

  LinuxPatchLinks

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/groups/{patchgroupId}/usedby

 

LinuxPatchGroupUsedby

POST

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/groups

Request Body LinuxPatchGroup

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/groups/{patchgroupId}/patches

Request Body Patches Success Code

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/groups/{patchgroupId}/patches/cves

Request Body CVEs Success Code

PUT

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/groups/{patchgroupId}

Request Body Success Code

Input Models

Example with Sample Response

Find all Linux patch groups

GET Request

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/groups

Sample Response

Copy
{
    "count": 1,
    "value": [
        {
            "id": 1,
            "links": {
                "self": {
                    "href": "https://device-name.example.com:3121/st/console/api/v1.0/linux/patch/groups/1"
                },
                "patches": {
                    "href": "https://device-name.example.com:3121/st/console/api/v1.0/linux/patch/groups/1/patches"
                },
                "usedby": {
                    "href": "https://device-name.example.com:3121/st/console/api/v1.0/linux/patch/groups/1/usedby"
                }
            },
            "name": "Sample-Linux-Patch-Group"
        }
    ]
}

Other Request Examples

Output Models