From: Philippe Antoine Date: Mon, 26 Apr 2021 13:16:24 +0000 (+0200) Subject: Adds check for http.method keyword on http2 traffic X-Git-Tag: suricata-6.0.4~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=168118dd9e868f448f111bc9cf6257069bf0c115;p=thirdparty%2Fsuricata-verify.git Adds check for http.method keyword on http2 traffic --- diff --git a/tests/http2-keywords2/test.rules b/tests/http2-keywords2/test.rules index 50faf3ffb..83cbe026e 100644 --- a/tests/http2-keywords2/test.rules +++ b/tests/http2-keywords2/test.rules @@ -6,3 +6,4 @@ alert http2 any any -> any any (http.user_agent; content:"curl"; sid:20;) alert http2 any any -> any any (http.stat_code; content:"404"; sid:21;) alert http2 any any -> any any (http.server; content:"nghttpx"; sid:30;) +alert http2 any any -> any any (http.method; content:"GET"; sid:31;) diff --git a/tests/http2-keywords2/test.yaml b/tests/http2-keywords2/test.yaml index 65d5a47a5..b6f51bfab 100644 --- a/tests/http2-keywords2/test.yaml +++ b/tests/http2-keywords2/test.yaml @@ -40,3 +40,8 @@ checks: match: event_type: alert alert.signature_id: 30 + - filter: + count: 2 + match: + event_type: alert + alert.signature_id: 31