From 790090eb0b6268cf379b8a7f307a65b8d0681cb6 Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Mon, 3 May 2021 11:25:37 +0200 Subject: [PATCH] chg: [farsight_passivedns] Updated the bailiwick attribute type, following the latest changes on the passive-dns object template --- misp_modules/modules/expansion/farsight_passivedns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misp_modules/modules/expansion/farsight_passivedns.py b/misp_modules/modules/expansion/farsight_passivedns.py index de18735..93337a3 100755 --- a/misp_modules/modules/expansion/farsight_passivedns.py +++ b/misp_modules/modules/expansion/farsight_passivedns.py @@ -85,7 +85,7 @@ class FarsightDnsdbParser(): self.misp_event = MISPEvent() self.misp_event.add_attribute(**attribute) self.passivedns_mapping = { - 'bailiwick': {'type': 'text', 'object_relation': 'bailiwick'}, + 'bailiwick': {'type': 'domain', 'object_relation': 'bailiwick'}, 'count': {'type': 'counter', 'object_relation': 'count'}, 'raw_rdata': {'type': 'text', 'object_relation': 'raw_rdata'}, 'rdata': {'type': 'text', 'object_relation': 'rdata'},