Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Patch = Patch' {
- bugzillaIds :: Maybe [Text]
- vendor :: Maybe Text
- msrcSeverity :: Maybe Text
- repository :: Maybe Text
- productFamily :: Maybe Text
- severity :: Maybe Text
- advisoryIds :: Maybe [Text]
- cVEIds :: Maybe [Text]
- classification :: Maybe Text
- release :: Maybe Text
- msrcNumber :: Maybe Text
- name :: Maybe Text
- version :: Maybe Text
- language :: Maybe Text
- kbNumber :: Maybe Text
- contentUrl :: Maybe Text
- id :: Maybe Text
- releaseDate :: Maybe POSIX
- title :: Maybe Text
- arch :: Maybe Text
- product :: Maybe Text
- description :: Maybe Text
- epoch :: Maybe Int
- newPatch :: Patch
- patch_bugzillaIds :: Lens' Patch (Maybe [Text])
- patch_vendor :: Lens' Patch (Maybe Text)
- patch_msrcSeverity :: Lens' Patch (Maybe Text)
- patch_repository :: Lens' Patch (Maybe Text)
- patch_productFamily :: Lens' Patch (Maybe Text)
- patch_severity :: Lens' Patch (Maybe Text)
- patch_advisoryIds :: Lens' Patch (Maybe [Text])
- patch_cVEIds :: Lens' Patch (Maybe [Text])
- patch_classification :: Lens' Patch (Maybe Text)
- patch_release :: Lens' Patch (Maybe Text)
- patch_msrcNumber :: Lens' Patch (Maybe Text)
- patch_name :: Lens' Patch (Maybe Text)
- patch_version :: Lens' Patch (Maybe Text)
- patch_language :: Lens' Patch (Maybe Text)
- patch_kbNumber :: Lens' Patch (Maybe Text)
- patch_contentUrl :: Lens' Patch (Maybe Text)
- patch_id :: Lens' Patch (Maybe Text)
- patch_releaseDate :: Lens' Patch (Maybe UTCTime)
- patch_title :: Lens' Patch (Maybe Text)
- patch_arch :: Lens' Patch (Maybe Text)
- patch_product :: Lens' Patch (Maybe Text)
- patch_description :: Lens' Patch (Maybe Text)
- patch_epoch :: Lens' Patch (Maybe Int)
Documentation
Represents metadata about a patch.
See: newPatch
smart constructor.
Patch' | |
|
Instances
Create a value of Patch
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bugzillaIds:Patch'
, patch_bugzillaIds
- The Bugzilla ID of the patch. For example, 1600646
. Applies to
Linux-based instances only.
$sel:vendor:Patch'
, patch_vendor
- The name of the vendor providing the patch.
$sel:msrcSeverity:Patch'
, patch_msrcSeverity
- The severity of the patch, such as Critical
, Important
, or
Moderate
. Applies to Windows patches only.
$sel:repository:Patch'
, patch_repository
- 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 instances only.
$sel:productFamily:Patch'
, patch_productFamily
- The product family the patch is applicable for. For example, Windows
or Amazon Linux 2
.
$sel:severity:Patch'
, patch_severity
- The severity level of the patch. For example, CRITICAL
or MODERATE
.
$sel:advisoryIds:Patch'
, patch_advisoryIds
- The Advisory ID of the patch. For example, RHSA-2020:3779
. Applies to
Linux-based instances only.
$sel:cVEIds:Patch'
, patch_cVEIds
- The Common Vulnerabilities and Exposures (CVE) ID of the patch. For
example, CVE-2011-3192
. Applies to Linux-based instances only.
$sel:classification:Patch'
, patch_classification
- The classification of the patch. For example, SecurityUpdates
,
Updates
, or CriticalUpdates
.
$sel:release:Patch'
, patch_release
- 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 instances only.
$sel:msrcNumber:Patch'
, patch_msrcNumber
- The ID of the Microsoft Security Response Center (MSRC) bulletin the
patch is related to. For example, MS14-045
. Applies to Windows patches
only.
$sel:name:Patch'
, patch_name
- The name of the patch. Applies to Linux-based instances only.
$sel:version:Patch'
, patch_version
- 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 instances only.
$sel:language:Patch'
, patch_language
- The language of the patch if it's language-specific.
$sel:kbNumber:Patch'
, patch_kbNumber
- The Microsoft Knowledge Base ID of the patch. Applies to Windows patches
only.
$sel:contentUrl:Patch'
, patch_contentUrl
- The URL where more information can be obtained about the patch.
$sel:id:Patch'
, patch_id
- The ID of the patch. Applies to Windows patches only.
This ID isn't the same as the Microsoft Knowledge Base ID.
$sel:releaseDate:Patch'
, patch_releaseDate
- The date the patch was released.
$sel:title:Patch'
, patch_title
- The title of the patch.
$sel:arch:Patch'
, patch_arch
- 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 instances only.
$sel:product:Patch'
, patch_product
- The specific product the patch is applicable for. For example,
WindowsServer2016
or AmazonLinux2018.03
.
$sel:description:Patch'
, patch_description
- The description of the patch.
$sel:epoch:Patch'
, patch_epoch
- 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 instances only.
patch_bugzillaIds :: Lens' Patch (Maybe [Text]) Source #
The Bugzilla ID of the patch. For example, 1600646
. Applies to
Linux-based instances only.
patch_msrcSeverity :: Lens' Patch (Maybe Text) Source #
The severity of the patch, such as Critical
, Important
, or
Moderate
. Applies to Windows patches only.
patch_repository :: Lens' Patch (Maybe Text) Source #
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 instances only.
patch_productFamily :: Lens' Patch (Maybe Text) Source #
The product family the patch is applicable for. For example, Windows
or Amazon Linux 2
.
patch_severity :: Lens' Patch (Maybe Text) Source #
The severity level of the patch. For example, CRITICAL
or MODERATE
.
patch_advisoryIds :: Lens' Patch (Maybe [Text]) Source #
The Advisory ID of the patch. For example, RHSA-2020:3779
. Applies to
Linux-based instances only.
patch_cVEIds :: Lens' Patch (Maybe [Text]) Source #
The Common Vulnerabilities and Exposures (CVE) ID of the patch. For
example, CVE-2011-3192
. Applies to Linux-based instances only.
patch_classification :: Lens' Patch (Maybe Text) Source #
The classification of the patch. For example, SecurityUpdates
,
Updates
, or CriticalUpdates
.
patch_release :: Lens' Patch (Maybe Text) Source #
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 instances only.
patch_msrcNumber :: Lens' Patch (Maybe Text) Source #
The ID of the Microsoft Security Response Center (MSRC) bulletin the
patch is related to. For example, MS14-045
. Applies to Windows patches
only.
patch_name :: Lens' Patch (Maybe Text) Source #
The name of the patch. Applies to Linux-based instances only.
patch_version :: Lens' Patch (Maybe Text) Source #
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 instances only.
patch_language :: Lens' Patch (Maybe Text) Source #
The language of the patch if it's language-specific.
patch_kbNumber :: Lens' Patch (Maybe Text) Source #
The Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.
patch_contentUrl :: Lens' Patch (Maybe Text) Source #
The URL where more information can be obtained about the patch.
patch_id :: Lens' Patch (Maybe Text) Source #
The ID of the patch. Applies to Windows patches only.
This ID isn't the same as the Microsoft Knowledge Base ID.
patch_arch :: Lens' Patch (Maybe Text) Source #
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 instances only.