mirror of https://github.com/MISP/misp-modules
parent
af01db860a
commit
be212097a7
|
@ -112,6 +112,7 @@ class Yeti():
|
|||
type_attribute = self.misp_mapping[obj['type']]
|
||||
else:
|
||||
type_attribute = obj['type']
|
||||
print(type_attribute)
|
||||
if type_attribute == 'ip-src' or type_attribute == 'ip-dst':
|
||||
return 'ip'
|
||||
elif 'domain' == type_attribute:
|
||||
|
|
Loading…
Reference in New Issue