libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.Insight

Description

 
Synopsis

Documentation

data Insight Source #

Contains information about a Security Hub insight.

See: newInsight smart constructor.

Constructors

Insight' 

Fields

  • insightArn :: Text

    The ARN of a Security Hub insight.

  • name :: Text

    The name of a Security Hub insight.

  • filters :: 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.

  • groupByAttribute :: Text

    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.

Instances

Instances details
Eq Insight Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Insight

Methods

(==) :: Insight -> Insight -> Bool #

(/=) :: Insight -> Insight -> Bool #

Read Insight Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Insight

Show Insight Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Insight

Generic Insight Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Insight

Associated Types

type Rep Insight :: Type -> Type #

Methods

from :: Insight -> Rep Insight x #

to :: Rep Insight x -> Insight #

NFData Insight Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Insight

Methods

rnf :: Insight -> () #

Hashable Insight Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Insight

Methods

hashWithSalt :: Int -> Insight -> Int #

hash :: Insight -> Int #

FromJSON Insight Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Insight

type Rep Insight Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Insight

type Rep Insight = D1 ('MetaData "Insight" "Amazonka.SecurityHub.Types.Insight" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "Insight'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "insightArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AwsSecurityFindingFilters) :*: S1 ('MetaSel ('Just "groupByAttribute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newInsight Source #

Create a value of Insight with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:insightArn:Insight', insight_insightArn - The ARN of a Security Hub insight.

$sel:name:Insight', insight_name - The name of a Security Hub insight.

$sel:filters:Insight', insight_filters - 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.

$sel:groupByAttribute:Insight', insight_groupByAttribute - 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.

insight_insightArn :: Lens' Insight Text Source #

The ARN of a Security Hub insight.

insight_name :: Lens' Insight Text Source #

The name of a Security Hub insight.

insight_filters :: Lens' Insight AwsSecurityFindingFilters Source #

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.

insight_groupByAttribute :: Lens' Insight Text Source #

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.