Enables Security Hub CSPM for your account in the current Region or the Region you specify in the request
Source:R/securityhub_operations.R
securityhub_enable_security_hub.RdEnables Security Hub CSPM for your account in the current Region or the Region you specify in the request.
See https://www.paws-r-sdk.com/docs/securityhub_enable_security_hub/ for full documentation.
Usage
securityhub_enable_security_hub(
Tags = NULL,
EnableDefaultStandards = NULL,
ControlFindingGenerator = NULL
)Arguments
The tags to add to the hub resource when you enable Security Hub CSPM.
- EnableDefaultStandards
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 totrue. To not enable the automatically enabled standards, setEnableDefaultStandardstofalse.- 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_CONTROLif you enabled Security Hub CSPM on or after February 23, 2023.