Update yeti.py

add log
pull/488/head
Sebdraven 2021-04-19 11:08:21 +02:00
parent af01db860a
commit be212097a7
1 changed files with 1 additions and 0 deletions

View File

@ -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: