mirror of https://github.com/MISP/misp-modules
parent
6b59963a7f
commit
181e6383a3
|
@ -259,6 +259,7 @@ class JoeParser():
|
||||||
else:
|
else:
|
||||||
attribute = MISPAttribute()
|
attribute = MISPAttribute()
|
||||||
attribute.from_dict(**{'type': 'domain', 'value': domain['@name']})
|
attribute.from_dict(**{'type': 'domain', 'value': domain['@name']})
|
||||||
|
self.misp_event.add_attribute(**attribute)
|
||||||
reference = {'idref': attribute.uuid, 'relationship': 'contacts'}
|
reference = {'idref': attribute.uuid, 'relationship': 'contacts'}
|
||||||
self.add_process_reference(domain['@targetid'], domain['@currentpath'], reference)
|
self.add_process_reference(domain['@targetid'], domain['@currentpath'], reference)
|
||||||
ipinfo = self.data['ipinfo']
|
ipinfo = self.data['ipinfo']
|
||||||
|
|
Loading…
Reference in New Issue