amazonka-maciev2-2.0: Amazon Macie 2 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.MacieV2.Types.SeverityLevel

Description

 
Synopsis

Documentation

data SeverityLevel Source #

Specifies a severity level for findings that a custom data identifier produces. A severity level determines which severity is assigned to the findings, based on the number of occurrences of text that matches the custom data identifier's detection criteria.

See: newSeverityLevel smart constructor.

Constructors

SeverityLevel' 

Fields

  • occurrencesThreshold :: Integer

    The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).

  • severity :: DataIdentifierSeverity

    The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.

Instances

Instances details
FromJSON SeverityLevel Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SeverityLevel

ToJSON SeverityLevel Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SeverityLevel

Generic SeverityLevel Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SeverityLevel

Associated Types

type Rep SeverityLevel :: Type -> Type #

Read SeverityLevel Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SeverityLevel

Show SeverityLevel Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SeverityLevel

NFData SeverityLevel Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SeverityLevel

Methods

rnf :: SeverityLevel -> () #

Eq SeverityLevel Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SeverityLevel

Hashable SeverityLevel Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SeverityLevel

type Rep SeverityLevel Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SeverityLevel

type Rep SeverityLevel = D1 ('MetaData "SeverityLevel" "Amazonka.MacieV2.Types.SeverityLevel" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "SeverityLevel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "occurrencesThreshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: S1 ('MetaSel ('Just "severity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataIdentifierSeverity)))

newSeverityLevel Source #

Create a value of SeverityLevel 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:occurrencesThreshold:SeverityLevel', severityLevel_occurrencesThreshold - The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).

$sel:severity:SeverityLevel', severityLevel_severity - The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.

severityLevel_occurrencesThreshold :: Lens' SeverityLevel Integer Source #

The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).

severityLevel_severity :: Lens' SeverityLevel DataIdentifierSeverity Source #

The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.