Skip to content

Commit

Permalink
Adding checkov skip for GuardDuty member module
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigobersa committed May 2, 2023
1 parent 78dc7f5 commit 2266e17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# GuardDuty Detector #
#####################################
resource "aws_guardduty_detector" "primary" {
#checkov:skip=CKV_AWS_238:Conditional argument for member accounts.
#checkov:skip=CKV2_AWS_3:Org/Region will be defined by the Admin account.
count = var.member_only ? 0 : 1
enable = var.enable_guardduty

Expand Down

0 comments on commit 2266e17

Please sign in to comment.