-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[RAM] Add cases functionality for ML #172217
Conversation
9a327ca
to
376372c
Compare
x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/alert_actions.tsx
Outdated
Show resolved
Hide resolved
...ns/ml/public/alerting/anomaly_detection_alerts_table/register_alerts_table_configuration.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.tsx
Show resolved
Hide resolved
Pinging @elastic/response-ops (Team:ResponseOps) |
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
This comment was marked as resolved.
This comment was marked as resolved.
x-pack/plugins/observability/public/components/alerts_table/get_alerts_table_configuration.tsx
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.
Code LGMT. I tested and everything is working as expected. Some comments:
- We should disable the status alert synching for stack cases as it is only supported by the Security solution. Enabling it for Stack will bypass the alerting RBAC model. Oy11 has it disabled. We should do it on this PR.
- Given that we a) enable the alerts table in stack cases and b) we can attach ML alerts to stack cases it is worth it to put some release notes about it.
- I still cannot navigate to the rule from the user actions. The rule's name is not a link. It can be done on another PR.
Stack
O11y
-
As an enhancement on another PR it would be nice if the alerts flyout opens when you navigate to the alerts table from the user action (only for single alerts). The alternative would be to have a generic flyout for stack alerts. This is something the cases team can work on in 8.13+. Wdyt?
-
I still found it a bit weird that from the same page in ML, I can see the solution picker when I attach an ML viz but when I attach an alert is not apparent to which solution the case will be created. Maybe we can show an information banner on the top of the modal. Again something that can be done as an improvement in future releases and something that the Cases team can work on in 8.13+. Wdyt?
x-pack/plugins/cases/public/components/user_actions/comment/show_alert.test.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/cases/public/components/user_actions/comment/show_alert.test.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.tsx
Show resolved
Hide resolved
...ns/ml/public/alerting/anomaly_detection_alerts_table/register_alerts_table_configuration.tsx
Outdated
Show resolved
Hide resolved
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
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.
Tested and LGTM
## Summary PR #172217 enabled the alerts table for cases in the stack management. All of our functional tests use stack cases to test the various features. Now that the table is enabled in stack cases we can test alerts. This PR unkskips a test that tests the alerts tab. Flaky test runner: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4788 ### Checklist Delete any items that are not applicable to this PR. - [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 ### For maintainers - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
## Summary PR elastic#172217 enabled the alerts table for cases in the stack management. All of our functional tests use stack cases to test the various features. Now that the table is enabled in stack cases we can test alerts. This PR unkskips a test that tests the alerts tab. Flaky test runner: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4788 ### Checklist Delete any items that are not applicable to this PR. - [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 ### For maintainers - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
## Summary PR elastic#172217 enabled the alerts table for cases in the stack management. All of our functional tests use stack cases to test the various features. Now that the table is enabled in stack cases we can test alerts. This PR unkskips a test that tests the alerts tab. Flaky test runner: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4788 ### Checklist Delete any items that are not applicable to this PR. - [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 ### For maintainers - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
## Summary PR elastic#172217 enabled the alerts table for cases in the stack management. All of our functional tests use stack cases to test the various features. Now that the table is enabled in stack cases we can test alerts. This PR unkskips a test that tests the alerts tab. Flaky test runner: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4788 ### Checklist Delete any items that are not applicable to this PR. - [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 ### For maintainers - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
Summary
Fix -> #171150
Checklist
Release notes
Enable the alerts table for cases in the Stack Management.