Struct rusoto_inspector::Finding
source · [−]pub struct Finding {Show 18 fields
pub arn: String,
pub asset_attributes: Option<AssetAttributes>,
pub asset_type: Option<String>,
pub attributes: Vec<Attribute>,
pub confidence: Option<i64>,
pub created_at: f64,
pub description: Option<String>,
pub id: Option<String>,
pub indicator_of_compromise: Option<bool>,
pub numeric_severity: Option<f64>,
pub recommendation: Option<String>,
pub schema_version: Option<i64>,
pub service: Option<String>,
pub service_attributes: Option<InspectorServiceAttributes>,
pub severity: Option<String>,
pub title: Option<String>,
pub updated_at: f64,
pub user_attributes: Vec<Attribute>,
}
Expand description
Contains information about an Amazon Inspector finding. This data type is used as the response element in the DescribeFindings action.
Fields
arn: String
The ARN that specifies the finding.
asset_attributes: Option<AssetAttributes>
A collection of attributes of the host from which the finding is generated.
asset_type: Option<String>
The type of the host from which the finding is generated.
attributes: Vec<Attribute>
The system-defined attributes for the finding.
confidence: Option<i64>
This data element is currently not used.
created_at: f64
The time when the finding was generated.
description: Option<String>
The description of the finding.
id: Option<String>
The ID of the finding.
indicator_of_compromise: Option<bool>
This data element is currently not used.
numeric_severity: Option<f64>
The numeric value of the finding severity.
recommendation: Option<String>
The recommendation for the finding.
schema_version: Option<i64>
The schema version of this data type.
service: Option<String>
The data element is set to "Inspector".
service_attributes: Option<InspectorServiceAttributes>
This data type is used in the Finding data type.
severity: Option<String>
The finding severity. Values can be set to High, Medium, Low, and Informational.
title: Option<String>
The name of the finding.
updated_at: f64
The time when AddAttributesToFindings is called.
user_attributes: Vec<Attribute>
The user-defined attributes that are assigned to the finding.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Finding
impl<'de> Deserialize<'de> for Finding
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Finding
Auto Trait Implementations
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnwindSafe for Finding
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> 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.
sourcefn clone_into(&self, target: &mut T)
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