Update yeti.py

add logs
pull/488/head
Sebdraven 2021-03-19 15:19:37 +01:00
parent 5176a36acf
commit 624f423264
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ class Yeti():
def __get_relation(self, obj_yeti):
typ_attribute = self.misp_mapping[obj_yeti['type']]
attr_misp = {'value': obj_yeti['value']}
print('att %s' % typ_attribute)
if typ_attribute == 'ip-src' or typ_attribute == 'ip-dst':
return 'ip'
elif 'domain' == typ_attribute: