Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add type() to the condition and remove optional access
  • Loading branch information
kcreddy committed May 5, 2026
commit 2d43303baf48c75307a1d5a3afbda7e365541128
2 changes: 1 addition & 1 deletion packages/aws/data_stream/config/agent/stream/cel.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ program: |
// Response Processing: Successfully got compliance details
bytes(resp.Body).decode_json().as(body,
{
"events": (size(body.?EvaluationResults.orValue([])) > 0) ?
"events": (has(body.EvaluationResults) && type(body.EvaluationResults) == list && size(body.EvaluationResults) > 0) ?
body.EvaluationResults.map(evt,
{
"message": evt.with(
Expand Down
Loading