Closed amsiglan closed 4 months ago
could you upload the video instead in the PR description, navigating all the pages. Thanks!
also, let's make sure CI passes
Overall, the changes LGTM.
Just to clarify, does the SAP frontend store a "cache" of alerts, findings, detectors, rules, etc.? If so, are those caches being refreshed when changing data sources? It's a little tough to tell from the code alone.
An unrefreshed cache of pre-packaged rules might not be immediately obvious since the names are the same across data sources; but if the IDs are not the same across data sources, detectors could fail if they reference ruleIDs that don't exist on that data source.
I do see we have some caching for the rules based on the query parameters. Let me re-evaluate and update it in the next PR where I actually connect the Data source menu with the logic to refresh the pages
also, let's make sure CI passes
@AWSHurneyt re-ran the test, but the failure wasn't related to the changes in this PR. Will investigate separately
could you upload the video instead in the PR description, navigating all the pages. Thanks!
Done
could you upload the video instead in the PR description, navigating all the pages. Thanks!
Done
Also, when we load the page is the 'Local cluster' selected or the default dataSource? Expected behaviour is to have default one selected when the page loads
could you upload the video instead in the PR description, navigating all the pages. Thanks!
Done
Also, when we load the page is the 'Local cluster' selected or the default dataSource? Expected behaviour is to have default one selected when the page loads
Yes, the default DataSource is selected when the page loads
Description
This PR adds the data source menu component to the chrome header for all the pages of security analytics. Below are screenshots of some pages
Overview page
Create Detector
Log type details page (NOTE: It is a read only menu)
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.