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

outdated resource.type being used #78

Open
ucantravel opened this issue Jan 13, 2021 · 0 comments
Open

outdated resource.type being used #78

ucantravel opened this issue Jan 13, 2021 · 0 comments

Comments

@ucantravel
Copy link

GCP has stopped using those types of resources, so you cannot enable the alerts required using something like this:
resource.type =audited_resource
os
resource.type =global

Here is an example where this condition is being checked

expected google_project_metrics with metric_filter == "resource.type=audited_resource AND (protoPayload.servic...gDeltas.action="ADD" AND protoPayload.serviceData.policyDelta.bindingDeltas.role="roles/owner")" to exist

or here:

expected google_project_metrics with metric_filter == "resource.type=audited_resource AND protoPayload.methodName="SetIamPolicy" AND protoPayload.serviceData.policyDelta.auditConfigDeltas:*" to exist

or here:
expected google_project_metrics with metric_filter == "resource.type=global AND jsonPayload.event_subtype="compute.firewalls.patch" OR jsonPayload.event_subtype="compute.firewalls.insert"" to exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant