-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SIEM] Detections add alert & signal tab #55127
Conversation
Pinging @elastic/siem (Team:SIEM) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
x-pack/legacy/plugins/siem/public/pages/detection_engine/detection_engine.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/pages/detection_engine/detection_engine.tsx
Outdated
Show resolved
Hide resolved
@XavierM: Actually, that shouldn't be necessary on the rule details page, since the tabs are supposed to be below the definition, about and schedule panels. It looks as though the tabs on that page are in the wrong spot right now. I'll make sure to record that in my full detection engine design review. |
x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/details/index.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making these changes, @XavierM and @angorayc! It's looking great. Here's a few notes from my review.
-
With the addition of third-party alerts, the “Last signal” timestamp subtitle in the page header no longer makes sense. There are a few possibilities to fix this, but for the sake of simplicity, would it be possible to replace the "Last signal" subtitle with a new "Last detection" subtitle that uses either the most recent signal or alert relative timestamp (whichever is the most recent)?
We agree to keep it the way it is -
The alerts histogram header text appears to change in accordance with the selection the user has made in the stack selector. However, the signals histogram does not do this. For consistency’s sake, can we have the alerts histogram header not change at all, thus matching the signals histogram? I think simply having the text be a static “Alert detection frequency” will do (assuming this doesn’t have any ill effects elsewhere).
-
Currently, the alerts histogram legend is aligned on the right side of the panel, while the signals histogram's legend is bottom aligned. For consistency, can align the signals histogram legend to the right (and possibly all other histograms found in the hosts and network sections, if time permits)?
-
The signals table header text is currently "All signals". Can we change this to “Signals” to match with alerts table wording?
-
The current rules page header text is "Rules". Can we now change the rules page header text to be “Signal detection rules” to match the wording of our new button text?
@MichaelMarcialis technically, the Also per the screenshot below, it's only possible to view only Thus ignoring the date picker, the table still is only showing a subset of signals (open or closed). If you agree that the table is technically not showing all of the signals that have been created, or even all of the signals (simultaneously) for the selected date range, please consider recommending an alternative to |
Good point. I'll update my comment to reflect this. Thanks! |
x-pack/legacy/plugins/siem/public/components/alerts_viewer/translations.ts
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/pages/overview/alerts_by_category/index.tsx
Show resolved
Hide resolved
I wouldn't hold up this PR for it, but FYI i'm not seeing the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lot's of much needed fixes and great catches in this PR. Thanks @XavierM 🙏
I did some light desk testing and ran a subset of the cypress tests. I found one (unrelated to this PR) issue with refreshing the Signals histogram, but there's no reason to hold up this PR for it.
LGTM 🚀
This is known issue, we will fix it in coming PR |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* add alert on detections * review I + fix unit test * review II * review III * review IV + bug fixes found during review * review VI
* add alert on detections * review I + fix unit test * review II * review III * review IV + bug fixes found during review * review VI
* upstream/master: (24 commits) Show error page when accessing unavailable app (elastic#54656) [ML] Improving job wizards with datafeed aggregations (elastic#55180) remove flaly assetion. a license presence tested anyway (elastic#55289) fix commonly used ranges uptime (elastic#54930) [SIEM] Use proper icons on Detections view (elastic#55215) Fix: invalid translation referenced (elastic#54901) [State Management] Remove AppState from edit_index_pattern page (elastic#54104) Implements `getStartServices` on server-side (elastic#55156) Move vis_vega_type/data_model tests to jest (elastic#55186) [SIEM] [Detection Engine] Update status on rule details page (elastic#55201) Fix KQL value suggestions for nested fields (elastic#54820) Enforce camelCase format for a plugin id (elastic#53759) [SIEM] Detection engine cleanup for rule details/creation/edit page (elastic#55069) Remove nested root from index pattern (elastic#54978) [Reporting/Migration] ReportingSetup, LegacySetup (elastic#54198) [SIEM] [Detection Engine] Fixes duplicate rule action (elastic#55252) [SIEM] Detections add alert & signal tab (elastic#55127) Management API - redirect on disabled app path (elastic#55136) [SIEM][Detection Engine] Fixes critical regression on the backend with immutable and tags update local (elastic#55177) ...
* master: (108 commits) [ML] Single Metric Viewer: Fix job check. (elastic#55191) Show error page when accessing unavailable app (elastic#54656) [ML] Improving job wizards with datafeed aggregations (elastic#55180) remove flaly assetion. a license presence tested anyway (elastic#55289) fix commonly used ranges uptime (elastic#54930) [SIEM] Use proper icons on Detections view (elastic#55215) Fix: invalid translation referenced (elastic#54901) [State Management] Remove AppState from edit_index_pattern page (elastic#54104) Implements `getStartServices` on server-side (elastic#55156) Move vis_vega_type/data_model tests to jest (elastic#55186) [SIEM] [Detection Engine] Update status on rule details page (elastic#55201) Fix KQL value suggestions for nested fields (elastic#54820) Enforce camelCase format for a plugin id (elastic#53759) [SIEM] Detection engine cleanup for rule details/creation/edit page (elastic#55069) Remove nested root from index pattern (elastic#54978) [Reporting/Migration] ReportingSetup, LegacySetup (elastic#54198) [SIEM] [Detection Engine] Fixes duplicate rule action (elastic#55252) [SIEM] Detections add alert & signal tab (elastic#55127) Management API - redirect on disabled app path (elastic#55136) [SIEM][Detection Engine] Fixes critical regression on the backend with immutable and tags ...
Summary
@angorayc and I worked together to get the alert tab on detection engine,
@patrykkopycinski be aware of this PR for your breadcrumb fix on the detection engine.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers