forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cloud Security] Update graph appearance (elastic#204610)
## Summary - [x] Remove the unknown or question symbols for entities who's type we don't know - [x] Replace edges to be sharp path instead of a smooth one - [x] Changed background of alerted node from `danger` to `primary` - [x] Fix arrow popover color not in sync with background color - [x] Handles should be visible as a small dot - [x] Expand button's color should be similar to the nodes color - [x] Main alert path should be a solid line Before: ![Screenshot 2024-12-18 at 18 45 31](https://github.com/user-attachments/assets/4fd24ec7-8a8b-4659-8605-a53685be8d78) After: ![Screenshot 2024-12-18 at 19 08 31](https://github.com/user-attachments/assets/ebeae458-075d-48a3-8a42-66787440adc1) https://github.com/user-attachments/assets/4253ec83-19da-4c34-bb80-cb4ca900672d **How to test** To test this PR you can run ``` yarn storybook cloud_security_posture_packages ``` To test e2e - Enable the feature flag `kibana.dev.yml`: ```yaml uiSettings.overrides.securitySolution:enableVisualizationsInFlyout: true xpack.securitySolution.enableExperimental: ['graphVisualizationInFlyoutEnabled'] ``` - Load mocked data: ```bash node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit \ --es-url http://elastic:changeme@localhost:9200 \ --kibana-url http://elastic:changeme@localhost:5601 node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/security_alerts \ --es-url http://elastic:changeme@localhost:9200 \ --kibana-url http://elastic:changeme@localhost:5601 ``` - Make sure you include data from Oct 13 2024. (in the video I use Last year) ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: Sean Rathier <[email protected]> Co-authored-by: Brad White <[email protected]> Co-authored-by: seanrathier <[email protected]>
- Loading branch information
1 parent
715c59d
commit 576f3c5
Showing
19 changed files
with
337 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.