Skip to content

Commit

Permalink
Add a missing call to audit alert policy (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmoor authored Jan 25, 2024
1 parent e02e620 commit e88a799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iac/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ resource "google_monitoring_alert_policy" "anomalous-kms-access" {
-- Github IaC should only reconcile the keyring and keys.
-(
protoPayload.authenticationInfo.principalEmail="${data.google_client_openid_userinfo.me.email}" AND
protoPayload.methodName=("CreateKeyRing" OR "CreateCryptoKey" OR "SetIamPolicy")
protoPayload.methodName=("CreateKeyRing" OR "CreateCryptoKey" OR "GetCryptoKey" OR "SetIamPolicy")
)
-- If we were to filter out import events they would look like
Expand Down

0 comments on commit e88a799

Please sign in to comment.