From 181e6383a363e49b804d473f9fbff0c565c54e55 Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Wed, 3 Jul 2019 11:14:46 +0200 Subject: [PATCH] fix: Added missing add_attribute function --- misp_modules/lib/joe_parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/misp_modules/lib/joe_parser.py b/misp_modules/lib/joe_parser.py index c3073994..d957d693 100644 --- a/misp_modules/lib/joe_parser.py +++ b/misp_modules/lib/joe_parser.py @@ -259,6 +259,7 @@ class JoeParser(): else: attribute = MISPAttribute() attribute.from_dict(**{'type': 'domain', 'value': domain['@name']}) + self.misp_event.add_attribute(**attribute) reference = {'idref': attribute.uuid, 'relationship': 'contacts'} self.add_process_reference(domain['@targetid'], domain['@currentpath'], reference) ipinfo = self.data['ipinfo']