logo
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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. 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.

Should always be Self

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