Skip to content

Patch

Source code in docs_src/capo_ssm/types/patch.py
class Patch(TypedDict, closed=True):
    id: NotRequired["capo_ssm.types.patch_id.PatchId"]
    """<p>The ID of the patch. Applies to Windows patches only.</p> <note> <p>This ID isn't the same as the Microsoft Knowledge Base ID.</p> </note>"""
    release_date: NotRequired["capo_ssm.types.date_time.DateTime"]
    """<p>The date the patch was released.</p>"""
    title: NotRequired["capo_ssm.types.patch_title.PatchTitle"]
    """<p>The title of the patch.</p>"""
    description: NotRequired["capo_ssm.types.patch_description.PatchDescription"]
    """<p>The description of the patch.</p>"""
    content_url: NotRequired["capo_ssm.types.patch_content_url.PatchContentUrl"]
    """<p>The URL where more information can be obtained about the patch.</p>"""
    vendor: NotRequired["capo_ssm.types.patch_vendor.PatchVendor"]
    """<p>The name of the vendor providing the patch.</p>"""
    product_family: NotRequired[
        "capo_ssm.types.patch_product_family.PatchProductFamily"
    ]
    """<p>The product family the patch is applicable for. For example, <code>Windows</code> or <code>Amazon Linux 2</code>.</p>"""
    product: NotRequired["capo_ssm.types.patch_product.PatchProduct"]
    """<p>The specific product the patch is applicable for. For example, <code>WindowsServer2016</code> or <code>AmazonLinux2018.03</code>.</p>"""
    classification: NotRequired[
        "capo_ssm.types.patch_classification.PatchClassification"
    ]
    """<p>The classification of the patch. For example, <code>SecurityUpdates</code>, <code>Updates</code>, or <code>CriticalUpdates</code>.</p>"""
    msrc_severity: NotRequired["capo_ssm.types.patch_msrc_severity.PatchMsrcSeverity"]
    """<p>The severity of the patch, such as <code>Critical</code>, <code>Important</code>, or <code>Moderate</code>. Applies to Windows patches only.</p>"""
    kb_number: NotRequired["capo_ssm.types.patch_kb_number.PatchKbNumber"]
    """<p>The Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.</p>"""
    msrc_number: NotRequired["capo_ssm.types.patch_msrc_number.PatchMsrcNumber"]
    """<p>The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to. For example, <code>MS14-045</code>. Applies to Windows patches only.</p>"""
    language: NotRequired["capo_ssm.types.patch_language.PatchLanguage"]
    """<p>The language of the patch if it's language-specific.</p>"""
    advisory_ids: NotRequired[
        "capo_ssm.types.patch_advisory_id_list.PatchAdvisoryIdList"
    ]
    """<p>The Advisory ID of the patch. For example, <code>RHSA-2020:3779</code>. Applies to Linux-based managed nodes only.</p>"""
    bugzilla_ids: NotRequired[
        "capo_ssm.types.patch_bugzilla_id_list.PatchBugzillaIdList"
    ]
    """<p>The Bugzilla ID of the patch. For example, <code>1600646</code>. Applies to Linux-based managed nodes only.</p>"""
    cve_ids: NotRequired["capo_ssm.types.patch_cve_id_list.PatchCVEIdList"]
    """<p>The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, <code>CVE-2011-3192</code>. Applies to Linux-based managed nodes only.</p>"""
    name: NotRequired["capo_ssm.types.patch_name.PatchName"]
    """<p>The name of the patch. Applies to Linux-based managed nodes only.</p>"""
    epoch: "capo_ssm.types.patch_epoch.PatchEpoch"
    """<p>The epoch of the patch. For example in <code>pkg-example-EE-20180914-2.2.amzn1.noarch</code>, the epoch value is <code>20180914-2</code>. Applies to Linux-based managed nodes only.</p>"""
    version: NotRequired["capo_ssm.types.patch_version.PatchVersion"]
    """<p>The version number of the patch. For example, in <code>example-pkg-1.710.10-2.7.abcd.x86_64</code>, the version number is indicated by <code>-1</code>. Applies to Linux-based managed nodes only.</p>"""
    release: NotRequired["capo_ssm.types.patch_release.PatchRelease"]
    """<p>The particular release of a patch. For example, in <code>pkg-example-EE-20180914-2.2.amzn1.noarch</code>, the release is <code>2.amaz1</code>. Applies to Linux-based managed nodes only.</p>"""
    arch: NotRequired["capo_ssm.types.patch_arch.PatchArch"]
    """<p>The architecture of the patch. For example, in <code>example-pkg-0.710.10-2.7.abcd.x86_64</code>, the architecture is indicated by <code>x86_64</code>. Applies to Linux-based managed nodes only.</p>"""
    severity: NotRequired["capo_ssm.types.patch_severity.PatchSeverity"]
    """<p>The severity level of the patch. For example, <code>CRITICAL</code> or <code>MODERATE</code>.</p>"""
    repository: NotRequired["capo_ssm.types.patch_repository.PatchRepository"]
    """<p>The source patch repository for the operating system and version, such as <code>trusty-security</code> for Ubuntu Server 14.04 LTE and <code>focal-security</code> for Ubuntu Server 20.04 LTE. Applies to Linux-based managed nodes only.</p>"""

