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.
Currently, CVE ID values are reported only for patches with a status of Missing
or Failed
.
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
impl StructuralPartialEq for PatchComplianceData
Auto Trait Implementations§
impl Freeze for PatchComplianceData
impl RefUnwindSafe for PatchComplianceData
impl Send for PatchComplianceData
impl Sync for PatchComplianceData
impl Unpin for PatchComplianceData
impl UnwindSafe for PatchComplianceData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more