From 19061e7740fd0e47c5ae3c5127d4c9c7a847f2a8 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Tue, 8 Oct 2024 21:42:43 +0200 Subject: [PATCH] template: use the keyword for the tx buffer Ticket: 7315 --- tests/app-layer-template/test.rules | 4 ++-- tests/app-layer-template/test.yaml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) 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