Learn R Programming

paws.management (version 0.4.0)

ssm_update_patch_baseline: Modifies an existing patch baseline

Description

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

See https://www.paws-r-sdk.com/docs/ssm_update_patch_baseline/ for full documentation.

Usage

ssm_update_patch_baseline(
  BaselineId,
  Name = NULL,
  GlobalFilters = NULL,
  ApprovalRules = NULL,
  ApprovedPatches = NULL,
  ApprovedPatchesComplianceLevel = NULL,
  ApprovedPatchesEnableNonSecurity = NULL,
  RejectedPatches = NULL,
  RejectedPatchesAction = NULL,
  Description = NULL,
  Sources = NULL,
  Replace = NULL
)

Arguments

BaselineId

[required] The ID of the patch baseline to update.

Name

The name of the patch baseline.

GlobalFilters

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

ApprovalRules

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

ApprovedPatches

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.

ApprovedPatchesComplianceLevel

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

ApprovedPatchesEnableNonSecurity

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.

RejectedPatches

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.

RejectedPatchesAction

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, aren't 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.

Description

A description of the patch baseline.

Sources

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

Replace

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