]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
Fixes mqtt unassgined test
authorPhilippe Antoine <contact@catenacyber.fr>
Thu, 2 Dec 2021 15:50:24 +0000 (16:50 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 7 Dec 2021 14:34:16 +0000 (15:34 +0100)
There is only one occurence of mqtt.msgtype == 0
So there should be only one alert

tests/mqtt-events-unassigned-msgtype/test.yaml

index d87414136c14092fe6baedf0d37447d472ed930b..dc0658f3e73ad1c582a12cecc5f4a46da609c02b 100644 (file)
@@ -10,7 +10,7 @@ args:
 checks:
 
   - filter:
-      count: 2
+      count: 1
       match:
         event_type: alert
         alert.signature_id: 2226008