Skip to content

Commit

Permalink
Set 'ignore_empty_value: true' for many integrations owned by @elasti…
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisberkhout committed May 24, 2024
1 parent 70e209a commit ad005d2
Show file tree
Hide file tree
Showing 87 changed files with 102 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ cursor:
response.decode_as: application/json
response.split:
target: body.items
ignore_empty_value: true
response.pagination:
- set:
target: body.cursor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ cursor:
response.decode_as: application/json
response.split:
target: body.items
ignore_empty_value: true
response.pagination:
- set:
target: body.cursor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ cursor:
response.decode_as: application/json
response.split:
target: body.items
ignore_empty_value: true
response.pagination:
- set:
target: body.cursor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ cursor:
value: '[[formatDate now]]'
response.split:
target: body.entities
ignore_empty_value: true
response.pagination:
- set:
target: url.value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ response.pagination:
fail_on_template_error: true
response.split:
target: body.data
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ cursor:
value: '[[if (eq .last_response.body.continuationToken nil)]][[.first_event.date]][[end]]'
response.split:
target: body.data
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ response.pagination:
fail_on_template_error: true
response.split:
target: body.data
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ response.pagination:
fail_on_template_error: true
response.split:
target: body.data
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ response.pagination:
fail_on_template_error: true
response.split:
target: body.data
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ cursor:
value: '[[.last_event.last_update_time]]'
response.split:
target: body.results
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ response.pagination:
fail_on_template_error: true
response.split:
target: body.results
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ request.transforms:
value: {{api_secret_key}}/{{api_id}}
response.split:
target: body.notifications
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ request.transforms:

response.split:
target: body.vulnerabilities
ignore_empty_value: true

tags:
{{#if preserve_original_event}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ request.transforms:

response.split:
target: body.result
ignore_empty_value: true
response.pagination:
- set:
target: url.params.page
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ request.transforms:
target: url.params.endTime
value: '[[formatDate (now) "2006-01-02T15:04:05-07:00"]]'

response.split:
response.split:
target: body.result
ignore_empty_value: true

response.pagination:
- set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ request.transforms:
target: url.params.endTime
value: '[[formatDate (now) "2006-01-02T15:04:05-07:00"]]'

response.split:
response.split:
target: body.result
ignore_empty_value: true

response.pagination:
- set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ request.transforms:
target: url.params.endTime
value: '[[formatDate (now) "2006-01-02T15:04:05-07:00"]]'

response.split:
response.split:
target: body.result
ignore_empty_value: true

response.pagination:
- set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ request.transforms:
target: url.params.endTime
value: '[[formatDate (now) "2006-01-02T15:04:05-07:00"]]'

response.split:
response.split:
target: body.result
ignore_empty_value: true

response.pagination:
- set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ request.transforms:
target: url.params.endTime
value: '[[formatDate (now) "2006-01-02T15:04:05-07:00"]]'

response.split:
response.split:
target: body.result
ignore_empty_value: true

response.pagination:
- set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ request.transforms:
target: url.params.endTime
value: '[[formatDate (now) "2006-01-02T15:04:05-07:00"]]'

response.split:
response.split:
target: body.result
ignore_empty_value: true

response.pagination:
- set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ request.transforms:
target: url.params.endTime
value: '[[formatDate (now) "2006-01-02T15:04:05-07:00"]]'

response.split:
response.split:
target: body.result
ignore_empty_value: true

response.pagination:
- set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ request.transforms:
target: url.params.endTime
value: '[[formatDate (now) "2006-01-02T15:04:05-07:00"]]'

response.split:
response.split:
target: body.result
ignore_empty_value: true

response.pagination:
- set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ request.transforms:
target: url.params.endTime
value: '[[formatDate (now) "2006-01-02T15:04:05-07:00"]]'

response.split:
response.split:
target: body.result
ignore_empty_value: true

response.pagination:
- set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ request.transforms:
target: url.params.endTime
value: '[[formatDate (now) "2006-01-02T15:04:05-07:00"]]'

response.split:
response.split:
target: body.result
ignore_empty_value: true

response.pagination:
- set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ request.transforms:
target: url.params.endTime
value: '[[formatDate (now) "2006-01-02T15:04:05-07:00"]]'

response.split:
response.split:
target: body.result
ignore_empty_value: true

response.pagination:
- set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ response.pagination:
fail_on_template_error: true
response.split:
target: body.assets
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ cursor:
value: '[[.last_event.finding.eventTime]]'
response.split:
target: body.listFindingsResults
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ response.pagination:
fail_on_template_error: true
response.split:
target: body.sources
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ request.transforms:
default: '[[formatDate (now (parseDuration "-{{initial_interval}}"))]]'
response.split:
target: body.items
ignore_empty_value: true
split:
target: body.events
keep_parent: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ request.transforms:
default: '[[formatDate (now (parseDuration "-{{initial_interval}}"))]]'
response.split:
target: body.items
ignore_empty_value: true
split:
target: body.events
keep_parent: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ cursor:
last_create_time:
value: '[[.last_event.createTime]]'
response.split:
target: body.alerts
target: body.alerts
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ request.transforms:
default: '[[formatDate (now (parseDuration "-{{initial_interval}}"))]]'
response.split:
target: body.items
ignore_empty_value: true
split:
target: body.events
keep_parent: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ request.transforms:
default: '[[formatDate (now (parseDuration "-{{initial_interval}}"))]]'
response.split:
target: body.items
ignore_empty_value: true
split:
target: body.events
keep_parent: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ request.transforms:
default: '[[formatDate (now (parseDuration "-{{initial_interval}}"))]]'
response.split:
target: body.items
ignore_empty_value: true
split:
target: body.events
keep_parent: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ request.transforms:
default: '[[formatDate (now (parseDuration "-{{initial_interval}}"))]]'
response.split:
target: body.items
ignore_empty_value: true
split:
target: body.events
keep_parent: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ request.transforms:
default: '[[formatDate (now (parseDuration "-{{initial_interval}}"))]]'
response.split:
target: body.items
ignore_empty_value: true
split:
target: body.events
keep_parent: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ request.transforms:
default: '[[formatDate (now (parseDuration "-{{initial_interval}}"))]]'
response.split:
target: body.items
ignore_empty_value: true
split:
target: body.events
keep_parent: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ request.transforms:
default: '[[formatDate (now (parseDuration "-{{initial_interval}}"))]]'
response.split:
target: body.items
ignore_empty_value: true
split:
target: body.events
keep_parent: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ request.transforms:
default: '[[formatDate (now (parseDuration "-{{initial_interval}}"))]]'
response.split:
target: body.items
ignore_empty_value: true
split:
target: body.events
keep_parent: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ request.transforms:
default: '[[formatDate (now (parseDuration "-{{initial_interval}}"))]]'
response.split:
target: body.items
ignore_empty_value: true
split:
target: body.events
keep_parent: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ request.transforms:
default: '[[formatDate (now (parseDuration "-{{initial_interval}}"))]]'
response.split:
target: body.items
ignore_empty_value: true
split:
target: body.events
keep_parent: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ request.transforms:
default: '[[formatDate (now (parseDuration "-{{initial_interval}}"))]]'
response.split:
target: body.items
ignore_empty_value: true
split:
target: body.events
keep_parent: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ cursor:
value: '[[.last_event.last_updated]]'
response.split:
target: body.results
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ cursor:
value: '[[.last_event.updated_at]]'
response.split:
target: body.results
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ cursor:
value: '[[.last_event.updated_at]]'
response.split:
target: body.results
ignore_empty_value: true
tags:
{{#if preserve_original_event}}
- preserve_original_event
Expand Down
Loading

0 comments on commit ad005d2

Please sign in to comment.