Skip to content

/AWS1/CL_SSM=>UPDATEPATCHBASELINE()

About UpdatePatchBaseline

Modifies an existing patch baseline. Fields not specified in the request are left unchanged.

For information about valid key-value pairs in PatchFilters for each supported operating system type, see PatchFilter.

Method Signature

IMPORTING

Required arguments:

IV_BASELINEID TYPE /AWS1/SSMBASELINEID /AWS1/SSMBASELINEID

The ID of the patch baseline to update.

Optional arguments:

IV_NAME TYPE /AWS1/SSMBASELINENAME /AWS1/SSMBASELINENAME

The name of the patch baseline.

IO_GLOBALFILTERS TYPE REF TO /AWS1/CL_SSMPATCHFILTERGROUP /AWS1/CL_SSMPATCHFILTERGROUP

A set of global filters used to include patches in the baseline.

IO_APPROVALRULES TYPE REF TO /AWS1/CL_SSMPATCHRULEGROUP /AWS1/CL_SSMPATCHRULEGROUP

A set of rules used to include patches in the baseline.

IT_APPROVEDPATCHES TYPE /AWS1/CL_SSMPATCHIDLIST_W=>TT_PATCHIDLIST TT_PATCHIDLIST

A list of explicitly approved patches for the baseline.

For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

IV_APPROVEDPATCHESCPLNCLEVEL TYPE /AWS1/SSMPATCHCOMPLIANCELEVEL /AWS1/SSMPATCHCOMPLIANCELEVEL

Assigns a new compliance severity level to an existing patch baseline.

IV_APPROVEDPATCHESENBNONSEC TYPE /AWS1/SSMBOOLEAN /AWS1/SSMBOOLEAN

Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is false. Applies to Linux managed nodes only.

IT_REJECTEDPATCHES TYPE /AWS1/CL_SSMPATCHIDLIST_W=>TT_PATCHIDLIST TT_PATCHIDLIST

A list of explicitly rejected patches for the baseline.

For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

IV_REJECTEDPATCHESACTION TYPE /AWS1/SSMPATCHACTION /AWS1/SSMPATCHACTION

The action for Patch Manager to take on patches included in the RejectedPackages list.

  • ALLOW_AS_DEPENDENCY : A package in the Rejected patches list is installed only if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is reported as InstalledOther. This is the default action if no option is specified.

  • BLOCK: Packages in the Rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the Rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as InstalledRejected.

IV_DESCRIPTION TYPE /AWS1/SSMBASELINEDESCRIPTION /AWS1/SSMBASELINEDESCRIPTION

A description of the patch baseline.

IT_SOURCES TYPE /AWS1/CL_SSMPATCHSOURCE=>TT_PATCHSOURCELIST TT_PATCHSOURCELIST

Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.

IV_REPLACE TYPE /AWS1/SSMBOOLEAN /AWS1/SSMBOOLEAN

If True, then all fields that are required by the CreatePatchBaseline operation are also required for this API request. Optional fields that aren't specified are set to null.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSMUPPATCHBASELINERS /AWS1/CL_SSMUPPATCHBASELINERS