File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
securityhub_insights/agent/stream Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 8080 target: body.findings
8181cursor:
8282 last_execution_datetime:
83- value: '[[with $f := (index .last_response.body "findings")]][[if (ne (len $f) 50)]][[.last_event.updatedAt]][[end]][[end]]'
83+ value: '[[$f := (index .last_response.body "findings")]][[if $f ]][[if (ne (len $f) 50)]][[.last_event.updatedAt]][[end]][[end]]'
8484 ignore_empty_value: true
8585tags:
8686{{ #if preserve_original_event }}
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ response.pagination:
9494 - set:
9595 # Set a NextToken value if one actually exists, but continue either way.
9696 target: body.NextToken
97- value: '[[.last_response.body. NextToken]]'
97+ value: '[[with (index .last_response.body " NextToken")]][[.]][[end ]]'
9898 fail_on_template_error: false
9999 - delete:
100100 target: header.Authorization
You can’t perform that action at this time.
0 commit comments