#[non_exhaustive]pub struct ExternalAccessDetails {
pub action: Option<Vec<String>>,
pub condition: HashMap<String, String>,
pub is_public: Option<bool>,
pub principal: Option<HashMap<String, String>>,
pub sources: Option<Vec<FindingSource>>,
}Expand description
Contains information about an external access 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.action: Option<Vec<String>>The action in the analyzed policy statement that an external principal has permission to use.
condition: HashMap<String, String>The condition in the analyzed policy statement that resulted in an external access finding.
is_public: Option<bool>Specifies whether the external access finding is public.
principal: Option<HashMap<String, String>>The external principal that has access to a resource within the zone of trust.
sources: Option<Vec<FindingSource>>The sources of the external access finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
Implementations§
source§impl ExternalAccessDetails
impl ExternalAccessDetails
sourcepub fn action(&self) -> &[String]
pub fn action(&self) -> &[String]
The action in the analyzed policy statement that an external principal has permission to use.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .action.is_none().
sourcepub fn condition(&self) -> &HashMap<String, String>
pub fn condition(&self) -> &HashMap<String, String>
The condition in the analyzed policy statement that resulted in an external access finding.
sourcepub fn is_public(&self) -> Option<bool>
pub fn is_public(&self) -> Option<bool>
Specifies whether the external access finding is public.
sourcepub fn principal(&self) -> Option<&HashMap<String, String>>
pub fn principal(&self) -> Option<&HashMap<String, String>>
The external principal that has access to a resource within the zone of trust.
sourcepub fn sources(&self) -> &[FindingSource]
pub fn sources(&self) -> &[FindingSource]
The sources of the external access finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sources.is_none().
source§impl ExternalAccessDetails
impl ExternalAccessDetails
sourcepub fn builder() -> ExternalAccessDetailsBuilder
pub fn builder() -> ExternalAccessDetailsBuilder
Creates a new builder-style object to manufacture ExternalAccessDetails.
Trait Implementations§
source§impl Clone for ExternalAccessDetails
impl Clone for ExternalAccessDetails
source§fn clone(&self) -> ExternalAccessDetails
fn clone(&self) -> ExternalAccessDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExternalAccessDetails
impl Debug for ExternalAccessDetails
source§impl PartialEq for ExternalAccessDetails
impl PartialEq for ExternalAccessDetails
source§fn eq(&self, other: &ExternalAccessDetails) -> bool
fn eq(&self, other: &ExternalAccessDetails) -> bool
self and other values to be equal, and is used
by ==.