#[non_exhaustive]
pub struct Finding {
Show 18 fields pub account_id: Option<String>, pub archived: bool, pub category: Option<FindingCategory>, pub classification_details: Option<ClassificationDetails>, pub count: i64, pub created_at: Option<DateTime>, pub description: Option<String>, pub id: Option<String>, pub partition: Option<String>, pub policy_details: Option<PolicyDetails>, pub region: Option<String>, pub resources_affected: Option<ResourcesAffected>, pub sample: bool, pub schema_version: Option<String>, pub severity: Option<Severity>, pub title: Option<String>, pub type: Option<FindingType>, pub updated_at: Option<DateTime>,
}
Expand description

Provides the details of a finding.

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.
account_id: Option<String>

The unique identifier for the Amazon Web Services account that the finding applies to. This is typically the account that owns the affected resource.

archived: bool

Specifies whether the finding is archived (suppressed).

category: Option<FindingCategory>

The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.

classification_details: Option<ClassificationDetails>

The details of a sensitive data finding. This value is null for a policy finding.

count: i64

The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.

created_at: Option<DateTime>

The date and time, in UTC and extended ISO 8601 format, when the finding was created.

description: Option<String>

The description of the finding.

id: Option<String>

The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.

partition: Option<String>

The Amazon Web Services partition that Amazon Macie created the finding in.

policy_details: Option<PolicyDetails>

The details of a policy finding. This value is null for a sensitive data finding.

region: Option<String>

The Amazon Web Services Region that Amazon Macie created the finding in.

resources_affected: Option<ResourcesAffected>

The resources that the finding applies to.

sample: bool

Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.

schema_version: Option<String>

The version of the schema that was used to define the data structures in the finding.

severity: Option<Severity>

The severity level and score for the finding.

title: Option<String>

The brief description of the finding.

type: Option<FindingType>

The type of the finding.

updated_at: Option<DateTime>

The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.

Implementations

The unique identifier for the Amazon Web Services account that the finding applies to. This is typically the account that owns the affected resource.

Specifies whether the finding is archived (suppressed).

The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.

The details of a sensitive data finding. This value is null for a policy finding.

The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.

The date and time, in UTC and extended ISO 8601 format, when the finding was created.

The description of the finding.

The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.

The Amazon Web Services partition that Amazon Macie created the finding in.

The details of a policy finding. This value is null for a sensitive data finding.

The Amazon Web Services Region that Amazon Macie created the finding in.

The resources that the finding applies to.

Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.

The version of the schema that was used to define the data structures in the finding.

The severity level and score for the finding.

The brief description of the finding.

The type of the finding.

The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.

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