Closed HikaruEgashira closed 3 months ago
Thank you for watching my PR.
I fixed tf/aws/storage-publicly-accessible because of aws_s3_bucket.acl default value is private.
tf/aws/storage-publicly-accessible
aws_s3_bucket.acl
private
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket#acl
@HikaruEgashira Can you update the test and remove the following line:
https://github.com/advanced-security/codeql-extractor-iac/blob/6e898dfe1af96fc1788b815437f73ba38d91fa8e/ql/test/queries-tests/Terraform/AWS/S3/PublicBucket/PublicBucket.expected#L2
Thank you for watching my PR.
I fixed
tf/aws/storage-publicly-accessible
because ofaws_s3_bucket.acl
default value isprivate
.Reference
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket#acl