From cc36916fba88ff94cbc2ed1704ac54b99d819c57 Mon Sep 17 00:00:00 2001 From: "prisma-cloud-devsecops[bot]" <89982750+prisma-cloud-devsecops[bot]@users.noreply.github.com> Date: Sun, 10 Sep 2023 21:45:28 +0000 Subject: [PATCH] Prisma Cloud has found BC_AWS_S3_22 and 1 other error(s) --- tests/cloudformation/resources/json/base_expected.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/cloudformation/resources/json/base_expected.json b/tests/cloudformation/resources/json/base_expected.json index eb494b591..e1137ae46 100644 --- a/tests/cloudformation/resources/json/base_expected.json +++ b/tests/cloudformation/resources/json/base_expected.json @@ -4,7 +4,6 @@ "S3Bucket": { "Type": "AWS::S3::Bucket", "Properties": { - "AccessControl": "PublicRead", "WebsiteConfiguration": { "IndexDocument": "index.html", "ErrorDocument": "error.html" @@ -22,7 +21,10 @@ "Key": "another_tag", "Value": "another_val" } - ] + ], + "PublicAccessBlockConfiguration": { + "RestrictPublicBuckets": true + } }, "DeletionPolicy": "Retain" }