pub struct Finding {Show 14 fields
pub action: Option<Vec<String>>,
pub analyzed_at: f64,
pub condition: HashMap<String, String>,
pub created_at: f64,
pub error: Option<String>,
pub id: String,
pub is_public: Option<bool>,
pub principal: Option<HashMap<String, String>>,
pub resource: Option<String>,
pub resource_owner_account: String,
pub resource_type: String,
pub sources: Option<Vec<FindingSource>>,
pub status: String,
pub updated_at: f64,
}
Expand description
Contains information about a finding.
Fields§
§action: Option<Vec<String>>
The action in the analyzed policy statement that an external principal has permission to use.
analyzed_at: f64
The time at which the resource was analyzed.
condition: HashMap<String, String>
The condition in the analyzed policy statement that resulted in a finding.
created_at: f64
The time at which the finding was generated.
error: Option<String>
An error.
id: String
The ID of the finding.
is_public: Option<bool>
Indicates whether the policy that generated the finding allows public access to the resource.
principal: Option<HashMap<String, String>>
The external principal that access to a resource within the zone of trust.
resource: Option<String>
The resource that an external principal has access to.
resource_owner_account: String
The AWS account ID that owns the resource.
resource_type: String
The type of the resource reported in the finding.
sources: Option<Vec<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.
status: String
The current status of the finding.
updated_at: f64
The time at which the finding was updated.