Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a missing call to audit alert policy #48

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading