From: Juliana Fajardini Date: Fri, 25 Apr 2025 18:41:26 +0000 (-0300) Subject: tests/pgsql: add check for redacted password msg X-Git-Tag: suricata-7.0.11~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=be9a952dd61229a9f740156221cacc6c59c3426c;p=thirdparty%2Fsuricata-verify.git tests/pgsql: add check for redacted password msg Bug #7647 --- diff --git a/tests/pgsql/pgsql-pwd-output-disabled/test.yaml b/tests/pgsql/pgsql-pwd-output-disabled/test.yaml index 11f3442c6..3ea41e6b1 100644 --- a/tests/pgsql/pgsql-pwd-output-disabled/test.yaml +++ b/tests/pgsql/pgsql-pwd-output-disabled/test.yaml @@ -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: