Struct aws_sdk_macie2::model::Finding
source · [−]#[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
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
sourceimpl Finding
impl Finding
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The unique identifier for the Amazon Web Services account that the finding applies to. This is typically the account that owns the affected resource.
sourcepub fn category(&self) -> Option<&FindingCategory>
pub fn category(&self) -> Option<&FindingCategory>
The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.
sourcepub fn classification_details(&self) -> Option<&ClassificationDetails>
pub fn classification_details(&self) -> Option<&ClassificationDetails>
The details of a sensitive data finding. This value is null for a policy finding.
sourcepub fn count(&self) -> i64
pub fn count(&self) -> 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.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time, in UTC and extended ISO 8601 format, when the finding was created.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the finding.
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
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.
sourcepub fn partition(&self) -> Option<&str>
pub fn partition(&self) -> Option<&str>
The Amazon Web Services partition that Amazon Macie created the finding in.
sourcepub fn policy_details(&self) -> Option<&PolicyDetails>
pub fn policy_details(&self) -> Option<&PolicyDetails>
The details of a policy finding. This value is null for a sensitive data finding.
sourcepub fn region(&self) -> Option<&str>
pub fn region(&self) -> Option<&str>
The Amazon Web Services Region that Amazon Macie created the finding in.
sourcepub fn resources_affected(&self) -> Option<&ResourcesAffected>
pub fn resources_affected(&self) -> Option<&ResourcesAffected>
The resources that the finding applies to.
sourcepub fn sample(&self) -> bool
pub fn sample(&self) -> 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.
sourcepub fn schema_version(&self) -> Option<&str>
pub fn schema_version(&self) -> Option<&str>
The version of the schema that was used to define the data structures in the finding.
sourcepub fn type(&self) -> Option<&FindingType>
pub fn type(&self) -> Option<&FindingType>
The type of the finding.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> 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.
Trait Implementations
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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