Update api.py

pull/103/head
Deventual 2017-08-03 14:22:48 +03:00 committed by GitHub
parent c8d962a594
commit a9d4ab829b
1 changed files with 2 additions and 0 deletions

View File

@ -392,6 +392,8 @@ class PyMISP(object):
else:
url = urljoin(self.root_url, 'events/alert/{}'.format(event_id))
response = session.post(url)
return self._check_response(response)
def change_threat_level(self, event, threat_level_id):
e = self._make_mispevent(event)