HEX
Server: Apache
System: Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01-KIT-DIGITAL 6.5.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:10:09 UTC 2024 x86_64
User: www-data (33)
PHP: 8.2.10-2ubuntu2.2
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/awscli/examples/securityhub/enable-security-hub.rst
**To enable AWS Security Hub**

The following ``enable-security-hub`` example enables AWS Security Hub for the requesting account. It configures Security Hub to enable the default standards. For the hub resource, it assigns the value ``Security`` to the tag ``Department``. ::

    aws securityhub enable-security-hub \
        --enable-default-standards \
        --tags '{"Department": "Security"}'

This command produces no output.

For more information, see `Enabling Security Hub <https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-settingup.html#securityhub-enable>`__ in the *AWS Security Hub User Guide*.