amazonka-inspector2-2.0: Amazon Inspector2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Inspector2.Types.SeverityCounts

Description

 
Synopsis

Documentation

data SeverityCounts Source #

An object that contains the counts of aggregated finding per severity.

See: newSeverityCounts smart constructor.

Constructors

SeverityCounts' 

Fields

Instances

Instances details
FromJSON SeverityCounts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.SeverityCounts

Generic SeverityCounts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.SeverityCounts

Associated Types

type Rep SeverityCounts :: Type -> Type #

Read SeverityCounts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.SeverityCounts

Show SeverityCounts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.SeverityCounts

NFData SeverityCounts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.SeverityCounts

Methods

rnf :: SeverityCounts -> () #

Eq SeverityCounts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.SeverityCounts

Hashable SeverityCounts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.SeverityCounts

type Rep SeverityCounts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.SeverityCounts

type Rep SeverityCounts = D1 ('MetaData "SeverityCounts" "Amazonka.Inspector2.Types.SeverityCounts" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "SeverityCounts'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "all") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "critical") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "high") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "medium") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))

newSeverityCounts :: SeverityCounts Source #

Create a value of SeverityCounts 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:all:SeverityCounts', severityCounts_all - The total count of findings from all severities.

$sel:critical:SeverityCounts', severityCounts_critical - The total count of critical severity findings.

$sel:high:SeverityCounts', severityCounts_high - The total count of high severity findings.

$sel:medium:SeverityCounts', severityCounts_medium - The total count of medium severity findings.

severityCounts_all :: Lens' SeverityCounts (Maybe Integer) Source #

The total count of findings from all severities.

severityCounts_critical :: Lens' SeverityCounts (Maybe Integer) Source #

The total count of critical severity findings.

severityCounts_high :: Lens' SeverityCounts (Maybe Integer) Source #

The total count of high severity findings.

severityCounts_medium :: Lens' SeverityCounts (Maybe Integer) Source #

The total count of medium severity findings.