mirror of https://github.com/MISP/PyMISP
Merge branch 'netjinho-master'
commit
c838ea95dd
|
@ -1688,6 +1688,11 @@ class PyMISP(object):
|
||||||
response = self._prepare_request('GET', url)
|
response = self._prepare_request('GET', url)
|
||||||
return self._check_response(response)
|
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 ##################
|
# ############## WarningLists ##################
|
||||||
|
|
||||||
def get_warninglists(self):
|
def get_warninglists(self):
|
||||||
|
@ -1722,6 +1727,11 @@ class PyMISP(object):
|
||||||
response = self._prepare_request('GET', url)
|
response = self._prepare_request('GET', url)
|
||||||
return self._check_response(response)
|
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 ##############
|
# ############### Non-JSON output ##############
|
||||||
# ##############################################
|
# ##############################################
|
||||||
|
|
Loading…
Reference in New Issue