forked from aquasecurity/starboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(find vulnerabilities): Configure HTTP proxy for Trivy (aquasecur…
…ity#154) Some people might run their (dev) clusters behind the proxy. It is possible to set the HTTP_PROXY environment variable when using Trivy directly. This commit makes it possible to use Starboard CLI and pass HTTP proxy config to Trivy by setting the trivy.httpProxy configuration parameter before you run the starboard find vulnerabilities command. $ starboard init $ kubectl patch configmap starboard -n starboard \ --type merge \ -p '{"data": {"trivy.httpProxy":"http://your-proxy:9001"}}' $ starboard find vulnerabilities deploy/my-deployment Resolves: aquasecurity#84 Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
- Loading branch information
1 parent
78ee8c7
commit dd8e497
Showing
2 changed files
with
76 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters