Struct aws_sdk_accessanalyzer::types::Finding
source · #[non_exhaustive]pub struct Finding { /* private fields */ }
Expand description
Contains information about a finding.
Implementations§
source§impl Finding
impl Finding
sourcepub fn principal(&self) -> Option<&HashMap<String, String>>
pub fn principal(&self) -> Option<&HashMap<String, String>>
The external principal that access to a resource within the zone of trust.
sourcepub fn action(&self) -> Option<&[String]>
pub fn action(&self) -> Option<&[String]>
The action in the analyzed policy statement that an external principal has permission to use.
sourcepub fn is_public(&self) -> Option<bool>
pub fn is_public(&self) -> Option<bool>
Indicates whether the policy that generated the finding allows public access to the resource.
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
The type of the resource identified in the finding.
sourcepub fn condition(&self) -> Option<&HashMap<String, String>>
pub fn condition(&self) -> Option<&HashMap<String, String>>
The condition in the analyzed policy statement that resulted in a finding.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time at which the finding was generated.
sourcepub fn analyzed_at(&self) -> Option<&DateTime>
pub fn analyzed_at(&self) -> Option<&DateTime>
The time at which the resource was analyzed.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The time at which the finding was updated.
sourcepub fn status(&self) -> Option<&FindingStatus>
pub fn status(&self) -> Option<&FindingStatus>
The current status of the finding.
sourcepub fn resource_owner_account(&self) -> Option<&str>
pub fn resource_owner_account(&self) -> Option<&str>
The Amazon Web Services account ID that owns the resource.
sourcepub fn sources(&self) -> Option<&[FindingSource]>
pub fn sources(&self) -> Option<&[FindingSource]>
The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.