Disabling or enabling a security standard
You can disable or enable each supported security standard in Security Hub. Some security standards are enabled by default, but you can opt out of auto-enabled standards.
Security Hub is Regional. When you enable or disable a security standard, it is enabled or disabled only in the current Region or in the Regions that you specify.
When you disable a security standard, the following occurs:
-
The checks for its controls are no longer performed.
-
No additional findings are generated for its controls.
-
Existing findings are archived automatically after three to five days (note that this is best effort and not guaranteed).
-
The related AWS Config rules that Security Hub created are removed.
This normally occurs within a few minutes after you disable the standard, but might take longer.
If the first request to delete the AWS Config rules fails, then Security Hub retries every 12 hours. However, if you disabled Security Hub or you do not have any other standards enabled, then Security Hub cannot retry the request, meaning that it cannot delete the AWS Config rules. If this occurs, and you need to have AWS Config rules removed, contact AWS Support.
Before you enable any security standards, make sure that you have enabled AWS Config and configured resource recording. See Enabling and configuring AWS Config.
When you enable a security standard, all of the controls for that standard are enabled by default. You can then disable individual controls. See Disabling and enabling individual controls.
When you enable Security Hub, Security Hub calculates the initial security score for a standard within 30 minutes after your first visit
to the Summary page or Security standards page on the Security Hub console. Scores are only generated
for standards that are enabled when you visit those pages. In addition, AWS Config resource recording must be configured for scores to appear.
After first-time score generation, Security Hub updates the security score every 24 hours. Security Hub displays a timestamp to indicate when a security score
was last updated. To view a list of standards that are currently enabled, use the GetEnabledStandards API operation.
It can take up to 24 hours for first-time security scores to be generated in the China Regions and AWS GovCloud (US) Region.
Auto-enabled standards for new organization accounts
If you are using the integration with AWS Organizations, Security Hub automatically enables default security standards for new member accounts.
Currently, the default security standards that are automatically enabled are the AWS Foundational Security Best Practices (FSBP) standard and the Center for Internet Security (CIS) AWS Foundations Benchmark standard. For more information, see Available security standards in AWS Security Hub.
In order to auto-enable standards, you must first automatically enable Security Hub for new member accounts in your organization. If you turn off automatic enablement of Security Hub in new member accounts, Security Hub automatically turns off automatic enablement of default standards in new member accounts. See Automatically enabling new organization accounts.
Opt out of auto-enabled standards
If you do not want to auto-enable the default security standards on new member accounts, follow these steps.
To opt out of auto-enabled standards (console)
Open the AWS Security Hub console at https://console.aws.amazon.com/securityhub/
. -
On the Security Hub navigation bar, choose Settings.
-
On the Accounts tab, turn off Auto-enable standards.
To opt out of auto-enabled standards (Security Hub API, AWS CLI)
-
Security Hub API – Use the
UpdateOrganizationConfigurationoperation from your Security Hub administrator account. The default value for theAutoEnabledStandardsparameter is equal toDEFAULT. To opt out of auto-enabled standards in new member accounts, setAutoEnableStandardsequal toNONE. -
AWS CLI – At the command line, run the
update-organization-configurationcommand.aws securityhub update-organization-configuration --auto-enable-standards
Disabling a security standard
On the Security standards page, each enabled standard includes an option to disable the standard. Follow these steps to disable a standard.
To disable a security standard (console)
Open the AWS Security Hub console at https://console.aws.amazon.com/securityhub/
. -
Confirm that you are using Security Hub in the Region in which you want to disable the standard.
-
In the Security Hub navigation pane, choose Security standards.
-
For the standard you want to disable, choose Disable.
To disable a security standard (Security Hub API, AWS CLI)
-
Security Hub API – Use the
BatchDisableStandardsoperation. For each standard to disable, you provide the ARN of your subscription to the standard. To get the subscription ARNs for your enabled standards, use theGetEnabledStandardsoperation. -
AWS CLI – At the command line, run the
batch-disable-standardscommand.aws securityhub batch-disable-standards --standards-subscription-arns<subscription ARN>Example
aws securityhub batch-disable-standards --standards-subscription-arns "arn:aws:securityhub:us-west-1:123456789012:subscription/aws-foundational-security-best-practices/v/1.0.0"
Enabling a security standard
On the Security standards page, each disabled standard includes an option to enable the standard. Follow these steps to enable a standard.
To enable a security standard (console)
Open the AWS Security Hub console at https://console.aws.amazon.com/securityhub/
. -
Confirm that you are using Security Hub in the Region in which you want to enable the standard.
-
In the Security Hub navigation pane, choose Security standards.
-
For the standard you want to enable, choose Enable.
To enable a security standard (Security Hub API, AWS CLI)
-
Security Hub API – Use the
BatchEnableStandardsoperation. To identify a standard to enable, you must provide the standard ARN. To obtain the standard ARN, use theDescribeStandardsoperation. -
AWS CLI – At the command line, run the
batch-enable-standardscommand.aws securityhub batch-enable-standards --standards-subscription-requests '{"StandardsArn": "<standard ARN>"}'Example
aws securityhub batch-enable-standards --standards-subscription-requests '{"StandardsArn":"arn:aws:securityhub:us-east-1::standards/aws-foundational-security-best-practices/v/1.0.0"}'

