Struct aws_sdk_securityhub::model::FindingProviderFields
source · [−]#[non_exhaustive]pub struct FindingProviderFields {
pub confidence: i32,
pub criticality: 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: 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: 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
sourceimpl FindingProviderFields
impl FindingProviderFields
sourcepub fn confidence(&self) -> i32
pub fn confidence(&self) -> 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) -> i32
pub fn criticality(&self) -> 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.
sourceimpl FindingProviderFields
impl FindingProviderFields
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FindingProviderFields
Trait Implementations
sourceimpl Clone for FindingProviderFields
impl Clone for FindingProviderFields
sourcefn clone(&self) -> FindingProviderFields
fn clone(&self) -> FindingProviderFields
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FindingProviderFields
impl Debug for FindingProviderFields
sourceimpl PartialEq<FindingProviderFields> for FindingProviderFields
impl PartialEq<FindingProviderFields> for FindingProviderFields
sourcefn eq(&self, other: &FindingProviderFields) -> bool
fn eq(&self, other: &FindingProviderFields) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FindingProviderFields) -> bool
fn ne(&self, other: &FindingProviderFields) -> bool
This method tests for !=
.
impl StructuralPartialEq for FindingProviderFields
Auto Trait Implementations
impl RefUnwindSafe for FindingProviderFields
impl Send for FindingProviderFields
impl Sync for FindingProviderFields
impl Unpin for FindingProviderFields
impl UnwindSafe for FindingProviderFields
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more