]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
template: use the keyword for the tx buffer 2087/head 2089/head
authorPhilippe Antoine <pantoine@oisf.net>
Tue, 8 Oct 2024 19:42:43 +0000 (21:42 +0200)
committerPhilippe Antoine <pantoine@oisf.net>
Wed, 9 Oct 2024 13:00:32 +0000 (15:00 +0200)
Ticket: 7315

tests/app-layer-template/test.rules
tests/app-layer-template/test.yaml

index 0bec34b679166e19328b33f5fe86b6eb0a8000e4..139a1328b3c03d28d0eca27edffcc6a954f2c76d 100644 (file)
@@ -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;)
index 99979f73961dbb8d259ac1cc21268e6a75bfab13..eb762b2e5e9a778a7842817d2b4f090a18eef89f 100644 (file)
@@ -1,5 +1,9 @@
 # *** Add configuration here ***
 
+# TODO remove once template-rust string is out of main7
+requires:
+  min-version: 8
+
 args:
 - -k none