Skip to content

[8.x] [Entity Analytics][Entity Store] Refactor enablement UI (#199762)#202404

Merged
tiansivive merged 1 commit intoelastic:8.xfrom
tiansivive:backport/8.x/pr-199762
Dec 2, 2024
Merged

[8.x] [Entity Analytics][Entity Store] Refactor enablement UI (#199762)#202404
tiansivive merged 1 commit intoelastic:8.xfrom
tiansivive:backport/8.x/pr-199762

Conversation

@tiansivive
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

## Summary

This PR reworks the client side enablement flow for the Entity Store.
It's the final piece for the work tracked in
elastic/security-team#10846,
elastic/security-team#10847 and
elastic/security-team#10947

https://github.com/user-attachments/assets/bb919c3c-b8dc-4e6b-a14b-4d413f8da13f

## How to test

Optionally

On a fresh kibana and es cluster instance:
1. Load up some entity analytics data via the
https://github.com/elastic/security-documents-generator
    * Running `yarn start entity-resolution-demo --mini` is enough
1. Navigate to `Security > Dashboards > Entity Analytics`
3. Click the `Enable` entity store button
4. Both Risk Score and Entity Store toggles should be checked.
* This state represents the engines we will install, _NOT_ the current
state
5. Click `Enable`
6. The modal should close and Risk Scoring should initialize first
7. As soon as risk score initialization finished, the entity store
initialization should start
* Risk score related panels should show up while the store is
initializing
8. Finally, the Entities List panel should appear

##

- [x] added cypress tests to verify the correct enablement flow

(cherry picked from commit 722900e)
@tiansivive tiansivive added the backport This PR is a backport of another PR label Dec 2, 2024
@tiansivive tiansivive enabled auto-merge (squash) December 2, 2024 08:57
@tiansivive tiansivive merged commit c3ad53e into elastic:8.x Dec 2, 2024
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 13.4MB 13.4MB -722.0B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants