From 4348755fbdea04db73a20594a0df53ea5fbe6369 Mon Sep 17 00:00:00 2001 From: jzr Date: Sun, 5 Nov 2023 17:14:35 -0500 Subject: [PATCH] Fix detect-dangling-cname.yaml (#8546) Revert back to checking only the answer section, and remove an unnecessary backslash. --- dns/detect-dangling-cname.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dns/detect-dangling-cname.yaml b/dns/detect-dangling-cname.yaml index f72768edbf..5d80869182 100644 --- a/dns/detect-dangling-cname.yaml +++ b/dns/detect-dangling-cname.yaml @@ -27,8 +27,9 @@ dns: - "NXDOMAIN" - type: regex + part: answer regex: - - "IN\tCNAME\\t(.+)$" + - "IN\tCNAME\t(.+)$" extractors: - type: dsl