#[non_exhaustive]
pub struct Finding {
Show 18 fields pub arn: Option<String>, pub schema_version: i32, pub service: Option<String>, pub service_attributes: Option<InspectorServiceAttributes>, pub asset_type: Option<AssetType>, pub asset_attributes: Option<AssetAttributes>, pub id: Option<String>, pub title: Option<String>, pub description: Option<String>, pub recommendation: Option<String>, pub severity: Option<Severity>, pub numeric_severity: f64, pub confidence: i32, pub indicator_of_compromise: Option<bool>, pub attributes: Option<Vec<Attribute>>, pub user_attributes: Option<Vec<Attribute>>, pub created_at: Option<DateTime>, pub updated_at: Option<DateTime>,
}
Expand description

Contains information about an Amazon Inspector finding. This data type is used as the response element in the DescribeFindings action.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
arn: Option<String>

The ARN that specifies the finding.

schema_version: i32

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.

asset_type: Option<AssetType>

The type of the host from which the finding is generated.

asset_attributes: Option<AssetAttributes>

A collection of attributes of the host from which the finding is generated.

id: Option<String>

The ID of the finding.

title: Option<String>

The name of the finding.

description: Option<String>

The description of the finding.

recommendation: Option<String>

The recommendation for the finding.

severity: Option<Severity>

The finding severity. Values can be set to High, Medium, Low, and Informational.

numeric_severity: f64

The numeric value of the finding severity.

confidence: i32

This data element is currently not used.

indicator_of_compromise: Option<bool>

This data element is currently not used.

attributes: Option<Vec<Attribute>>

The system-defined attributes for the finding.

user_attributes: Option<Vec<Attribute>>

The user-defined attributes that are assigned to the finding.

created_at: Option<DateTime>

The time when the finding was generated.

updated_at: Option<DateTime>

The time when AddAttributesToFindings is called.

Implementations

The ARN that specifies the finding.

The schema version of this data type.

The data element is set to "Inspector".

This data type is used in the Finding data type.

The type of the host from which the finding is generated.

A collection of attributes of the host from which the finding is generated.

The ID of the finding.

The name of the finding.

The description of the finding.

The recommendation for the finding.

The finding severity. Values can be set to High, Medium, Low, and Informational.

The numeric value of the finding severity.

This data element is currently not used.

This data element is currently not used.

The system-defined attributes for the finding.

The user-defined attributes that are assigned to the finding.

The time when the finding was generated.

The time when AddAttributesToFindings is called.

Creates a new builder-style object to manufacture Finding

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more