From b872ee7ae69628b0c1a698e5afb1c91c0db9717d Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Thu, 4 Jul 2024 18:56:28 -0600 Subject: [PATCH] dns-tcp-ts-gap: update for v2 and v3 dns logging --- tests/dns-tcp-ts-gap/test.yaml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/tests/dns-tcp-ts-gap/test.yaml b/tests/dns-tcp-ts-gap/test.yaml index 2a8791658..fa6fcb817 100644 --- a/tests/dns-tcp-ts-gap/test.yaml +++ b/tests/dns-tcp-ts-gap/test.yaml @@ -1,16 +1,29 @@ -requires: - # App-layer gap handling didn't happen until v4. - min-version: 4.0.0 - features: - - HAVE_LIBJANSSON - checks: - filter: + requires: + min-version: 8 + count: 2 + match: + event_type: dns + dns.type: request + - filter: + requires: + lt-version: 8 count: 2 match: event_type: dns dns.type: query - filter: + requires: + min-version: 8 + count: 3 + match: + event_type: dns + dns.type: response + dns.answers.__len: 12 + - filter: + requires: + lt-version: 8 count: 3 match: event_type: dns -- 2.47.2