cloudsploit icon indicating copy to clipboard operation
cloudsploit copied to clipboard

unable scan azure environment using cloudspolit

Open yaminiholla09 opened this issue 3 years ago • 7 comments
trafficstars

i have recently using the cloudspolit github project - for azure followed the instructions but the ./index.js file is unable recongise the azure config , instead default aws can some please help ?

yaminiholla09 avatar Sep 12 '22 14:09 yaminiholla09

I have now gone through the whole setup several times. I have installed Cloudsploit in a small VM running Debian - installation has been done with and without --force update of npm packages. Have configured config.js with Azure credentials - tested both hardcoded in the file and with a json credential file. when issuing the ./index.js command with an absolute path to config.js I keep getting; 'unable to load config' error (as it is being reported by other individuals).

I'm honestly wondering if this is supposed to work at all ?

Gbpdawnhealthcom avatar Feb 08 '23 11:02 Gbpdawnhealthcom

hi @yaminiholla09 @Gbpdawnhealthcom can you try running this command

./index.js --config ./config.js

alphadev4 avatar Aug 04 '23 15:08 alphadev4

I use this command "node ./index.js --ignore-ok --compliance=CSI --console=table --config ./config.js --csv=file.csv" The output says: DEBUG: Skipping plugin Front Door Access Logs Enabled because it is not used for compliance programs DEBUG: Skipping plugin Front Door Minimum TLS Version because it is not used for compliance programs ERROR: Nothing to collect. (parsed) is there a way to force the plugins from being skipped? Is this a rights issue on the Azure side?

Thanks in advance for everyones help!

cb0rtha avatar Aug 10 '23 18:08 cb0rtha

hi @cb0rtha , cloudsploit uses several flags i.e. --compliance=CSI enforces to run the plugins which are cis mapped. please check this for all cli options https://github.com/aquasecurity/cloudsploit/blob/master/docs/oracle.md#cloud-provider-configuration

and in general to run all the azure plugins you can use this command node ./index.js --config ./config.js

alphadev4 avatar Aug 14 '23 09:08 alphadev4

hi @cb0rtha can we close this issue?

alphadev4 avatar Nov 28 '23 11:11 alphadev4

hi @yaminiholla09 , can we close this issue?

alphadev4 avatar Nov 28 '23 11:11 alphadev4

Same issue with me, getting this error: TypeError: Cannot read properties of undefined (reading 'credential_file'). I am using Node.js v21.5.0

DarkInnocence avatar Jan 04 '24 15:01 DarkInnocence