Skip to content

Commit

Permalink
fix checkov finding
Browse files Browse the repository at this point in the history
  • Loading branch information
liamschn committed Jul 17, 2024
1 parent 0b466b7 commit 99ca314
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ data "aws_iam_policy_document" "sra_guardduty_org_policy_cloudformation" {
}

data "aws_iam_policy_document" "sra_guardduty_org_policy_acct" {
#checkov:skip=CKV_AWS_356: Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions
statement {
sid = "AcctListRegions"
effect = "Allow"
Expand Down Expand Up @@ -485,4 +486,4 @@ resource "aws_sns_topic_subscription" "guardduty_dlq_alarm_subscription" {
topic_arn = aws_sns_topic.guardduty_dlq_alarm_topic[0].arn
protocol = "email"
endpoint = var.sra_alarm_email
}
}

0 comments on commit 99ca314

Please sign in to comment.