Struct aws_sdk_ssm::types::PatchComplianceData
source · #[non_exhaustive]pub struct PatchComplianceData {
pub title: Option<String>,
pub kb_id: Option<String>,
pub classification: Option<String>,
pub severity: Option<String>,
pub state: Option<PatchComplianceDataState>,
pub installed_time: Option<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: Option<String>
The title of the patch.
kb_id: Option<String>
The operating system-specific ID of the patch.
classification: Option<String>
The classification of the patch, such as SecurityUpdates
, Updates
, and CriticalUpdates
.
severity: Option<String>
The severity of the patch such as Critical
, Important
, and Moderate
.
state: Option<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: Option<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) -> Option<&str>
pub fn classification(&self) -> Option<&str>
The classification of the patch, such as SecurityUpdates
, Updates
, and CriticalUpdates
.
sourcepub fn severity(&self) -> Option<&str>
pub fn severity(&self) -> Option<&str>
The severity of the patch such as Critical
, Important
, and Moderate
.
sourcepub fn state(&self) -> Option<&PatchComplianceDataState>
pub fn state(&self) -> Option<&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) -> Option<&DateTime>
pub fn installed_time(&self) -> Option<&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 ==
.