You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SSM::Types::CreatePatchBaselineRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreatePatchBaselineRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, UBUNTU, REDHAT_ENTERPRISE_LINUX
  name: "BaselineName", # required
  global_filters: {
    patch_filters: [ # required
      {
        key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
        values: ["PatchFilterValue"], # required
      },
    ],
  },
  approval_rules: {
    patch_rules: [ # required
      {
        patch_filter_group: { # required
          patch_filters: [ # required
            {
              key: "PRODUCT", # required, accepts PRODUCT, CLASSIFICATION, MSRC_SEVERITY, PATCH_ID, SECTION, PRIORITY, SEVERITY
              values: ["PatchFilterValue"], # required
            },
          ],
        },
        compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
        approve_after_days: 1, # required
      },
    ],
  },
  approved_patches: ["PatchId"],
  approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
  rejected_patches: ["PatchId"],
  description: "BaselineDescription",
  client_token: "ClientToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#approval_rulesTypes::PatchRuleGroup

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

Returns:

#approved_patchesArray<String>

A list of explicitly approved patches for the baseline.

Returns:

  • (Array<String>)

    A list of explicitly approved patches for the baseline.

#approved_patches_compliance_levelString

Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance severity levels include the following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED.

Possible values:

  • CRITICAL
  • HIGH
  • MEDIUM
  • LOW
  • INFORMATIONAL
  • UNSPECIFIED

Returns:

  • (String)

    Defines the compliance level for approved patches.

#client_tokenString

User-provided idempotency token.

Returns:

  • (String)

    User-provided idempotency token.

#descriptionString

A description of the patch baseline.

Returns:

  • (String)

    A description of the patch baseline.

#global_filtersTypes::PatchFilterGroup

A set of global filters used to exclude patches from the baseline.

Returns:

#nameString

The name of the patch baseline.

Returns:

  • (String)

    The name of the patch baseline.

#operating_systemString

Defines the operating system the patch baseline applies to. The Default value is WINDOWS.

Possible values:

  • WINDOWS
  • AMAZON_LINUX
  • UBUNTU
  • REDHAT_ENTERPRISE_LINUX

Returns:

  • (String)

    Defines the operating system the patch baseline applies to.

#rejected_patchesArray<String>

A list of explicitly rejected patches for the baseline.

Returns:

  • (Array<String>)

    A list of explicitly rejected patches for the baseline.