Skip to content

SeverityLevel

Source code in docs_src/capo_macie2/types/severity_level.py
class SeverityLevel(TypedDict, closed=True):
    occurrences_threshold: NotRequired["capo_macie2.types.__long.__long"]
    """<p>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).</p>"""
    severity: NotRequired[
        "capo_macie2.types.data_identifier_severity.DataIdentifierSeverity"
    ]
    """<p>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.</p>"""

occurrences_threshold instance-attribute

occurrences_threshold: NotRequired[__long]

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 instance-attribute

severity: NotRequired[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.