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
gcp: remove never-successful violation field renames
The rename refers to fields that do not exist in the type, and appears to
have been incorrectly added to the block handling PolicyViolationInfo.
The alternative would have been to add the following, but we already
document the current behaviour, so leaving this as is as unfortunate.
- foreach:
field: gcp.audit.policy_violation_info.violations
ignore_missing: true
ignore_failure: true
processor:
rename:
field: _ingest._value.errorMessage
target_field: _ingest._value.error_message
if: ctx.gcp?.audit?.policy_violation_info?.violations instanceof List
- foreach:
field: gcp.audit.policy_violation_info.violations
ignore_missing: true
ignore_failure: true
processor:
rename:
field: _ingest._value.checkedValue
target_field: _ingest._value.checked_value
if: ctx.gcp?.audit?.policy_violation_info?.violations instanceof List
- foreach:
field: gcp.audit.policy_violation_info.violations
ignore_missing: true
ignore_failure: true
processor:
rename:
field: _ingest._value.policyType
target_field: _ingest._value.policy_type
if: ctx.gcp?.audit?.policy_violation_info?.violations instanceof List
[1]https://cloud.google.com/logging/docs/reference/audit/auditlog/rest/Shared.Types/AuditLog#ViolationInfo
0 commit comments