]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
filestore-v2: check that flow_id exists in fileinfo record
authorJason Ish <jason.ish@oisf.net>
Tue, 4 Aug 2020 21:08:29 +0000 (15:08 -0600)
committerJason Ish <jason.ish@oisf.net>
Tue, 4 Aug 2020 21:08:29 +0000 (15:08 -0600)
Redmine issue:
https://redmine.openinfosecfoundation.org/issues/2196

tests/filestore-v2.1-forced/test.yaml

index f5bd0fdc91460175f6d0af0760caa6203505f799..4b9cc3a830b603d4eda56fab76346dcf5acda6c2 100644 (file)
@@ -11,3 +11,10 @@ checks:
 
   - stats:
       file_store.fs_errors: 0
+
+  - filter:
+      count: 1
+      match:
+        event_type: fileinfo
+        has-key: flow_id
+