mirror of https://github.com/MISP/misp-modules
commit
b65237a0cb
|
@ -29,6 +29,7 @@ moduleinfo = {
|
|||
moduleconfig = [
|
||||
"username",
|
||||
"password",
|
||||
"verify_ssl",
|
||||
]
|
||||
|
||||
|
||||
|
@ -67,7 +68,7 @@ def handler(q=False):
|
|||
|
||||
# Make the API calls
|
||||
try:
|
||||
api_client = lastline_api.PortalClient(api_url, auth_data)
|
||||
api_client = lastline_api.PortalClient(api_url, auth_data, verify_ssl=config.get('verify_ssl', True).lower() in ("true"))
|
||||
response = api_client.get_progress(task_uuid)
|
||||
if response.get("completed") != 1:
|
||||
raise ValueError("Analysis is not finished yet.")
|
||||
|
|
|
@ -31,6 +31,7 @@ moduleinfo = {
|
|||
moduleconfig = [
|
||||
"username",
|
||||
"password",
|
||||
"verify_ssl",
|
||||
]
|
||||
|
||||
|
||||
|
@ -81,7 +82,7 @@ def handler(q=False):
|
|||
|
||||
# Make the API calls
|
||||
try:
|
||||
api_client = lastline_api.PortalClient(api_url, auth_data)
|
||||
api_client = lastline_api.PortalClient(api_url, auth_data, verify_ssl=config.get('verify_ssl', True).lower() in ("true"))
|
||||
response = api_client.get_progress(task_uuid)
|
||||
if response.get("completed") != 1:
|
||||
raise ValueError("Analysis is not finished yet.")
|
||||
|
|
Loading…
Reference in New Issue