Control: 1 AWS Config should be enabled
AWS Config rule: None. To run this check, Security Hub runs through audit steps prescribed for it in Securing Amazon Web Services. No AWS Config managed rules are created in your AWS environment for this check.
This control checks whether AWS Config is enabled in the account for the local Region and is recording all resources.
It does not check for change detection for all critical system files and content files, as AWS Config supports only a subset of resource types.
The AWS Config service performs configuration management of supported AWS resources in your account and delivers log files to you. The recorded information includes the configuration item (AWS resource), relationships between configuration items, and any configuration changes between resources.
To configure AWS Config settings
- Open the AWS Config console.
- Choose the Region to configure AWS Config in.
- If you have not used AWS Config before, choose Get started.
- On the Settings page, do the following:
- Under Resource types to record, choose Record all resources supported in this region and Include global resources (e.g., AWS IAM resources).
- Under Amazon S3 bucket, either specify the bucket to use or create a bucket and optionally include a prefix.
- Under Amazon SNS topic, either select an Amazon SNS topic from your account or create one. For more information about Amazon SNS, see the Amazon Simple Notification Service Getting Started Guide.
- Under AWS Config role, either choose
Create AWS Config service-linked roleor choose
Choose a role from your accountand then choose the role to use.
- Choose Next.
- On the AWS Config rules page, choose Skip.
- Choose Confirm.
For more information about using AWS Config from the AWS CLI, see the AWS Config Developer Guide.
You can also use an AWS CloudFormation template to automate this process. For more information, see the AWS CloudFormation User Guide.
steampipe check aws_compliance.control.pci_v321_config_1
This control uses a named query:config_enabled_all_regions