diff --git a/checkov/common/bridgecrew/platform_integration.py b/checkov/common/bridgecrew/platform_integration.py index 2b8b2deb2da..6a6e50d9f34 100644 --- a/checkov/common/bridgecrew/platform_integration.py +++ b/checkov/common/bridgecrew/platform_integration.py @@ -17,7 +17,11 @@ UNAUTHORIZED_MESSAGE = 'User is not authorized to access this resource with an explicit deny' DEFAULT_REGION = "us-west-2" -http = urllib3.PoolManager() + +try: + http = urllib3.ProxyManager(os.environ['https_proxy']) +except KeyError: + http = urllib3.PoolManager() class BcPlatformIntegration(object):