-
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
[Alerting] Show a warning when creating an alert if no actions are defined #61522
Comments
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
Upon investigation this turns out to be a question for @elastic/kibana-alerting-services. Some alert types may need zero-action alerts, so we need to figure out the UX here for alert types that wouldn't be useful without actions. |
It wasn't clear from the offline discussion on this, whether this is causing an error in metrics, or not. Eg, does an alert with no actions break something in metrics? Generally speaking, a solution shouldn't have to know whether an alert has any actions set for it or not. Alerts with no actions has been supported since we started, for various scenarios, but we understand that they could be considered "incomplete", depending on the scenario. Current thinking is that we could put some kind of warning banner somewhere, indicating no actions have been set on the alert, as a reminder to the user. But I don't believe there are any plans to enforce that alerts must have at least one action. |
It was discussed during today's sync that the best option would be to show a confirmation modal on save when no actions exists. |
Reassigning this to @elastic/kibana-alerting-services |
Kibana version: 7.8.0
User should not be able to save an alert if all fields are filled out but no actions are defined. (Maybe add a "required" label to the actions section?)
The text was updated successfully, but these errors were encountered: