How to Find Unencrypted AWS S3 Buckets
Amazon S3 provides a way to set the default encryption behavior for an S3 bucket to ensure data is encrypted at rest.
This security check is part of the CIS Amazon Web Services Benchmarks and is rated severity medium.
This guide assumes that you have already installed and configured Resoto to collect your AWS resources.
Execute the following
searchcommand in Resoto Shell or Resoto UI:
> search is(aws_s3_bucket) and not bucket_encryption_rules[*].sse_algorithm!=null
kind=aws_s3_bucket, ..., region=resoto-poweruser
kind=aws_s3_bucket, ..., account=poweruser-team
searchcommand into the
> search is(aws_s3_bucket) and not bucket_encryption_rules[*].sse_algorithm!=null | dump
The command output will list the details of all non-compliant
Enable encryption at rest for matching S3 buckets.
Please refer to the AWS S3 documentation for details.