From 8e767951f82cd75f520779889badd1b1353f8125 Mon Sep 17 00:00:00 2001 From: LuitelSamikshya Date: Tue, 8 Mar 2022 09:57:56 -0600 Subject: [PATCH] added test template --- integration_tests/dns/cname-fingerprint.yaml | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 integration_tests/dns/cname-fingerprint.yaml diff --git a/integration_tests/dns/cname-fingerprint.yaml b/integration_tests/dns/cname-fingerprint.yaml new file mode 100644 index 00000000..46c03cfe --- /dev/null +++ b/integration_tests/dns/cname-fingerprint.yaml @@ -0,0 +1,22 @@ +id: cname-fingerprint + +info: + name: CNAME Fingerprint + author: pdteam + severity: info + tags: dns,cname + +dns: + - name: "{{FQDN}}" + type: NS + + matchers: + - type: word + words: + - "IN\tCNAME" + + extractors: + - type: regex + group: 1 + regex: + - "IN\tCNAME\t(.+)"