Skip to main content

available_patches

Creates, updates, deletes, gets or lists an available_patches resource.

Overview

Nameavailable_patches
TypeResource
Idaws.ssm.available_patches

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
advisory_idsarrayThe Advisory ID of the patch. For example, RHSA-2020:3779. Applies to Linux-based managed nodes only.
archstringThe 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_idsarrayThe Bugzilla ID of the patch. For example, 1600646. Applies to Linux-based managed nodes only.
cve_idsarrayThe Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, CVE-2011-3192. Applies to Linux-based managed nodes only.
classificationstringThe classification of the patch. For example, SecurityUpdates, Updates, or CriticalUpdates.
content_urlstringThe URL where more information can be obtained about the patch.
descriptionstringThe description of the patch.
epochintegerThe 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.
idstringThe ID of the patch. Applies to Windows patches only. This ID isn't the same as the Microsoft Knowledge Base ID.
kb_numberstringThe Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.
languagestringThe language of the patch if it's language-specific.
msrc_numberstringThe ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to. For example, MS14-045. Applies to Windows patches only.
msrc_severitystringThe severity of the patch, such as Critical, Important, or Moderate. Applies to Windows patches only.
namestringThe name of the patch. Applies to Linux-based managed nodes only.
productstringThe specific product the patch is applicable for. For example, WindowsServer2016 or AmazonLinux2018.03.
product_familystringThe product family the patch is applicable for. For example, Windows or Amazon Linux 2.
releasestringThe 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_datestring (date-time)The date the patch was released.
repositorystringThe 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.
severitystringThe severity level of the patch. For example, CRITICAL or MODERATE.
titlestringThe title of the patch.
vendorstringThe name of the vendor providing the patch.
versionstringThe 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.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_available_patchesselectregionLists all patches eligible to be included in a patch baseline. Currently, DescribeAvailablePatches supports only the Amazon Linux 1, Amazon Linux 2, and Windows Server operating systems.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists all patches eligible to be included in a patch baseline. Currently, DescribeAvailablePatches supports only the Amazon Linux 1, Amazon Linux 2, and Windows Server operating systems.

SELECT
advisory_ids,
arch,
bugzilla_ids,
cve_ids,
classification,
content_url,
description,
epoch,
id,
kb_number,
language,
msrc_number,
msrc_severity,
name,
product,
product_family,
release,
release_date,
repository,
severity,
title,
vendor,
version
FROM aws.ssm.available_patches
WHERE region = '{{ region }}' -- required
;