Struct aws_sdk_ssm::types::PatchComplianceData
source · #[non_exhaustive]pub struct PatchComplianceData {
pub title: String,
pub kb_id: String,
pub classification: String,
pub severity: String,
pub state: PatchComplianceDataState,
pub installed_time: DateTime,
pub cve_ids: Option<String>,
}
Expand description
Information about the state of a patch on a particular managed node as it relates to the patch baseline used to patch the node.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.title: String
The title of the patch.
kb_id: String
The operating system-specific ID of the patch.
classification: String
The classification of the patch, such as SecurityUpdates
, Updates
, and CriticalUpdates
.
severity: String
The severity of the patch such as Critical
, Important
, and Moderate
.
state: PatchComplianceDataState
The state of the patch on the managed node, such as INSTALLED or FAILED.
For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.
installed_time: DateTime
The date/time the patch was installed on the managed node. Not all operating systems provide this level of information.
cve_ids: Option<String>
The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that are resolved by the patch.
Implementations§
source§impl PatchComplianceData
impl PatchComplianceData
sourcepub fn classification(&self) -> &str
pub fn classification(&self) -> &str
The classification of the patch, such as SecurityUpdates
, Updates
, and CriticalUpdates
.
sourcepub fn severity(&self) -> &str
pub fn severity(&self) -> &str
The severity of the patch such as Critical
, Important
, and Moderate
.
sourcepub fn state(&self) -> &PatchComplianceDataState
pub fn state(&self) -> &PatchComplianceDataState
The state of the patch on the managed node, such as INSTALLED or FAILED.
For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.
sourcepub fn installed_time(&self) -> &DateTime
pub fn installed_time(&self) -> &DateTime
The date/time the patch was installed on the managed node. Not all operating systems provide this level of information.
source§impl PatchComplianceData
impl PatchComplianceData
sourcepub fn builder() -> PatchComplianceDataBuilder
pub fn builder() -> PatchComplianceDataBuilder
Creates a new builder-style object to manufacture PatchComplianceData
.
Trait Implementations§
source§impl Clone for PatchComplianceData
impl Clone for PatchComplianceData
source§fn clone(&self) -> PatchComplianceData
fn clone(&self) -> PatchComplianceData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PatchComplianceData
impl Debug for PatchComplianceData
source§impl PartialEq for PatchComplianceData
impl PartialEq for PatchComplianceData
source§fn eq(&self, other: &PatchComplianceData) -> bool
fn eq(&self, other: &PatchComplianceData) -> bool
self
and other
values to be equal, and is used
by ==
.