Modifies an existing patch baseline. Fields not specified in the request are left unchanged.
ssm_update_patch_baseline(BaselineId, Name, GlobalFilters,
ApprovalRules, ApprovedPatches, ApprovedPatchesComplianceLevel,
ApprovedPatchesEnableNonSecurity, RejectedPatches,
RejectedPatchesAction, Description, Sources, Replace)
[required] The ID of the patch baseline to update.
The name of the patch baseline.
A set of global filters used to include patches in the baseline.
A set of rules used to include patches in the baseline.
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide.
Assigns a new compliance severity level to an existing patch baseline.
Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. The default value is \'false\'. Applies to Linux instances only.
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide.
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 RejectedPatches list, and packages that include them as dependencies, are not installed under any circumstances. If a package was installed before it was added to the Rejected patches list, it is considered non-compliant with the patch baseline, and its status is reported as InstalledRejected.
A description of the patch baseline.
Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.
If True, then all fields that are required by the CreatePatchBaseline action are also required for this API request. Optional fields that are not specified are set to null.
svc$update_patch_baseline( BaselineId = "string", Name = "string", GlobalFilters = list( PatchFilters = list( list( Key = "PATCH_SET"|"PRODUCT"|"PRODUCT_FAMILY"|"CLASSIFICATION"|"MSRC_SEVERITY"|"PATCH_ID"|"SECTION"|"PRIORITY"|"SEVERITY", Values = list( "string" ) ) ) ), ApprovalRules = list( PatchRules = list( list( PatchFilterGroup = list( PatchFilters = list( list( Key = "PATCH_SET"|"PRODUCT"|"PRODUCT_FAMILY"|"CLASSIFICATION"|"MSRC_SEVERITY"|"PATCH_ID"|"SECTION"|"PRIORITY"|"SEVERITY", Values = list( "string" ) ) ) ), ComplianceLevel = "CRITICAL"|"HIGH"|"MEDIUM"|"LOW"|"INFORMATIONAL"|"UNSPECIFIED", ApproveAfterDays = 123, EnableNonSecurity = TRUE|FALSE ) ) ), ApprovedPatches = list( "string" ), ApprovedPatchesComplianceLevel = "CRITICAL"|"HIGH"|"MEDIUM"|"LOW"|"INFORMATIONAL"|"UNSPECIFIED", ApprovedPatchesEnableNonSecurity = TRUE|FALSE, RejectedPatches = list( "string" ), RejectedPatchesAction = "ALLOW_AS_DEPENDENCY"|"BLOCK", Description = "string", Sources = list( list( Name = "string", Products = list( "string" ), Configuration = "string" ) ), Replace = TRUE|FALSE )
For information about valid key and value pairs in PatchFilters
for
each supported operating system type, see
PatchFilter.