aquasecurity / aquasecurity/cloudsploit

Add support for http_proxy

Open
#86 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.8k
Forks
751
Avg merge
11d 9h
Merged PRs (30d)
3

Description

Suggested addition to collect.js:

// ADDED PROXY CONFIGURATION
if (process.env.http_proxy) {
console.log('INFO: Setting proxy to [' + process.env.http_proxy + '] from the environment variable http_proxy...');
var proxy = require('proxy-agent');
AWS.config.update({
httpOptions: { agent: proxy(process.env.http_proxy) }
});
}

Contributor guide

Open the contributing guide

Research direction

Start with collect.js and review how AWS.config is initialized. Compare the suggested http_proxy handling with the project's dependency setup, then verify that the environment variable configures the proxy when present and leaves normal behavior unchanged when absent.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript
Domain
cloud
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.