advisory_ids instance-attribute

advisory_ids: NotRequired[PatchAdvisoryIdList]

The Advisory ID of the patch. For example, RHSA-2020:3779. Applies to Linux-based managed nodes only.

arch instance-attribute

arch: NotRequired[PatchArch]

The architecture of the patch. For example, in example-pkg-0.710.10-2.7.abcd.x86_64, the architecture is indicated by x86_64. Applies to Linux-based managed nodes only.

bugzilla_ids instance-attribute

bugzilla_ids: NotRequired[PatchBugzillaIdList]

The Bugzilla ID of the patch. For example, 1600646. Applies to Linux-based managed nodes only.

classification instance-attribute

classification: NotRequired[PatchClassification]

The classification of the patch. For example, SecurityUpdates, Updates, or CriticalUpdates.

content_url instance-attribute

content_url: NotRequired[PatchContentUrl]

The URL where more information can be obtained about the patch.

cve_ids instance-attribute

cve_ids: NotRequired[PatchCVEIdList]

The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, CVE-2011-3192. Applies to Linux-based managed nodes only.

description instance-attribute

description: NotRequired[PatchDescription]

The description of the patch.

epoch instance-attribute

epoch: PatchEpoch

The epoch of the patch. For example in pkg-example-EE-20180914-2.2.amzn1.noarch, the epoch value is 20180914-2. Applies to Linux-based managed nodes only.

id instance-attribute

id: NotRequired[PatchId]

The ID of the patch. Applies to Windows patches only.

This ID isn't the same as the Microsoft Knowledge Base ID.

kb_number instance-attribute

kb_number: NotRequired[PatchKbNumber]

The Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.

language instance-attribute

language: NotRequired[PatchLanguage]

The language of the patch if it's language-specific.

msrc_number instance-attribute

msrc_number: NotRequired[PatchMsrcNumber]

The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to. For example, MS14-045. Applies to Windows patches only.

msrc_severity instance-attribute

msrc_severity: NotRequired[PatchMsrcSeverity]

The severity of the patch, such as Critical, Important, or Moderate. Applies to Windows patches only.

name instance-attribute

name: NotRequired[PatchName]

The name of the patch. Applies to Linux-based managed nodes only.

product instance-attribute

product: NotRequired[PatchProduct]

The specific product the patch is applicable for. For example, WindowsServer2016 or AmazonLinux2018.03.

product_family instance-attribute

product_family: NotRequired[PatchProductFamily]

The product family the patch is applicable for. For example, Windows or Amazon Linux 2.

release instance-attribute

release: NotRequired[PatchRelease]

The particular release of a patch. For example, in pkg-example-EE-20180914-2.2.amzn1.noarch, the release is 2.amaz1. Applies to Linux-based managed nodes only.

release_date instance-attribute

release_date: NotRequired[DateTime]

The date the patch was released.

repository instance-attribute

repository: NotRequired[PatchRepository]

The source patch repository for the operating system and version, such as trusty-security for Ubuntu Server 14.04 LTE and focal-security for Ubuntu Server 20.04 LTE. Applies to Linux-based managed nodes only.

severity instance-attribute

severity: NotRequired[PatchSeverity]

The severity level of the patch. For example, CRITICAL or MODERATE.

title instance-attribute

title: NotRequired[PatchTitle]

The title of the patch.

vendor instance-attribute

vendor: NotRequired[PatchVendor]

The name of the vendor providing the patch.

version instance-attribute

version: NotRequired[PatchVersion]

The version number of the patch. For example, in example-pkg-1.710.10-2.7.abcd.x86_64, the version number is indicated by -1. Applies to Linux-based managed nodes only.