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. You can filter by up to ten finding attributes. For each attribute, you can provide up to 20 filter values. 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. You can filter by up to ten finding attributes. For each attribute, you can provide up to 20 filter values. 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.
Trait Implementations§
source§impl PartialEq for Insight
impl PartialEq for Insight
impl StructuralPartialEq for Insight
Auto Trait Implementations§
impl Freeze for Insight
impl RefUnwindSafe for Insight
impl Send for Insight
impl Sync for Insight
impl Unpin for Insight
impl UnwindSafe for Insight
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more