Open hisashiyamaguchi opened 2 years ago
I'm trying to scan my azure environment, but it seems it tries to scan only AWS environment even if I don't specify my AWS credentials on config.js. Here come my config.js and credential.json.
// CloudSploit config file module.exports = { credentials: { azure: { credential_file: '/Users/hyamaguc/cloudsploit/credential.json' }, azure_remediate: { credential_file: '/Users/hyamaguc/cloudsploit/credential.json' } };
{ "ApplicationID": "xxxx", "KeyValue": "xxxx", "DirectoryID": "xxxx", "SubscriptionID": "xxxx" }
Here comes the output of ./index.js
./index.js --cloud azure _____ _ _ _____ _ _ _ / ____| | | |/ ____| | | (_) | | | | | ___ _ _ __| | (___ _ __ | | ___ _| |_ | | | |/ _ \| | | |/ _` |\___ \| '_ \| |/ _ \| | __| | |____| | (_) | |_| | (_| |____) | |_) | | (_) | | |_ \_____|_|\___/ \__,_|\__,_|_____/| .__/|_|\___/|_|\__| | | |_| CloudSploit by Aqua Security, Ltd. Cloud security auditing for AWS, Azure, GCP, Oracle, and GitHub INFO: No config file provided, using default AWS credential chain. INFO: Skipping AWS pagination mode INFO: Determining API calls to make... INFO: Found 297 API calls to make for aws plugins INFO: Collecting metadata. This may take several minutes... [INFO][REGIONS] Could not load all regions from EC2: {"message":"Missing region in config","code":"ConfigError","time":"2022-06-07T01:00:14.011Z"}
I didn't use a the credential file. I use the config.js filled out, and then run it like this
./index.js --config=./config.js --csv nameofcsv.csv
I'm trying to scan my azure environment, but it seems it tries to scan only AWS environment even if I don't specify my AWS credentials on config.js. Here come my config.js and credential.json.
Here comes the output of ./index.js