Skip to content

Commit

Permalink
Update packages/wiz/data_stream/audit/agent/stream/cel.yml.hbs
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co>
  • Loading branch information
maxcold and efd6 authored Sep 12, 2024
1 parent 34e2102 commit 9b097a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wiz/data_stream/audit/agent/stream/cel.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ program: |
}
}.encode_json()
).do_request().as(resp, resp.StatusCode == 200 ?
bytes(resp.Body).decode_json().as(body, has(body.?data.auditLogEntries.nodes) && body.data.auditLogEntries.nodes != null ?
bytes(resp.Body).decode_json().as(body, body.?data.auditLogEntries.nodes.orValue(null) != null ?
{
"events": body.data.auditLogEntries.nodes.map(e, {
"message": e.encode_json(),
Expand Down

0 comments on commit 9b097a0

Please sign in to comment.