- Newest
- Most votes
- Most comments
Yes, you have to set each control separately to look for the same tag key. Otherwise, they'll consider the presence of any tag key as sufficient.
For applying the same settings across multiple accounts, you can use a central configuration policy in the delegated administrator AWS account for Security Hub to apply the same settings across many accounts. https://docs.aws.amazon.com/securityhub/latest/userguide/central-configuration-intro.html
To create the central configuration policy without configuring every control manually via the console, you can use CloudFormation resource types, including AWS::SecurityHub::ConfigurationPolicy: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-configurationpolicy.html
If you only want to configure the tags in one account, you can do that also with the CloudFormation resource type AWS::SecurityHub::SecurityControl: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-securitycontrol.html or via the command-line interface: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/securityhub/update-security-control.html
Relevant content
- asked 2 years ago
