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] Refactor enablement UI (elasti…
…c#199762) (elastic#202404) # Backport This will backport the following commits from `main` to `8.x`: - [[Entity Analytics][Entity Store] Refactor enablement UI (elastic#199762)](elastic#199762) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Tiago Vila Verde","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-28T12:01:56Z","message":"[Entity Analytics][Entity Store] Refactor enablement UI (elastic#199762)\n\n## Summary\r\n\r\nThis PR reworks the client side enablement flow for the Entity Store.\r\nIt's the final piece for the work tracked in\r\nhttps://github.com/elastic/security-team/issues/10846,\r\nhttps://github.com/elastic/security-team/issues/10847 and\r\nhttps://github.com/elastic/security-team/issues/10947\r\n\r\n\r\nhttps://github.com/user-attachments/assets/bb919c3c-b8dc-4e6b-a14b-4d413f8da13f\r\n\r\n## How to test\r\n\r\nOptionally \r\n\r\nOn a fresh kibana and es cluster instance:\r\n1. Load up some entity analytics data via the\r\nhttps://github.com/elastic/security-documents-generator\r\n * Running `yarn start entity-resolution-demo --mini` is enough \r\n1. Navigate to `Security > Dashboards > Entity Analytics`\r\n3. Click the `Enable` entity store button\r\n4. Both Risk Score and Entity Store toggles should be checked.\r\n* This state represents the engines we will install, _NOT_ the current\r\nstate\r\n5. Click `Enable`\r\n6. The modal should close and Risk Scoring should initialize first\r\n7. As soon as risk score initialization finished, the entity store\r\ninitialization should start\r\n* Risk score related panels should show up while the store is\r\ninitializing\r\n8. Finally, the Entities List panel should appear \r\n\r\n\r\n##\r\n \r\n- [x] added cypress tests to verify the correct enablement flow","sha":"722900e6def904ac8dbdd20f0a04b5f418393617","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["technical debt","release_note:skip","v9.0.0","ci:cloud-deploy","Theme: entity_analytics","Team:Entity Analytics","backport:version","v8.18.0"],"number":199762,"url":"https://github.com/elastic/kibana/pull/199762","mergeCommit":{"message":"[Entity Analytics][Entity Store] Refactor enablement UI (elastic#199762)\n\n## Summary\r\n\r\nThis PR reworks the client side enablement flow for the Entity Store.\r\nIt's the final piece for the work tracked in\r\nhttps://github.com/elastic/security-team/issues/10846,\r\nhttps://github.com/elastic/security-team/issues/10847 and\r\nhttps://github.com/elastic/security-team/issues/10947\r\n\r\n\r\nhttps://github.com/user-attachments/assets/bb919c3c-b8dc-4e6b-a14b-4d413f8da13f\r\n\r\n## How to test\r\n\r\nOptionally \r\n\r\nOn a fresh kibana and es cluster instance:\r\n1. Load up some entity analytics data via the\r\nhttps://github.com/elastic/security-documents-generator\r\n * Running `yarn start entity-resolution-demo --mini` is enough \r\n1. Navigate to `Security > Dashboards > Entity Analytics`\r\n3. Click the `Enable` entity store button\r\n4. Both Risk Score and Entity Store toggles should be checked.\r\n* This state represents the engines we will install, _NOT_ the current\r\nstate\r\n5. Click `Enable`\r\n6. The modal should close and Risk Scoring should initialize first\r\n7. As soon as risk score initialization finished, the entity store\r\ninitialization should start\r\n* Risk score related panels should show up while the store is\r\ninitializing\r\n8. Finally, the Entities List panel should appear \r\n\r\n\r\n##\r\n \r\n- [x] added cypress tests to verify the correct enablement flow","sha":"722900e6def904ac8dbdd20f0a04b5f418393617"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199762","number":199762,"mergeCommit":{"message":"[Entity Analytics][Entity Store] Refactor enablement UI (elastic#199762)\n\n## Summary\r\n\r\nThis PR reworks the client side enablement flow for the Entity Store.\r\nIt's the final piece for the work tracked in\r\nhttps://github.com/elastic/security-team/issues/10846,\r\nhttps://github.com/elastic/security-team/issues/10847 and\r\nhttps://github.com/elastic/security-team/issues/10947\r\n\r\n\r\nhttps://github.com/user-attachments/assets/bb919c3c-b8dc-4e6b-a14b-4d413f8da13f\r\n\r\n## How to test\r\n\r\nOptionally \r\n\r\nOn a fresh kibana and es cluster instance:\r\n1. Load up some entity analytics data via the\r\nhttps://github.com/elastic/security-documents-generator\r\n * Running `yarn start entity-resolution-demo --mini` is enough \r\n1. Navigate to `Security > Dashboards > Entity Analytics`\r\n3. Click the `Enable` entity store button\r\n4. Both Risk Score and Entity Store toggles should be checked.\r\n* This state represents the engines we will install, _NOT_ the current\r\nstate\r\n5. Click `Enable`\r\n6. The modal should close and Risk Scoring should initialize first\r\n7. As soon as risk score initialization finished, the entity store\r\ninitialization should start\r\n* Risk score related panels should show up while the store is\r\ninitializing\r\n8. Finally, the Entities List panel should appear \r\n\r\n\r\n##\r\n \r\n- [x] added cypress tests to verify the correct enablement flow","sha":"722900e6def904ac8dbdd20f0a04b5f418393617"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
- Loading branch information