Add web proxy support using https_proxy environment variable
@@ -17,6 +17,10 @@ from .wrapper import reduce_scan_reports, persist_checks_results, enrich_and_per
UNAUTHORIZED_MESSAGE = 'User is not authorized to access this resource with an explicit deny'
DEFAULT_REGION = "us-west-2"
+
+try:
+ http = urllib3.ProxyManager(os.environ['https_proxy'])
+except KeyError:
http = urllib3.PoolManager()
