Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support web proxy https_proxy environment variable #498

Closed
n2qz opened this issue Aug 16, 2020 · 0 comments · Fixed by #499
Closed

Support web proxy https_proxy environment variable #498

n2qz opened this issue Aug 16, 2020 · 0 comments · Fixed by #499

Comments

@n2qz
Copy link
Contributor

n2qz commented Aug 16, 2020

Is your feature request related to a problem? Please describe.
checkov does not run behind a web proxy. Instead, it hangs indefinitely trying to connect to https://www.bridgecrew.cloud/api/v1

Describe the solution you'd like
Add web proxy support for proxy indicated in https_proxy environment variable.

Describe alternatives you've considered
None

Additional context
Before patch behind a web proxy:

$ time timeout 5m checkov -d .

real    5m0.007s
user    0m0.504s
sys     0m0.082s
$

After patch behind a web proxy:

$ time timeout 5m checkov -d .

       _               _
   ___| |__   ___  ___| | _______   __
  / __| '_ \ / _ \/ __| |/ / _ \ \ / /
 | (__| | | |  __/ (__|   < (_) \ V /
  \___|_| |_|\___|\___|_|\_\___/ \_/

by bridgecrew.io | version: 1.0.484


real    0m1.547s
user    0m0.938s
sys     0m0.089s
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant