Closed efd6 closed 1 month ago
carbon_black_cloud
:+1:(3) :green_heart:(2) :broken_heart:(1)To see the full report comment with /test benchmark fullreport
cc @efd6
Issues
0 New issues
0 Fixed issues
0 Accepted issues
Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)
Package carbon_black_cloud - 2.5.3 containing this change is available at https://epr.elastic.co/search?package=carbon_black_cloud
Proposed commit message
When using the cursor value, the start expression in the range macro is a string since state.cursor.last_backend_update_timestamp is a string. This results in a comparison of range.start (string) with range.end (timestamp) which is not a valid type match for the \< operator. So we end up with a "no such overload". If the value is optional.none, we use delayed (timestamp) which is the correct type. Ensure that the expression is always a timestamp by doing a conversion on the resulting value, noting that a timestamp(timestamp(x)) is valid if timestamp(x) is.
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues
Screenshots