Skip to content

EnableSecurityHubRequest

Source code in docs_src/capo_securityhub/types/enable_security_hub_request.py
class EnableSecurityHubRequest(TypedDict, closed=True):
    tags: NotRequired["capo_securityhub.types.tag_map.TagMap"]
    """<p>The tags to add to the hub resource when you enable Security Hub CSPM.</p>"""
    enable_default_standards: NotRequired["capo_securityhub.types.boolean.Boolean"]
    """<p>Whether to enable the security standards that Security Hub CSPM has designated as automatically enabled. If you don't provide a value for <code>EnableDefaultStandards</code>, it is set to <code>true</code>. To not enable the automatically enabled standards, set <code>EnableDefaultStandards</code> to <code>false</code>.</p>"""
    control_finding_generator: NotRequired[
        "capo_securityhub.types.control_finding_generator.ControlFindingGenerator"
    ]
    """<p>This field, used when enabling Security Hub CSPM, specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to <code>SECURITY_CONTROL</code>, Security Hub CSPM generates a single finding for a control check even when the check applies to multiple enabled standards.</p> <p>If the value for this field is set to <code>STANDARD_CONTROL</code>, Security Hub CSPM generates separate findings for a control check when the check applies to multiple enabled standards.</p> <p>The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is <code>SECURITY_CONTROL</code> if you enabled Security Hub CSPM on or after February 23, 2023.</p>"""

control_finding_generator instance-attribute

control_finding_generator: NotRequired[ControlFindingGenerator]

This field, used when enabling Security Hub CSPM, specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub CSPM generates a single finding for a control check even when the check applies to multiple enabled standards.

If the value for this field is set to STANDARD_CONTROL, Security Hub CSPM generates separate findings for a control check when the check applies to multiple enabled standards.

The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is SECURITY_CONTROL if you enabled Security Hub CSPM on or after February 23, 2023.

enable_default_standards instance-attribute

enable_default_standards: NotRequired[Boolean]

Whether to enable the security standards that Security Hub CSPM has designated as automatically enabled. If you don't provide a value for EnableDefaultStandards, it is set to true. To not enable the automatically enabled standards, set EnableDefaultStandards to false.

tags instance-attribute

tags: NotRequired[TagMap]

The tags to add to the hub resource when you enable Security Hub CSPM.