-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution][Detections] Fixes Rule Details when viewing delet…
…ed Rule from Alert with flattened structure (#122619) (#122893) ## Summary Resolves #122013 by transforming flattened `alertHit` back to a `Rule` using the existing `expandDottedObject` utility (which was moved to `security_solution/common/utils` for global use). Also fixed margins on deleted badge (and ensured no overlap when title overflows). <p align="center"> <img width="500" src="https://user-images.githubusercontent.com/2946766/148868172-f8af8340-f49c-46e3-8cd6-4ebb38d7d76f.png" /> </p> ## Test Instructions: * Create Rule with all available fields filled out * Generate alerts for Rule * Delete Rule and navigate to Rule Details from Alert Details * Verify `Deleted` badge is present and Rule Details are filled out again Test with 7.x and 8.x alerts (as backwards compatibility was kept) (cherry picked from commit 6392a05) Co-authored-by: Garrett Spong <[email protected]>
- Loading branch information
1 parent
9a83d49
commit d7155d4
Showing
9 changed files
with
476 additions
and
19 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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.