Fix detect-dangling-cname.yaml (#8546)

Revert back to checking only the answer section, and remove an unnecessary backslash.
patch-1
jzr 2023-11-05 17:14:35 -05:00 committed by GitHub
parent c93498ea29
commit 4348755fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -27,8 +27,9 @@ dns:
- "NXDOMAIN" - "NXDOMAIN"
- type: regex - type: regex
part: answer
regex: regex:
- "IN\tCNAME\\t(.+)$" - "IN\tCNAME\t(.+)$"
extractors: extractors:
- type: dsl - type: dsl