]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
nfs: adds test for nfs4 write logging
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 12 Jan 2026 19:41:02 +0000 (20:41 +0100)
committerVictor Julien <vjulien@oisf.net>
Wed, 14 Jan 2026 12:49:16 +0000 (12:49 +0000)
Ticket: 8222

tests/nfs4-log/README.md [new file with mode: 0644]
tests/nfs4-log/test.yaml [new file with mode: 0644]

diff --git a/tests/nfs4-log/README.md b/tests/nfs4-log/README.md
new file mode 100644 (file)
index 0000000..5710b5b
--- /dev/null
@@ -0,0 +1,14 @@
+Test
+====
+
+Test NFS4 write logging
+
+Ticket
+======
+
+https://redmine.openinfosecfoundation.org/issues/8222
+
+PCAP
+====
+
+Pcap reused from another test
diff --git a/tests/nfs4-log/test.yaml b/tests/nfs4-log/test.yaml
new file mode 100644 (file)
index 0000000..3647568
--- /dev/null
@@ -0,0 +1,14 @@
+requires:
+  min-version: 9
+
+args:
+- -k none
+
+pcap: ../nfs4-01/input.pcap
+
+checks:
+- filter:
+    count: 1
+    match:
+      event_type: nfs
+      nfs.write.first: true
\ No newline at end of file