From f54069b2b810c029b66c95a7ba1c944536a60593 Mon Sep 17 00:00:00 2001 From: matt-heery Date: Mon, 16 Sep 2024 17:52:25 +0100 Subject: [PATCH] 222 --- test/unit-test/main.tf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/unit-test/main.tf b/test/unit-test/main.tf index 6912bd4..a5d946b 100644 --- a/test/unit-test/main.tf +++ b/test/unit-test/main.tf @@ -59,22 +59,22 @@ module "s3_with_notification" { } resource "aws_s3_bucket" "non-modulised-bucket" { - #checkov:skip=CKV_AWS_6: "Ensure that S3 bucket has a Public Access block - This is not needed in our tests" + #checkov:skip=CKV2_AWS_6: "Ensure that S3 bucket has a Public Access block - This is not needed in our tests" #checkov:skip=CKV_AWS_18: "Ensure the S3 bucket has access logging enabled - This is not needed in our tests" #checkov:skip=CKV_AWS_21: "Ensure all data stored in the S3 bucket have versioning enabled - This is not needed in our tests" - #checkov:skip=CKV_AWS_61: "Ensure that an S3 bucket has a lifecycle configuration - This is not needed in our tests" - #checkov:skip=CKV_AWS_62: "Ensure S3 buckets should have event notifications enabled - This is not needed in our tests" + #checkov:skip=CKV2_AWS_61: "Ensure that an S3 bucket has a lifecycle configuration - This is not needed in our tests" + #checkov:skip=CKV2_AWS_62: "Ensure S3 buckets should have event notifications enabled - This is not needed in our tests" #checkov:skip=CKV_AWS_144: "Ensure that S3 bucket has cross-region replication enabled - This is not needed in our tests" #checkov:skip=CKV_AWS_145: "Ensure that S3 buckets are encrypted with KMS by default - This is not needed in our tests" bucket = "log-test-bucket-051683332738327" } resource "aws_s3_bucket" "non-modulised-bucket-2" { - #checkov:skip=CKV_AWS_6: "Ensure that S3 bucket has a Public Access block - This is not needed in our tests" + #checkov:skip=CKV2_AWS_6: "Ensure that S3 bucket has a Public Access block - This is not needed in our tests" #checkov:skip=CKV_AWS_18: "Ensure the S3 bucket has access logging enabled - This is not needed in our tests" #checkov:skip=CKV_AWS_21: "Ensure all data stored in the S3 bucket have versioning enabled - This is not needed in our tests" - #checkov:skip=CKV_AWS_61: "Ensure that an S3 bucket has a lifecycle configuration - This is not needed in our tests" - #checkov:skip=CKV_AWS_62: "Ensure S3 buckets should have event notifications enabled - This is not needed in our tests" + #checkov:skip=CKV2_AWS_61: "Ensure that an S3 bucket has a lifecycle configuration - This is not needed in our tests" + #checkov:skip=CKV2_AWS_62: "Ensure S3 buckets should have event notifications enabled - This is not needed in our tests" #checkov:skip=CKV_AWS_144: "Ensure that S3 bucket has cross-region replication enabled - This is not needed in our tests" #checkov:skip=CKV_AWS_145: "Ensure that S3 buckets are encrypted with KMS by default - This is not needed in our tests" bucket = "log-test-bucket-2-051683332738327"