Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [SecuritySolution] Fix entity-store to support asset criticalit…
…y delete (elastic#196680) (elastic#197177) # Backport This will backport the following commits from `main` to `8.x`: - [[SecuritySolution] Fix entity-store to support asset criticality delete (elastic#196680)](elastic#196680) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Pablo Machado","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-22T07:58:20Z","message":"[SecuritySolution] Fix entity-store to support asset criticality delete (elastic#196680)\n\n## Summary\r\n\r\nUpdate the entity store API so it does not return the asset criticality\r\nfield when the value is 'deleted'.\r\n\r\n\r\n### How to test it\r\n* Open kibana with data\r\n* Install the entity store\r\n* Update asset criticality for a host or user\r\n* Wait for the engine to run (I don't know a reliable way to do this)\r\n* Refresh the entity analytics dashboard, and it should show empty\r\nfields for deleted asset criticality\r\n\r\n- [ ] Backport it to 8.16\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"597fd3e82e549f7a746728af1a577e9fa982b89d","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","v9.0.0","Team: SecuritySolution","Theme: entity_analytics","Feature:Entity Analytics","Team:Entity Analytics","v8.16.0","backport:version","v8.17.0"],"title":"[SecuritySolution] Fix entity-store to support asset criticality delete","number":196680,"url":"https://github.com/elastic/kibana/pull/196680","mergeCommit":{"message":"[SecuritySolution] Fix entity-store to support asset criticality delete (elastic#196680)\n\n## Summary\r\n\r\nUpdate the entity store API so it does not return the asset criticality\r\nfield when the value is 'deleted'.\r\n\r\n\r\n### How to test it\r\n* Open kibana with data\r\n* Install the entity store\r\n* Update asset criticality for a host or user\r\n* Wait for the engine to run (I don't know a reliable way to do this)\r\n* Refresh the entity analytics dashboard, and it should show empty\r\nfields for deleted asset criticality\r\n\r\n- [ ] Backport it to 8.16\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"597fd3e82e549f7a746728af1a577e9fa982b89d"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196680","number":196680,"mergeCommit":{"message":"[SecuritySolution] Fix entity-store to support asset criticality delete (elastic#196680)\n\n## Summary\r\n\r\nUpdate the entity store API so it does not return the asset criticality\r\nfield when the value is 'deleted'.\r\n\r\n\r\n### How to test it\r\n* Open kibana with data\r\n* Install the entity store\r\n* Update asset criticality for a host or user\r\n* Wait for the engine to run (I don't know a reliable way to do this)\r\n* Refresh the entity analytics dashboard, and it should show empty\r\nfields for deleted asset criticality\r\n\r\n- [ ] Backport it to 8.16\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"597fd3e82e549f7a746728af1a577e9fa982b89d"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Pablo Machado <[email protected]>
- Loading branch information