Skip to content

Commit

Permalink
Merge pull request #1 from noose/main
Browse files Browse the repository at this point in the history
Fixed condition for Cloudwatch.3-ConsoleSigninWithoutMFA
  • Loading branch information
ipmb authored May 6, 2024
2 parents 66903d5 + 96e8318 commit 9480785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ variable "alarms" {
}
"Cloudwatch.3-ConsoleSigninWithoutMFA" = {
description = "Cloudwatch.3 - Ensure a log metric filter and alarm exist for AWS Management Console sign-in without MFA "
pattern = "{($.eventName=\"ConsoleLogin\") && ($.additionalEventData.MFAUsed !=\"Yes\") && && ($.userIdentity.type = \"IAMUser\") && ($.responseElements.ConsoleLogin = \"Success\")}"
pattern = "{($.eventName=\"ConsoleLogin\") && ($.additionalEventData.MFAUsed !=\"Yes\") && ($.userIdentity.type = \"IAMUser\") && ($.responseElements.ConsoleLogin = \"Success\")}"
}
"CloudWatch.4-IAMPolicyChanges" = {
description = "Cloudwatch.4 - Ensure a log metric filter and alarm exist for IAM policy changes"
Expand Down

0 comments on commit 9480785

Please sign in to comment.