From: Philippe Antoine Date: Tue, 8 Oct 2024 19:42:43 +0000 (+0200) Subject: template: use the keyword for the tx buffer X-Git-Tag: suricata-7.0.8~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2087%2Fhead;p=thirdparty%2Fsuricata-verify.git template: use the keyword for the tx buffer Ticket: 7315 --- diff --git a/tests/app-layer-template/test.rules b/tests/app-layer-template/test.rules index 0bec34b67..139a1328b 100644 --- a/tests/app-layer-template/test.rules +++ b/tests/app-layer-template/test.rules @@ -1,2 +1,2 @@ -alert template any any -> any any (msg:"TEST"; content:"Hello"; flow:established,to_server; sid:1; rev:1;) -alert template any any -> any any (msg:"TEST"; content:"Bye"; flow:established,to_client; sid:2; rev:1;) +alert template any any -> any any (msg:"TEST"; template.buffer; content:"Hello"; flow:established,to_server; sid:1; rev:1;) +alert template any any -> any any (msg:"TEST"; template.buffer; content:"Bye"; flow:established,to_client; sid:2; rev:1;) diff --git a/tests/app-layer-template/test.yaml b/tests/app-layer-template/test.yaml index 99979f739..eb762b2e5 100644 --- a/tests/app-layer-template/test.yaml +++ b/tests/app-layer-template/test.yaml @@ -1,5 +1,9 @@ # *** Add configuration here *** +# TODO remove once template-rust string is out of main7 +requires: + min-version: 8 + args: - -k none