Patch

class Patch

Represents metadata about a patch.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard
val arch: String?

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The description of the patch.

Link copied to clipboard
val epoch: Int

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.

Link copied to clipboard
val id: String?

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val name: String?

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

The date the patch was released.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

The title of the patch.

Link copied to clipboard

The name of the vendor providing the patch.

Link copied to clipboard

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.

Functions

Link copied to clipboard
inline fun copy(block: Patch.Builder.() -> Unit = {}): Patch
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String