-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
Relates to: #236572
Summary
During bulk update of multiple detection rules, users sometimes receive a message that is hard to understand.
"If you did not select to apply changes to rules using Kibana data views, those rules were not updated and will continue using data views. "
Screenshot
The message here is addressing an edge-case where a user bulk-updates detection rules by adding or modifying an index, and at least one of those rules has an associated data view. We are basically telling the user that the rule will not be updated with the index changes, unless they ticked a checkbox in the previous step called Apply changes to rules configured with data views.
However, its unlikely this message will be very useful:
- If the user DOES knows about the checkbox in the last step: This message is redundant.
- If the user DOESN'T know about the checkbox in the last step: This message is confusing.
Besides, the confirmation dialog only appears for a few seconds, not giving users a chance to fully digest the message. It also contains a double negative "if you did not... those rules were not", which is likely to throw most users off.
How to reproduce:
Please checkout main branch and run kibana locally.
Security App>Rules>Detection Rules (SIEM)- Create a new rule, that uses a data view instead of an index pattern.
- Select the rule you just created.
- Go to
Bulk actions>Index patterns>Add Index patterns - Add index pattern (ie
test123-*) >Save
Expected Result
- Message:
"1 rule was skipped."(or some other simple message that is easy to digest)
Actual Result
- Message:
"1 rule was skipped. If you did not select to apply changes to rules using Kibana data views, those rules were not updated and will continue using data views. "(hard to understand)
Kibana/Elasticsearch Stack version:
9.2.0 / main
Potential approaches:
Some potential solutions here (this is not an exhaustive list, please discuss tradeoffs below).
- Simplify the message.
- Remove the message.
- Keep the message, but increase toast duration.
Whatever provides most value / least confusion in terms of UX.


