mirror of https://github.com/MISP/PyMISP
Merge branch 'master' of https://github.com/netjinho/PyMISP into netjinho-master
commit
1e7f7b783e
|
@ -1688,6 +1688,11 @@ class PyMISP(object):
|
|||
response = self._prepare_request('GET', url)
|
||||
return self._check_response(response)
|
||||
|
||||
def update_taxonomies(self):
|
||||
url = urljoin(self.root_url, '/taxonomies/update')
|
||||
response = self._prepare_request('POST', url)
|
||||
return self._check_response(response)
|
||||
|
||||
# ############## WarningLists ##################
|
||||
|
||||
def get_warninglists(self):
|
||||
|
@ -1722,6 +1727,11 @@ class PyMISP(object):
|
|||
response = self._prepare_request('GET', url)
|
||||
return self._check_response(response)
|
||||
|
||||
def update_galaxies(self):
|
||||
url = urljoin(self.root_url, '/galaxies/update')
|
||||
response = self._prepare_request('POST', url)
|
||||
return self._check_response(response)
|
||||
|
||||
# ##############################################
|
||||
# ############### Non-JSON output ##############
|
||||
# ##############################################
|
||||
|
|
Loading…
Reference in New Issue