Struct aws_sdk_securityhub::types::FindingProviderFields
source · #[non_exhaustive]pub struct FindingProviderFields {
pub confidence: Option<i32>,
pub criticality: Option<i32>,
pub related_findings: Option<Vec<RelatedFinding>>,
pub severity: Option<FindingProviderSeverity>,
pub types: Option<Vec<String>>,
}
Expand description
In a BatchImportFindings
request, finding providers use FindingProviderFields
to provide and update values for confidence, criticality, related findings, severity, and types.
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.confidence: Option<i32>
A finding's confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify.
Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence.
criticality: Option<i32>
The level of importance assigned to the resources associated with the finding.
A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources.
A list of findings that are related to the current finding.
severity: Option<FindingProviderSeverity>
The severity of a finding.
types: Option<Vec<String>>
One or more finding types in the format of namespace/category/classifier
that classify a finding.
Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive Data Identifications
Implementations§
source§impl FindingProviderFields
impl FindingProviderFields
sourcepub fn confidence(&self) -> Option<i32>
pub fn confidence(&self) -> Option<i32>
A finding's confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify.
Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence.
sourcepub fn criticality(&self) -> Option<i32>
pub fn criticality(&self) -> Option<i32>
The level of importance assigned to the resources associated with the finding.
A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources.
A list of findings that are related to the current finding.
sourcepub fn severity(&self) -> Option<&FindingProviderSeverity>
pub fn severity(&self) -> Option<&FindingProviderSeverity>
The severity of a finding.
source§impl FindingProviderFields
impl FindingProviderFields
sourcepub fn builder() -> FindingProviderFieldsBuilder
pub fn builder() -> FindingProviderFieldsBuilder
Creates a new builder-style object to manufacture FindingProviderFields
.
Trait Implementations§
source§impl Clone for FindingProviderFields
impl Clone for FindingProviderFields
source§fn clone(&self) -> FindingProviderFields
fn clone(&self) -> FindingProviderFields
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FindingProviderFields
impl Debug for FindingProviderFields
source§impl PartialEq for FindingProviderFields
impl PartialEq for FindingProviderFields
source§fn eq(&self, other: &FindingProviderFields) -> bool
fn eq(&self, other: &FindingProviderFields) -> bool
self
and other
values to be equal, and is used
by ==
.