pub struct AnalyzedResource {
pub actions: Option<Vec<String>>,
pub analyzed_at: f64,
pub created_at: f64,
pub error: Option<String>,
pub is_public: bool,
pub resource_arn: String,
pub resource_owner_account: String,
pub resource_type: String,
pub shared_via: Option<Vec<String>>,
pub status: Option<String>,
pub updated_at: f64,
}
Expand description
Contains details about the analyzed resource.
Fields§
§actions: Option<Vec<String>>
The actions that an external principal is granted permission to use by the policy that generated the finding.
analyzed_at: f64
The time at which the resource was analyzed.
created_at: f64
The time at which the finding was created.
error: Option<String>
An error message.
is_public: bool
Indicates whether the policy that generated the finding grants public access to the resource.
resource_arn: String
The ARN of the resource that was analyzed.
resource_owner_account: String
The AWS account ID that owns the resource.
resource_type: String
The type of the resource that was analyzed.
Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
status: Option<String>
The current status of the finding generated from the analyzed resource.
updated_at: f64
The time at which the finding was updated.
Trait Implementations§
Source§impl Clone for AnalyzedResource
impl Clone for AnalyzedResource
Source§fn clone(&self) -> AnalyzedResource
fn clone(&self) -> AnalyzedResource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AnalyzedResource
impl Debug for AnalyzedResource
Source§impl Default for AnalyzedResource
impl Default for AnalyzedResource
Source§fn default() -> AnalyzedResource
fn default() -> AnalyzedResource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnalyzedResource
impl<'de> Deserialize<'de> for AnalyzedResource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AnalyzedResource
impl PartialEq for AnalyzedResource
impl StructuralPartialEq for AnalyzedResource
Auto Trait Implementations§
impl Freeze for AnalyzedResource
impl RefUnwindSafe for AnalyzedResource
impl Send for AnalyzedResource
impl Sync for AnalyzedResource
impl Unpin for AnalyzedResource
impl UnwindSafe for AnalyzedResource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more