Skip to content

StatusReason

Source code in docs_src/capo_securityhub/types/status_reason.py
class StatusReason(TypedDict, closed=True):
    reason_code: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>A code that represents a reason for the control status. For the list of status reason codes and their meanings, see <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/controls-findings-create-update.html#control-findings-asff-compliance">Compliance details for control findings</a> in the <i>Security Hub CSPM User Guide</i>. </p>"""
    description: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The corresponding description for the status reason code.</p>"""

description instance-attribute

description: NotRequired[NonEmptyString]

The corresponding description for the status reason code.

reason_code instance-attribute

reason_code: NotRequired[NonEmptyString]

A code that represents a reason for the control status. For the list of status reason codes and their meanings, see Compliance details for control findings in the Security Hub CSPM User Guide.