Enables Security Hub for your account in the current Region or the Region you specify in the request.
When you enable Security Hub, you grant to Security Hub the permissions necessary to gather findings from other services that are integrated with Security Hub.
When you use the
enable_security_hub
operation to
enable Security Hub, you also automatically enable the following
standards.
CIS AWS Foundations
AWS Foundational Security Best Practices
You do not enable the Payment Card Industry Data Security Standard (PCI DSS) standard.
To not enable the automatically enabled standards, set
EnableDefaultStandards
to false
.
After you enable Security Hub, to enable a standard, use the
batch_enable_standards
operation. To disable a standard, use the
batch_disable_standards
operation.
To learn more, see Setting Up AWS Security Hub in the AWS Security Hub User Guide.
securityhub_enable_security_hub(Tags, EnableDefaultStandards)
An empty list.
The tags to add to the hub resource when you enable Security Hub.
Whether to enable the security standards that Security Hub has
designated as automatically enabled. If you do not provide a value for
EnableDefaultStandards
, it is set to true
. To not enable the
automatically enabled standards, set EnableDefaultStandards
to
false
.
svc$enable_security_hub(
Tags = list(
"string"
),
EnableDefaultStandards = TRUE|FALSE
)