tenable_ot_security: change assets fingerprint to id plus timestamps#17670
tenable_ot_security: change assets fingerprint to id plus timestamps#17670efd6 merged 3 commits intoelastic:mainfrom
Conversation
1e53601 to
a243eca
Compare
✅ Vale Linting ResultsNo 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. |
🚀 Benchmarks reportTo see the full report comment with |
a243eca to
9a03959
Compare
991695c to
80b6359
Compare
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
|
@kcreddy I plan to sit on this for a while. Will convert to draft again until we are ready. |
Change the assets document fingerprint from a full-body hash to a hash of the asset id and all timestamp fields (firstSeen, lastSeen, lastHit, lastSnapshot, lastUpdate, runStatusTime). This preserves update history — a new document is created whenever a timestamp changes — without the duplicate-on-every-poll problem caused by the full-body hash. This is a breaking change: the _id scheme change means every existing asset document will be duplicated until lifecycle policy removes the old versions. Customers upgrading from 1.0.0 should install 1.1.0 first and allow at least one successful asset collection interval before upgrading to this version. The kibana.version 9.0 constraint is removed; by requiring v9.1.4 or better, we ensure that those users will get a breaking change callout. The 8.19 users will not, but this is a trade off against not providing bug-fixes for them if we remove them from the constraint.
80b6359 to
1112533
Compare
| - description: >- | ||
| The _id scheme change means every existing asset document will be | ||
| duplicated until lifecycle policy removes the old versions. Customers | ||
| upgrading from 1.0.0 should install 1.1.0 first and allow at least |
There was a problem hiding this comment.
This means that we need to leave this open for a while. I think that is a defect TBH.
kcreddy
left a comment
There was a problem hiding this comment.
Echoing same concern as Andrew, otherwise looks good.
| conditions: | ||
| kibana: | ||
| version: "^8.19.4 || ~9.0.7 || ^9.1.4" | ||
| version: "^8.19.4 || ^9.1.4" |
There was a problem hiding this comment.
Did you mean to modify the exchange package and the tenable_ot_security package?
|
/test |
e6fb903 to
15143ea
Compare
15143ea to
908d4f9
Compare
💚 Build Succeeded
History
cc @efd6 |
|
Package tenable_ot_security - 2.0.0 containing this change is available at https://epr.elastic.co/package/tenable_ot_security/2.0.0/ |

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