Skip to content

Commit

Permalink
[filebeat] Use fail_on_template_error on google_workspace and okta pa…
Browse files Browse the repository at this point in the history
…gination (elastic#24967) (elastic#25014)

* Use fail_on_template_error on google_workspace and okta pagination

* Change changelog message

(cherry picked from commit 8c9397f)

Co-authored-by: Marc Guasch <[email protected]>
  • Loading branch information
mergify[bot] and marc-gr authored Apr 12, 2021
1 parent cb71daf commit 280732e
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Fix gcp/vpcflow module error where input type was defaulting to file. {pull}24719[24719]
- Improve PanOS parsing and ingest pipeline. {issue}22413[22413] {issue}22748[22748] {pull}24799[24799]
- Fix S3 input validation for non amazonaws.com domains. {issue}24420[24420] {pull}24861[24861]
- Fix google_workspace and okta modules pagination when next page template is empty. {pull}24967[24967]

*Heartbeat*

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ response.pagination:
- set:
target: url.params.pageToken
value: "[[.last_response.body.nextPageToken]]"
fail_on_template_error: true
cursor:
last_execution_datetime:
value: "[[formatDate now]]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ response.pagination:
- set:
target: url.params.pageToken
value: "[[.last_response.body.nextPageToken]]"
fail_on_template_error: true
cursor:
last_execution_datetime:
value: "[[formatDate now]]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ response.pagination:
- set:
target: url.params.pageToken
value: "[[.last_response.body.nextPageToken]]"
fail_on_template_error: true
cursor:
last_execution_datetime:
value: "[[formatDate now]]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ response.pagination:
- set:
target: url.params.pageToken
value: "[[.last_response.body.nextPageToken]]"
fail_on_template_error: true
cursor:
last_execution_datetime:
value: "[[formatDate now]]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ response.pagination:
- set:
target: url.params.pageToken
value: "[[.last_response.body.nextPageToken]]"
fail_on_template_error: true
cursor:
last_execution_datetime:
value: "[[formatDate now]]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ response.pagination:
- set:
target: url.params.pageToken
value: "[[.last_response.body.nextPageToken]]"
fail_on_template_error: true
cursor:
last_execution_datetime:
value: "[[formatDate now]]"
Expand Down
1 change: 1 addition & 0 deletions x-pack/filebeat/module/okta/system/config/input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ response.pagination:
- set:
target: url.value
value: '[[ getRFC5988Link "next" .last_response.header.Link ]]'
fail_on_template_error: true

cursor:
published:
Expand Down

0 comments on commit 280732e

Please sign in to comment.