mirror of
https://github.com/valitydev/Cortex-Analyzers.git
synced 2024-11-06 09:05:19 +00:00
Add support for HTTP(s) proxies
This commit is contained in:
parent
b78452423c
commit
088816cbf7
@ -27,10 +27,11 @@ class OpenCTIAnalyzer(Analyzer):
|
|||||||
"name": names[i],
|
"name": names[i],
|
||||||
"url": urls[i],
|
"url": urls[i],
|
||||||
"api_client": OpenCTIApiClient(
|
"api_client": OpenCTIApiClient(
|
||||||
urls[i],
|
url=urls[i],
|
||||||
keys[i],
|
token=keys[i],
|
||||||
"error",
|
log_level="error",
|
||||||
ssl,
|
ssl_verify=ssl,
|
||||||
|
proxies={'http': self.http_proxy, 'https': self.https_proxy}
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user