From 8a93dad3fe862da15b5c2c19d14520d1b051af04 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Mon, 15 Mar 2021 15:15:53 -0600 Subject: [PATCH] dns-tcp-ts-gap: update for dns eve v2 --- tests/dns-tcp-ts-gap/suricata.yaml | 1 - tests/dns-tcp-ts-gap/test.yaml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/dns-tcp-ts-gap/suricata.yaml b/tests/dns-tcp-ts-gap/suricata.yaml index 5f7eded22..bf949095f 100644 --- a/tests/dns-tcp-ts-gap/suricata.yaml +++ b/tests/dns-tcp-ts-gap/suricata.yaml @@ -7,4 +7,3 @@ outputs: filename: eve.json types: - dns: - version: 1 diff --git a/tests/dns-tcp-ts-gap/test.yaml b/tests/dns-tcp-ts-gap/test.yaml index 5b643dfac..2a8791658 100644 --- a/tests/dns-tcp-ts-gap/test.yaml +++ b/tests/dns-tcp-ts-gap/test.yaml @@ -11,7 +11,8 @@ checks: event_type: dns dns.type: query - filter: - count: 36 + count: 3 match: event_type: dns dns.type: answer + dns.answers.__len: 12 -- 2.47.2