[ti_misp] Fix daily_refetch never re-triggering after the first poll#20018
Conversation
…st_daily_refetch` cursor value template could not read its own previous value (httpjson evaluates cursor templates with an empty cursor context), so it was reset to the current time on every poll and the 24h elapsed-time check never fired. The refetch marker is now carried through the request's url.params so it survives cursor evaluation.
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
| @@ -294,3 +294,4 @@ | |||
| type: flattened | |||
| description: > | |||
| List of attributes of the object in which the attribute is attached. | |||
|
|
|||
There was a problem hiding this comment.
whitespace change due to elastic-package build
✅ Elastic Docs Style Checker (Vale)No issues found on modified lines! The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
|
✅ All changelog entries have the correct PR link. |
| type: flattened | ||
| description: > | ||
| List of attributes of the object in which the attribute is attached. | ||
|
|
There was a problem hiding this comment.
Severity: 🔵 Low confidence: low path: packages/ti_misp/data_stream/threat_attributes/fields/fields.yml:297
Stray trailing blank line added to fields.yml is unrelated to the bugfix; remove it to keep the diff clean (the same stray line was also added to elasticsearch/transform/latest_ioc/fields/fields.yml).
Details
This PR is a focused daily_refetch bugfix, but it adds an empty trailing line at the end of this fields.yml with no functional effect. An identical stray blank line is added to packages/ti_misp/elasticsearch/transform/latest_ioc/fields/fields.yml. It looks like an accidental editor artifact rather than an intended change, and elastic-package format normalizes trailing whitespace, so it is best dropped to keep the diff scoped to the fix.
Recommendation:
Remove the trailing blank line so the file ends right after the last field description:
- name: attribute
type: flattened
description: >
List of attributes of the object in which the attribute is attached.🤖 AI-Generated Review | Vera Review Bot | 📚 Knowledge base: integration-skills
⚠️ Automated review — verify suggestions before applying.
Review summaryIssues found across the latest commits dfdf00c — 1 low
🤖 AI-Generated Review | Vera Review Bot | 📚 Knowledge base: integration-skills
|
🚀 Benchmarks reportPackage
|
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
threat_attributes |
3424.66 | 2188.18 | -1236.48 (-36.11%) | 💔 |
To see the full report comment with /test benchmark fullreport
💚 Build Succeeded
History
cc @kcreddy |
|
Tick the box to add this pull request to the merge queue (same as
|
|
Package ti_misp - 1.44.2 containing this change is available at https://epr.elastic.co/package/ti_misp/1.44.2/ |
Proposed commit message
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots