Skip to content

Threat

Source code in docs_src/capo_securityhub/types/threat.py
class Threat(TypedDict, closed=True):
    name: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The name of the threat. </p> <p>Length Constraints: Minimum of 1 length. Maximum of 128 length.</p>"""
    severity: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The severity of the threat. </p> <p>Length Constraints: Minimum of 1 length. Maximum of 128 length.</p>"""
    item_count: NotRequired["capo_securityhub.types.integer.Integer"]
    """<p>This total number of items in which the threat has been detected. </p>"""
    file_paths: NotRequired["capo_securityhub.types.file_path_list.FilePathList"]
    """<p>Provides information about the file paths that were affected by the threat. </p> <p>Array Members: Minimum number of 1 item. Maximum number of 5 items.</p>"""

file_paths instance-attribute

file_paths: NotRequired[FilePathList]

Provides information about the file paths that were affected by the threat.

Array Members: Minimum number of 1 item. Maximum number of 5 items.

item_count instance-attribute

item_count: NotRequired[Integer]

This total number of items in which the threat has been detected.

name instance-attribute

name: NotRequired[NonEmptyString]

The name of the threat.

Length Constraints: Minimum of 1 length. Maximum of 128 length.

severity instance-attribute

severity: NotRequired[NonEmptyString]

The severity of the threat.

Length Constraints: Minimum of 1 length. Maximum of 128 length.