Skip to content

Commit 7cde3d2

Browse files
authored
fix: AWS foundational security controls for S3.8 query reference (#13065)
Closes #13064
1 parent dbf6fbf commit 7cde3d2

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

plugins/source/aws/policies/foundational_security/s3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424

2525
\set check_id 'S3.8'
2626
\echo "Executing check S3.8"
27-
\ir ../queries/s3/account_level_public_access_blocks.sql
27+
\ir ../queries/s3/bucket_level_public_access_blocks.sql

plugins/source/aws/policies/queries/s3/bucket_level_public_access_blocks.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ select
33
:'execution_time' as execution_time,
44
:'framework' as framework,
55
:'check_id' as check_id,
6-
'S3 Block Public Access (bucket) setting should be enabled' as title,
6+
'S3 Block Public Access setting should be enabled at the bucket-level' as title,
77
account_id,
88
arn AS resource_id,
99
case when

website/pages/docs/plugins/sources/aws/policies.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ AWS Foundational Security Best Practices performs the following checks:
394394
- S3 buckets should have server-side encryption enabled
395395
- S3 buckets should deny non-HTTPS requests
396396
- Amazon S3 permissions granted to other AWS accounts in bucket policies should be restricted
397+
- S3 Block Public Access setting should be enabled at the bucket-level
397398
- Amazon SageMaker notebook instances should not have direct internet access
398399
- Secrets Manager secrets should have automatic rotation enabled
399400
- Secrets Manager secrets configured with automatic rotation should rotate successfully

website/tables/aws/aws_s3_buckets.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,12 @@ FROM
6262
INNER JOIN aws_s3_buckets AS b ON t.s3_bucket_name = b.name;
6363
```
6464

65-
### S3 Block Public Access (bucket) setting should be enabled
65+
### S3 Block Public Access setting should be enabled at the bucket-level
6666

6767
```sql
6868
SELECT
69-
'S3 Block Public Access (bucket) setting should be enabled' AS title,
69+
'S3 Block Public Access setting should be enabled at the bucket-level'
70+
AS title,
7071
account_id,
7172
arn AS resource_id,
7273
CASE

0 commit comments

Comments
 (0)