Struct aws_sdk_codegurusecurity::types::MetricsSummary
source · #[non_exhaustive]pub struct MetricsSummary {
pub date: Option<DateTime>,
pub open_findings: Option<FindingMetricsValuePerSeverity>,
pub categories_with_most_findings: Option<Vec<CategoryWithFindingNum>>,
pub scans_with_most_open_findings: Option<Vec<ScanNameWithFindingNum>>,
pub scans_with_most_open_critical_findings: Option<Vec<ScanNameWithFindingNum>>,
}
Expand description
Information about summary metrics in an account.
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.date: Option<DateTime>
The date from which the metrics summary information was retrieved.
open_findings: Option<FindingMetricsValuePerSeverity>
The number of open findings of each severity in an account.
categories_with_most_findings: Option<Vec<CategoryWithFindingNum>>
A list of CategoryWithFindingNum
objects for the top 5 finding categories with the most open findings in an account.
scans_with_most_open_findings: Option<Vec<ScanNameWithFindingNum>>
A list of ScanNameWithFindingNum
objects for the top 3 scans with the most number of open critical findings in an account.
scans_with_most_open_critical_findings: Option<Vec<ScanNameWithFindingNum>>
A list of ScanNameWithFindingNum
objects for the top 3 scans with the most number of open findings in an account.
Implementations§
source§impl MetricsSummary
impl MetricsSummary
sourcepub fn date(&self) -> Option<&DateTime>
pub fn date(&self) -> Option<&DateTime>
The date from which the metrics summary information was retrieved.
sourcepub fn open_findings(&self) -> Option<&FindingMetricsValuePerSeverity>
pub fn open_findings(&self) -> Option<&FindingMetricsValuePerSeverity>
The number of open findings of each severity in an account.
sourcepub fn categories_with_most_findings(&self) -> Option<&[CategoryWithFindingNum]>
pub fn categories_with_most_findings(&self) -> Option<&[CategoryWithFindingNum]>
A list of CategoryWithFindingNum
objects for the top 5 finding categories with the most open findings in an account.
sourcepub fn scans_with_most_open_findings(&self) -> Option<&[ScanNameWithFindingNum]>
pub fn scans_with_most_open_findings(&self) -> Option<&[ScanNameWithFindingNum]>
A list of ScanNameWithFindingNum
objects for the top 3 scans with the most number of open critical findings in an account.
sourcepub fn scans_with_most_open_critical_findings(
&self
) -> Option<&[ScanNameWithFindingNum]>
pub fn scans_with_most_open_critical_findings( &self ) -> Option<&[ScanNameWithFindingNum]>
A list of ScanNameWithFindingNum
objects for the top 3 scans with the most number of open findings in an account.
source§impl MetricsSummary
impl MetricsSummary
sourcepub fn builder() -> MetricsSummaryBuilder
pub fn builder() -> MetricsSummaryBuilder
Creates a new builder-style object to manufacture MetricsSummary
.
Trait Implementations§
source§impl Clone for MetricsSummary
impl Clone for MetricsSummary
source§fn clone(&self) -> MetricsSummary
fn clone(&self) -> MetricsSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MetricsSummary
impl Debug for MetricsSummary
source§impl PartialEq<MetricsSummary> for MetricsSummary
impl PartialEq<MetricsSummary> for MetricsSummary
source§fn eq(&self, other: &MetricsSummary) -> bool
fn eq(&self, other: &MetricsSummary) -> bool
self
and other
values to be equal, and is used
by ==
.