Add support for HTTP(s) proxies

This commit is contained in:
Nicolas Grorod 2021-01-21 14:32:25 +01:00
parent b78452423c
commit 088816cbf7

View File

@ -27,10 +27,11 @@ class OpenCTIAnalyzer(Analyzer):
"name": names[i],
"url": urls[i],
"api_client": OpenCTIApiClient(
urls[i],
keys[i],
"error",
ssl,
url=urls[i],
token=keys[i],
log_level="error",
ssl_verify=ssl,
proxies={'http': self.http_proxy, 'https': self.https_proxy}
)
})
except Exception as e: