From f2333a4978e016e2a870e3cf1c7b1e8fcf0e25e0 Mon Sep 17 00:00:00 2001 From: Sebdraven Date: Tue, 10 Jul 2018 16:55:13 +0200 Subject: [PATCH] change type --- misp_modules/modules/expansion/dnstrails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misp_modules/modules/expansion/dnstrails.py b/misp_modules/modules/expansion/dnstrails.py index c30c747..a176489 100644 --- a/misp_modules/modules/expansion/dnstrails.py +++ b/misp_modules/modules/expansion/dnstrails.py @@ -279,7 +279,7 @@ def expand_history_ipv4(api, domain): if 'values' in record: for item in record['values']: r.append( - {'type': ['domain|ip'], + {'types': ['domain|ip'], 'values': ['%s|%s' % (domain, item['ip'])], 'categories': ['Network activity'], 'comment': 'last seen: %s first seen: %s' %