rapid7_insightvm: use terminate function to stop pagination in HTTPJSON templates#15093
rapid7_insightvm: use terminate function to stop pagination in HTTPJSON templates#15093navnit-elastic wants to merge 1 commit intoelastic:mainfrom
Conversation
5fea525 to
4bab472
Compare
🚀 Benchmarks reportTo see the full report comment with |
💚 Build Succeeded
|
|
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
There was a problem hiding this comment.
I think this needs assert.hit_count in the system tests (looking at this, I'm not sure that the tests would actually pass in the old state; AFAICS there should be 3 events in the assets test and 7 for the vulnerability test; but they give only 2 each).
With this change, in the assets data stream, I see
2025/08/29 18:01:48 DEBUG found 0 hits in logs-rapid7_insightvm.asset-38517 data stream
2025/08/29 18:01:49 DEBUG found 1300 hits in logs-rapid7_insightvm.asset-38517 data stream
2025/08/29 18:01:53 DEBUG found 6913 hits in logs-rapid7_insightvm.asset-38517 data stream
(in the vulnerability stream, it stays at 2)
|
Hi @efd6, by looking at the agent logs, It appears that the template execution is not getting terminated when it should be. The message |
|
@navnit-elastic The |
|
Thanks @efd6 for the clarification, The confusion is arises from the template error and fleet health status being degraded (which is the root cause of flaky tests failures) representing different aspects. |
|
Yeah. When the fix in beats is merged, the fix here becomes a matter of just bumping the |
|
@navnit-elastic, the backport PRs are also merged. |
|
@kcreddy, the changes will be available starting from the next release. I'll raise a separate PR to bump the Kibana version after 8.19.4 and 9.1.4 are released. |




Proposed commit message
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots