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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .related_findings.is_none()
.
sourcepub fn severity(&self) -> Option<&FindingProviderSeverity>
pub fn severity(&self) -> Option<&FindingProviderSeverity>
The severity of a finding.
sourcepub fn types(&self) -> &[String]
pub fn types(&self) -> &[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
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .types.is_none()
.
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 ==
.impl StructuralPartialEq for FindingProviderFields
Auto Trait Implementations§
impl Freeze for FindingProviderFields
impl RefUnwindSafe for FindingProviderFields
impl Send for FindingProviderFields
impl Sync for FindingProviderFields
impl Unpin for FindingProviderFields
impl UnwindSafe for FindingProviderFields
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> 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