-
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
[Security Solution] [Detections] Error when editing duplicate of prebuilt detection rule using EQL #89960
Comments
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
@MikePaquette Thanks for reporting this. This behavior is present in previous release versions as well. It occurs because we validate EQL queries upon rule creation and rule edit. Validation takes into account the configured indices. If none of the indices exist we display the error you posted above. This error is valid because none of the indices exist and thus the rule will also fail upon rule execution. The While the observed behavior is expected, we could consider making a UX improvement such that we display the index error as first a class validation error as opposed to displaying it in an error toaster (which signals the user that there was an unhandled error). |
Expected behavior, requires additional UX input to make it a better user experience. |
@peluja1012 I would like to seek clarification regarding what you mentioned: If none of the indices exist we display the error you posted above. This error is valid because none of the indices exist and thus the rule will also fail upon rule execution. In my case, I am seeing the same error (with a small variant): The However, despite the case, I am still getting error for this rule (and many others, since they typically specify those 3 index patterns). Could you advise on this please? |
Hi @leegengyu, could you please try executing the same EQL query using Kibana -> Dev Tools and let us know what error is reported? Also, what versions of Elasticsearch and Kibana are you running?
|
@peluja1012 Thanks for getting back to me. This error did not appear anymore (somehow). But I'll be sure to get back to here if it does. Thank you once again! |
Addressed by #180407 |
Kibana version: 7.11 BC5
Elasticsearch version: 7.11 BC5
Server OS version: Elastic Cloud
Browser version: Chrome Version 88.0.4324.96
Browser OS version: macOS 10.14.6
Original install method (e.g. download page, yum, from source, etc.): Elastic Cloud Deployment
Describe the bug:
When attempting to edit an EQL-based rule (which has been duplicated from a prebuilt rule), an error occurs
Steps to reproduce:
Edit Rule Settings
Expected behavior:
No error is expected.
Screenshots (if relevant):
Errors in browser console (if relevant): None
Provide logs and/or server output (if relevant): N/A
Any additional context: Only tested on one deployment
cc: @MadameSheema have you seen this behavior?
cc: @paulewing
The text was updated successfully, but these errors were encountered: