Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Fix Incorrect Enable Button Behavior in Entity St…
…ore Modal (elastic#212078) ## Summary Ensure Enable Button Considers Disabled State of Risk Score & Entity Store. Previously only used the checked state of the toggle. ### Reproduce the Issue Steps, as [per bug ticket:](elastic#209242 (comment)) 1. Kibana version 8.16.0 or above should exist 2. Navigate to the Dashboards tab under Security 3. Select Entity Analytics dashboard 4. Click on the enable button and enable risk score 5. Disable the options for Entity store 6. Then again select the enable button for Entity store 7. Disable the enable button 8. Observe the Enable button is still enabled ### After Issue Solved Same steps as above, but should show the warning and disable the button. #### Videos Videos show when either riskScore or entityStore is enabled, and the other is unchecked, the warning should show and the button should be disabled. https://github.com/user-attachments/assets/236f9e69-f810-4116-9948-38fd27d4d945 https://github.com/user-attachments/assets/2971e845-5d46-4eac-997a-79b3b17922c0 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
- Loading branch information