Update yeti.py

fix typo
pull/488/head
Sebdraven 2021-04-20 13:56:45 +02:00
parent dfa46b551a
commit fd76e55093
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ class Yeti():
def __get_object_ns_record(self, obj_to_add):
object_dns_record = MISPObject('dns-record')
object_dns_record.add_attribute('queried_domain', self.attribute['value'])
object_dns_record.add_attribute('queried-domain', self.attribute['value'])
object_dns_record.add_attribute('ns-record', obj_to_add['value'])
object_dns_record.add_reference(self.attribute['uuid'], 'related_to')