Struct aws_sdk_securityhub::model::FindingProviderFields
source · [−]#[non_exhaustive]pub struct FindingProviderFields { /* private fields */ }
Expand description
In a BatchImportFindings
request, finding providers use FindingProviderFields
to provide and update values for confidence, criticality, related findings, severity, and types.
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 · sourcefn borrow_mut(&mut self) -> &mut T
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> 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