Skip to content

BaselineOverride

Source code in docs_src/capo_ssm/types/baseline_override.py
class BaselineOverride(TypedDict, closed=True):
    operating_system: NotRequired["capo_ssm.types.operating_system.OperatingSystem"]
    """<p>The operating system rule used by the patch baseline override.</p>"""
    global_filters: NotRequired["capo_ssm.types.patch_filter_group.PatchFilterGroup"]
    approval_rules: NotRequired["capo_ssm.types.patch_rule_group.PatchRuleGroup"]
    approved_patches: NotRequired["capo_ssm.types.patch_id_list.PatchIdList"]
    """<p>A list of explicitly approved patches for the baseline.</p> <p>For information about accepted formats for lists of approved patches and rejected patches, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html">Package name formats for approved and rejected patch lists</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>"""
    approved_patches_compliance_level: NotRequired[
        "capo_ssm.types.patch_compliance_level.PatchComplianceLevel"
    ]
    """<p>Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.</p>"""
    rejected_patches: NotRequired["capo_ssm.types.patch_id_list.PatchIdList"]
    """<p>A list of explicitly rejected patches for the baseline.</p> <p>For information about accepted formats for lists of approved patches and rejected patches, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html">Package name formats for approved and rejected patch lists</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>"""
    rejected_patches_action: NotRequired["capo_ssm.types.patch_action.PatchAction"]
    """<p>The action for Patch Manager to take on patches included in the <code>RejectedPackages</code> list. A patch can be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it as a dependency.</p>"""
    approved_patches_enable_non_security: "capo_ssm.types.boolean.Boolean"
    """<p>Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is <code>false</code>. Applies to Linux managed nodes only.</p>"""
    sources: NotRequired["capo_ssm.types.patch_source_list.PatchSourceList"]
    """<p>Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.</p>"""
    available_security_updates_compliance_status: NotRequired[
        "capo_ssm.types.patch_compliance_status.PatchComplianceStatus"
    ]
    """<p>Indicates whether managed nodes for which there are available security-related patches that have not been approved by the baseline are being defined as <code>COMPLIANT</code> or <code>NON_COMPLIANT</code>. This option is specified when the <code>CreatePatchBaseline</code> or <code>UpdatePatchBaseline</code> commands are run.</p> <p>Applies to Windows Server managed nodes only.</p>"""

approval_rules instance-attribute

approval_rules: NotRequired[PatchRuleGroup]

approved_patches instance-attribute

approved_patches: NotRequired[PatchIdList]

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 Amazon Web Services Systems Manager User Guide.

approved_patches_compliance_level instance-attribute

approved_patches_compliance_level: NotRequired[PatchComplianceLevel]

Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.

approved_patches_enable_non_security instance-attribute

approved_patches_enable_non_security: Boolean

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.

available_security_updates_compliance_status instance-attribute

available_security_updates_compliance_status: NotRequired[PatchComplianceStatus]

Indicates whether managed nodes for which there are available security-related patches that have not been approved by the baseline are being defined as COMPLIANT or NON_COMPLIANT. This option is specified when the CreatePatchBaseline or UpdatePatchBaseline commands are run.

Applies to Windows Server managed nodes only.

global_filters instance-attribute

global_filters: NotRequired[PatchFilterGroup]

operating_system instance-attribute

operating_system: NotRequired[OperatingSystem]

The operating system rule used by the patch baseline override.

rejected_patches instance-attribute

rejected_patches: NotRequired[PatchIdList]

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 Amazon Web Services Systems Manager User Guide.

rejected_patches_action instance-attribute

rejected_patches_action: NotRequired[PatchAction]

The action for Patch Manager to take on patches included in the RejectedPackages list. A patch can be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it as a dependency.

sources instance-attribute

sources: NotRequired[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.