Linux Patch Scan Configuration

A Linux patch scan configuration defines how a patch scan will be performed. With a patch scan configuration you can:

Specify the types of patches and the vendor severity level of those patches that should be included in the scan

Specify one or more Linux patch groups that contain the patches you want to use as a baseline

Identify the agent policies that are currently using this configuration

Base URL

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

Supported Requests

Method URL Input Return

DELETE

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/scanconfigurations/{patch scan configuration id}

 

Success code

GET

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

URL Parameters

LinuxPatchScanConfiguration

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/scanconfigurations/{patch scan configuration id}

 

LinuxPatchScanConfiguration

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/scanconfigurations/{patch scan configuration id}/usedby

 

LinuxPatchScanConfigUsedBy

POST

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

Request Body

LinuxPatchScanConfiguration

PUT

https://<consoleFQDN:port>/st/console/api/v1.0/linux/patch/scanconfigurations/{patch scan configuration id}

Request Body

Success code

Input Models

Example with Sample Response

Create a Linux patch scan configuration

POST Request

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

{ "name": "Sample Linux Patch Scan Config", "description": "Sample for demonstration purposes"}

Sample Response

Copy
{
    "createdBy": "example\\joe.admin",
    "description": "Sample for demonstration purposes",
    "filter": {
        "patchTypeSeverities": "SecurityCritical, SecurityImportant, BugFix"
    },
    "id": "41bc2c50-441f-4647-9d85-7058a5251b19",
    "isSystem": false,
    "links": {
        "self": {
            "href": "https://device-name.example.com:3121/st/console/api/v1.0/linux/patch/scanconfigurations/41bc2c50-441f-4647-9d85-7058a5251b19"
        },
        "usedby": {
            "href": "https://device-name.example.com:3121/st/console/api/v1.0/linux/patch/scanconfigurations/41bc2c50-441f-4647-9d85-7058a5251b19/usedby"
        }
    },
    "name": "Sample Linux Patch Scan Config"
}

Other Request Examples

Output Models