]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests/exception-policy/stats: fix app-layer test
authorJuliana Fajardini <jufajardini@oisf.net>
Thu, 11 Apr 2024 20:17:11 +0000 (17:17 -0300)
committerJuliana Fajardini <jufajardini@oisf.net>
Thu, 11 Apr 2024 21:01:15 +0000 (18:01 -0300)
exception-policy-applayer-03 was missing the checks for exception-policy
per-appproto errors.

tests/exception-policy-applayer-03/test.yaml

index 3884db377c2e0fcd505779de892d1505a788b998..2eedb523024393adc17229751917aa2f784ab14b 100644 (file)
@@ -65,3 +65,9 @@ checks:
       proto: UDP
       src_ip: 190.0.0.2
       src_port: 50000
+- filter:
+    count: 1
+    match:
+      event_type: stats
+      stats.app_layer.error.exception_policy.pass_packet: 1
+      stats.app_layer.error.exception_policy.drop_packet: 0