From b890a633b7b4934e527e9daac268809578fd9d28 Mon Sep 17 00:00:00 2001 From: Corey Ogburn Date: Fri, 17 Jan 2025 10:54:15 -0700 Subject: [PATCH] Right Number of Dialogs at the Right Times, Check Language and Engine Restored the ack all dialog triggered by the Detection Panel on alerts. Updated tests. When converting a rule from the New Detection page, the detection's engine isn't specified yet. Refactored a check to now allow the engine to be "elastalert" or the language to be "sigma" so the request can continue as it should. Added a new test just for this. --- html/index.html | 4 ++-- html/js/components/detection-panel.js | 4 ++-- html/js/components/detection-panel.test.js | 13 ++++++++++++- server/detectionhandler.go | 3 ++- server/detectionshandler_test.go | 18 ++++++++++++++++++ 5 files changed, 36 insertions(+), 6 deletions(-) diff --git a/html/index.html b/html/index.html index 234cad4c..9b340512 100644 --- a/html/index.html +++ b/html/index.html @@ -5911,7 +5911,7 @@