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']]
|
type_attribute = self.misp_mapping[obj['type']]
|
||||||
else:
|
else:
|
||||||
type_attribute = obj['type']
|
type_attribute = obj['type']
|
||||||
|
print(type_attribute)
|
||||||
if type_attribute == 'ip-src' or type_attribute == 'ip-dst':
|
if type_attribute == 'ip-src' or type_attribute == 'ip-dst':
|
||||||
return 'ip'
|
return 'ip'
|
||||||
elif 'domain' == type_attribute:
|
elif 'domain' == type_attribute:
|
||||||
|
|
Loading…
Reference in New Issue