Struct aws_sdk_securityhub::types::Insight
source · #[non_exhaustive]pub struct Insight {
pub insight_arn: Option<String>,
pub name: Option<String>,
pub filters: Option<AwsSecurityFindingFilters>,
pub group_by_attribute: Option<String>,
}
Expand description
Contains information about a Security Hub insight.
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.insight_arn: Option<String>
The ARN of a Security Hub insight.
name: Option<String>
The name of a Security Hub insight.
filters: Option<AwsSecurityFindingFilters>
One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.
group_by_attribute: Option<String>
The grouping attribute for the insight's findings. Indicates how to group the matching findings, and identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.
Implementations§
source§impl Insight
impl Insight
sourcepub fn insight_arn(&self) -> Option<&str>
pub fn insight_arn(&self) -> Option<&str>
The ARN of a Security Hub insight.
sourcepub fn filters(&self) -> Option<&AwsSecurityFindingFilters>
pub fn filters(&self) -> Option<&AwsSecurityFindingFilters>
One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.
sourcepub fn group_by_attribute(&self) -> Option<&str>
pub fn group_by_attribute(&self) -> Option<&str>
The grouping attribute for the insight's findings. Indicates how to group the matching findings, and identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.