Skip to content

Commit

Permalink
fixing pagination for MISP module (#31784)
Browse files Browse the repository at this point in the history
* fixing pagination for MISP module

* Update changelog

* Update changelog

* Update CHANGELOG.next.asciidoc
  • Loading branch information
P1llus authored Jun 23, 2022
1 parent 3489e24 commit bdebc44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff]
- Do not emit error log when filestream reader reaches EOF and `close.reader.on_eof` is enabled. {pull}31109[31109]
- sophos.xg: Update module to handle new log fields. {issue}31038[31038] {pull}31388[31388]
- Fix MISP documentation for `var.filters` config option. {pull}31434[31434]
- Adding a fix for threatintel module where MISP was paginating forever. {pull}31784[31784]
- Fix type mapping of client.as.number in okta module. {pull}31676[31676]
- Fix last write pagination commit checkpoint on `aws-s3` input for s3 direct polling when using the same bucket and different list prefixes. {pull}31776[31776]
- If a file is ignored by `filestream` because of ignore_older settings, when it is updated, only the new lines are shipped to the output. {issue}31924[31924] {pull}31972[31972]
Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/module/threatintel/misp/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ response.request_body_on_pagination: true
response.pagination:
- set:
target: body.page
value: '[[add .last_response.page 1]]'
value: '[[if (ne (len .last_response.body.response) 0)]][[add .last_response.page 1]][[end]]'
fail_on_template_error: true
cursor:
timestamp:
Expand Down

0 comments on commit bdebc44

Please sign in to comment.