Deleting configuration policies
Security Hub CSPM declarative policies are replacing central configuration as the recommended way to manage Security Hub CSPM across an organization. You can't use declarative policies and central configuration in the same organization at the same time. To move your existing configuration without coverage gaps, use the import tool in the Security Hub console. For more information, see Declarative policies and central configuration in Security Hub CSPM.
After creating a configuration policy, the delegated AWS Security Hub CSPM administrator can delete it. Alternatively, the delegated administrator can retain the policy, but disassociate it from specific accounts or organizational units (OUs), or from the root. For instructions on disassociating a policy, see Disassociating a configuration from its targets.
For background information about the benefits of central configuration and how it works, see Understanding central configuration in Security Hub CSPM.
This section explains how to delete configuration policies.
When you delete a configuration policy, it no longer exists for your organization. Target accounts, OUs, and the organization root can no longer use the configuration policy. Targets that were associated with a deleted configuration policy inherit the configuration policy of the closest parent, or become self-managed if the closest parent is self-managed. If you want a target to use a different configuration, you can associate the target with a new configuration policy. For more information, see Creating and associating configuration policies.
We recommend creating and associating at least one configuration policy with your organization to provide adequate security coverage.
Before you can delete a configuration policy, you must disassociate the policy from any accounts, OUs, or the root to which it currently applies.
Choose your preferred method, and follow the steps to delete a configuration policy.