class Amazonite::Ssm::Patch

Overview

Represents metadata about a patch.

Included Modules

Defined in:

ssm/patch.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(id : String | Nil = nil, release_date : Time | Nil = nil, title : String | Nil = nil, description : String | Nil = nil, content_url : String | Nil = nil, vendor : String | Nil = nil, product_family : String | Nil = nil, product : String | Nil = nil, classification : String | Nil = nil, msrc_severity : String | Nil = nil, kb_number : String | Nil = nil, msrc_number : String | Nil = nil, language : String | Nil = nil, advisory_ids : Array(String) | Nil = nil, bugzilla_ids : Array(String) | Nil = nil, cve_ids : Array(String) | Nil = nil, name : String | Nil = nil, epoch : Int32 | Nil = nil, version : String | Nil = nil, release : String | Nil = nil, arch : String | Nil = nil, severity : String | Nil = nil, repository : String | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def advisory_ids : Array(String) | Nil #

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


[View source]
def advisory_ids=(advisory_ids : Array(String) | Nil) #

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


[View source]
def arch : String | Nil #

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.


[View source]
def arch=(arch : String | Nil) #

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.


[View source]
def bugzilla_ids : Array(String) | Nil #

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


[View source]
def bugzilla_ids=(bugzilla_ids : Array(String) | Nil) #

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


[View source]
def classification : String | Nil #

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


[View source]
def classification=(classification : String | Nil) #

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


[View source]
def content_url : String | Nil #

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


[View source]
def content_url=(content_url : String | Nil) #

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


[View source]
def cve_ids : Array(String) | Nil #

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


[View source]
def cve_ids=(cve_ids : Array(String) | Nil) #

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


[View source]
def description : String | Nil #

The description of the patch.


[View source]
def description=(description : String | Nil) #

The description of the patch.


[View source]
def epoch : Int32 | Nil #

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.


[View source]
def epoch=(epoch : Int32 | Nil) #

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.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def id : String | Nil #

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

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


[View source]
def id=(id : String | Nil) #

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

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


[View source]
def kb_number : String | Nil #

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


[View source]
def kb_number=(kb_number : String | Nil) #

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


[View source]
def language : String | Nil #

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


[View source]
def language=(language : String | Nil) #

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


[View source]
def msrc_number : String | Nil #

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


[View source]
def msrc_number=(msrc_number : String | Nil) #

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


[View source]
def msrc_severity : String | Nil #

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


[View source]
def msrc_severity=(msrc_severity : String | Nil) #

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


[View source]
def name : String | Nil #

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


[View source]
def name=(name : String | Nil) #

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


[View source]
def product : String | Nil #

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


[View source]
def product=(product : String | Nil) #

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


[View source]
def product_family : String | Nil #

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


[View source]
def product_family=(product_family : String | Nil) #

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


[View source]
def release : String | Nil #

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.


[View source]
def release=(release : String | Nil) #

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.


[View source]
def release_date : Time | Nil #

The date the patch was released.


[View source]
def release_date=(release_date : Time | Nil) #

The date the patch was released.


[View source]
def repository : String | Nil #

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.


[View source]
def repository=(repository : String | Nil) #

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.


[View source]
def severity : String | Nil #

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


[View source]
def severity=(severity : String | Nil) #

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


[View source]
def title : String | Nil #

The title of the patch.


[View source]
def title=(title : String | Nil) #

The title of the patch.


[View source]
def validate! : Nil #

[View source]
def vendor : String | Nil #

The name of the vendor providing the patch.


[View source]
def vendor=(vendor : String | Nil) #

The name of the vendor providing the patch.


[View source]
def version : String | Nil #

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.


[View source]
def version=(version : String | Nil) #

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.


[View source]