elastic/kibana
View on GitHub[EQL] Remove usage of ignore:400 for syntax validation
Open
#169042 opened on Oct 16, 2023
Team: SecuritySolutionTeam:Detection Enginebuggood first issue
Description
Describe the bug:
Currently, the EQL search strategy adds "ignore": [400] to the params sent to the elasticsearch-js client which causes the client to treat 400 errors as expected:
As a result, the response back may indeed be a 400 error but it is returned as a normal 200 response.
This may have been necessary at some point but now ES properly sends a message back indicating syntax errors: