fix: Added missing add_attribute function

pull/322/head v2.4.110
chrisr3d 2019-07-03 11:14:46 +02:00
parent 6b59963a7f
commit 181e6383a3
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 0 deletions

View File

@ -259,6 +259,7 @@ class JoeParser():
attribute = MISPAttribute()
attribute.from_dict(**{'type': 'domain', 'value': domain['@name']})
reference = {'idref': attribute.uuid, 'relationship': 'contacts'}
self.add_process_reference(domain['@targetid'], domain['@currentpath'], reference)
ipinfo =['ipinfo']