From abdaa53219407cba361efd563c311d1522e4f9ac Mon Sep 17 00:00:00 2001 From: FrankHassanabad Date: Wed, 11 Nov 2020 14:16:14 -0700 Subject: [PATCH] Removes unneeded change --- .../detections/components/rules/step_define_rule/schema.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/schema.tsx b/x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/schema.tsx index 0a915e477dccc..5203a630b72ae 100644 --- a/x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/schema.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/schema.tsx @@ -82,6 +82,7 @@ export const schema: FormSchema = { if (!needsValidation) { return; } + return isEmpty(query.query as string) && isEmpty(filters) ? { code: 'ERR_FIELD_MISSING',