You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated all 35 GCP cloud correlation rules under rules/cloud/google/ to improve detection accuracy and alignment with current filter output fields.
Reasoning
These changes keep the GCP correlation rules synchronized with the current filter field mappings and improve overall detection coverage for Google Cloud Platform security events.
There are outdated Go dependencies, or modules that could not be inspected.
Run bash .github/scripts/go-deps.sh --update --discover locally and
commit the updated go.mod / go.sum files.
Summary: Breaking change to log schema field names; requires coordinated update of ingestion pipeline and rule engine.
highrules/cloud/google/anthos_security_events.yml:28 — Renaming log fields (e.g., protoPayload.serviceName to protoPayloadServiceName) is a breaking change. This requires a corresponding update to the log ingestion/parsing logic in the Go services and potentially the agent, as existing indexed data and incoming logs will no longer match these rules.
Summary: Renaming log fields to non-standard flattened versions will cause these rules to stop matching existing log data, effectively breaking all detection logic.
highrules/cloud/google/anthos_security_events.yml:28 — Field 'log.protoPayload.serviceName' changed to 'log.protoPayloadServiceName'. This schema change is likely incompatible with the underlying log ingestion pipeline, causing the rule to fail to trigger.
highrules/cloud/google/gcp_audit_log_disabling.yml:30 — Field 'log.protoPayload.methodName' changed to 'log.protoPayloadMethodName'. This will break existing rule matching logic.
highrules/cloud/google/gcp_bigquery_exfiltration.yml:35 — Field 'log.protoPayload.authenticationInfo.principalEmail' changed to 'origin.user'. If the log indexer does not map these fields, this rule will stop functioning.
highrules/cloud/google/gcp_privilege_escalation_kubernetes_rolebindings_created_or_patched.yml:25 — Field 'log.protoPayload.authenticationInfo.principalEmail' changed to 'origin.user'. This breaks the exclusion logic for 'system:addon-manager'.
The reason will be displayed to describe this comment to others. Learn more.
Changes requested — see approver comments above.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Updated 35 GCP correlation rules.
Rules (GCP)
Updated all 35 GCP cloud correlation rules under
rules/cloud/google/to improve detection accuracy and alignment with current filter output fields.Reasoning
These changes keep the GCP correlation rules synchronized with the current filter field mappings and improve overall detection coverage for Google Cloud Platform security events.
Issue
N/A — maintenance update.