Control: S3 public access should be blocked at bucket levels
Description
Ensure that AWS Simple Storage Service (AWS S3) buckets are publicly accessible. This rule is non-compliant if an AWS S3 bucket is not listed in the excludedPublicBuckets parameter and bucket level settings are public.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.s3_public_access_block_bucket
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.s3_public_access_block_bucket --share
SQL
This control uses a named query:
s3_public_access_block_bucket