fix(logging): sourceIPs[0] in the audit JMESPath (Alloy stage.json uses JMESPath, not GJSON)

This commit is contained in:
Lance Walters 2026-11-27 00:52:02 -05:00
commit d65296c92a

View file

@ -261,7 +261,7 @@ loki.process "audit" {
name = "objectRef.name", name = "objectRef.name",
subresource = "objectRef.subresource", subresource = "objectRef.subresource",
responseCode = "responseStatus.code", responseCode = "responseStatus.code",
sourceIP = "sourceIPs.0", sourceIP = "sourceIPs[0]",
userAgent = "userAgent", userAgent = "userAgent",
auditID = "auditID", auditID = "auditID",
requestURI = "requestURI", requestURI = "requestURI",