Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Entity Analytics][Entity Store] Init: Put engine in error stat…
…e if data view does not exist (#201140) (#201414) # Backport This will backport the following commits from `main` to `8.x`: - [[Entity Analytics][Entity Store] Init: Put engine in error state if data view does not exist (#201140)](#201140) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Mark Hopkin","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-22T15:09:23Z","message":"[Entity Analytics][Entity Store] Init: Put engine in error state if data view does not exist (#201140)\n\n## Summary\n\nFixes a bug where if the securite default data view does not exist the\nentity engine would get stuck in 'installing' status. After this fix,\nthe engine is put into 'error' state.\n\nThe entity engine uses the security default data view by default to\ngenerate it's source index pattern.\n\n## Testing\n\n1. Delete the security default data view `security-solution-default`\n2. Init the entity store\n3. Observe that the entity store is in an error state (the UI should\nshow the error)","sha":"c3c872c6da7ca1cf3fd90ef13ce6ae758c53c9e8","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team: SecuritySolution","Team:Entity Analytics","backport:version","v8.17.0","v8.18.0","v8.16.2"],"title":"[Entity Analytics][Entity Store] Init: Put engine in error state if data view does not exist","number":201140,"url":"https://github.com/elastic/kibana/pull/201140","mergeCommit":{"message":"[Entity Analytics][Entity Store] Init: Put engine in error state if data view does not exist (#201140)\n\n## Summary\n\nFixes a bug where if the securite default data view does not exist the\nentity engine would get stuck in 'installing' status. After this fix,\nthe engine is put into 'error' state.\n\nThe entity engine uses the security default data view by default to\ngenerate it's source index pattern.\n\n## Testing\n\n1. Delete the security default data view `security-solution-default`\n2. Init the entity store\n3. Observe that the entity store is in an error state (the UI should\nshow the error)","sha":"c3c872c6da7ca1cf3fd90ef13ce6ae758c53c9e8"}},"sourceBranch":"main","suggestedTargetBranches":["8.17","8.x","8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201140","number":201140,"mergeCommit":{"message":"[Entity Analytics][Entity Store] Init: Put engine in error state if data view does not exist (#201140)\n\n## Summary\n\nFixes a bug where if the securite default data view does not exist the\nentity engine would get stuck in 'installing' status. After this fix,\nthe engine is put into 'error' state.\n\nThe entity engine uses the security default data view by default to\ngenerate it's source index pattern.\n\n## Testing\n\n1. Delete the security default data view `security-solution-default`\n2. Init the entity store\n3. Observe that the entity store is in an error state (the UI should\nshow the error)","sha":"c3c872c6da7ca1cf3fd90ef13ce6ae758c53c9e8"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Mark Hopkin <[email protected]>
- Loading branch information