]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests/pgsql: add check for redacted password msg
authorJuliana Fajardini <jufajardini@oisf.net>
Fri, 25 Apr 2025 18:41:26 +0000 (15:41 -0300)
committerVictor Julien <victor@inliniac.net>
Sat, 10 May 2025 23:09:37 +0000 (01:09 +0200)
Bug #7647

tests/pgsql/pgsql-pwd-output-disabled/test.yaml

index 11f3442c67b63a5745a44698e3afc7e89faf28c3..3ea41e6b1d1f9ed9ae4015812b2ae83a37d62b3e 100644 (file)
@@ -62,6 +62,17 @@ checks:
       proto: TCP
       src_ip: 192.168.1.102
       src_port: 41662
+# check to ensure there's no empty request (Bug #7647)
+- filter:
+    min-version: 8
+    count: 1
+    match:
+      dest_ip: 192.168.1.74
+      dest_port: 5432
+      event_type: pgsql
+      pcap_cnt: 12
+      pgsql.response.message: authentication_ok
+      pgsql.request.password_redacted: true
 - filter:
     count: 1
     match: