Control: 1 AWS Config should be enabled
Description
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.
Remediation
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 role
or chooseChoose a role from your account
and 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.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.foundational_security_config_1
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.foundational_security_config_1 --share
SQL
This control uses a named query:
config_enabled_all_regions