Skip to content

Commit

Permalink
ignore trivy checks
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-heery committed Sep 16, 2024
1 parent f54069b commit 4a78e40
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/unit-test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ resource "aws_s3_bucket" "non-modulised-bucket" {
#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"
#trivy:ignore:AVD-AWS-0086
#trivy:ignore:AVD-AWS-0087
#trivy:ignore:AVD-AWS-0088
#trivy:ignore:AVD-AWS-0091
#trivy:ignore:AVD-AWS-0093
#trivy:ignore:AVD-AWS-0132
bucket = "log-test-bucket-051683332738327"
}

Expand All @@ -77,6 +83,12 @@ resource "aws_s3_bucket" "non-modulised-bucket-2" {
#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"
#trivy:ignore:AVD-AWS-0086
#trivy:ignore:AVD-AWS-0087
#trivy:ignore:AVD-AWS-0088
#trivy:ignore:AVD-AWS-0091
#trivy:ignore:AVD-AWS-0093
#trivy:ignore:AVD-AWS-0132
bucket = "log-test-bucket-2-051683332738327"
}

Expand Down

0 comments on commit 4a78e40

Please sign in to comment.