Update yeti.py

modify call yeti
pull/488/head
Sebdraven 2021-03-05 11:40:11 +01:00
parent 6aff43cf99
commit e3f23793e0
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ class Yeti():
def __init__(self, url, key):
self.dict = {'Ip': 'ip-src', 'Domain': 'domain', 'Hostname': 'hostname'}
self.yeti_client = pyeti.YetiApi(url, key)
self.yeti_client = pyeti.YetiApi(url=url, api_key=key)
def search(self, value):
obs = self.yeti_client.observable_search(value=value)
if obs: