Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
SeverityLevel' | |
|
Instances
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.