cloudsploit icon indicating copy to clipboard operation
cloudsploit copied to clipboard

./index.js --suppress *:us-east-1:* - command not working

Open AbhinavCSY opened this issue 2 years ago • 10 comments

I was trying to suppress cloud-sploit results for a particular region, but I got command not found error. Can Anyone help me with this issue?

 ./index.js --suppress *:us-east-1:*
zsh: no matches found: *:us-east-1:*
### Tasks

AbhinavCSY avatar Oct 18 '23 16:10 AbhinavCSY

Hi @AbhinavCSY , Can you try out with this command node index.js --plugin pluginName --suppress :us-east-1:

alphadev4 avatar Nov 24 '23 10:11 alphadev4

hi @AbhinavCSY , please let me know if it worked. so we can close this issue

alphadev4 avatar Nov 27 '23 08:11 alphadev4

Sure @alphadev4 , will check and comment.

AbhinavCSY avatar Nov 27 '23 08:11 AbhinavCSY

Works @alphadev4.

AbhinavCSY avatar Nov 27 '23 10:11 AbhinavCSY

@alphadev4 is there any other command without a plugin flag to suppress region

AbhinavCSY avatar Dec 13 '23 16:12 AbhinavCSY

I rechecked @alphadev4 the command mentioned here is not working, Is there any other command: image

AbhinavCSY avatar Dec 13 '23 17:12 AbhinavCSY

hi @AbhinavCSY this is the format for suppression --suppress pluginId:region:resourceId , you can add * for resourceId and likewise. And if you want to suppress the region for specific plugin you can try lambdaHasTags:us-east-1:*

For more information please refer to this https://github.com/aquasecurity/cloudsploit?tab=readme-ov-file#suppressions

alphadev4 avatar Dec 20 '23 16:12 alphadev4

hi @AbhinavCSY Can you please confirm?

alphadev4 avatar Dec 27 '23 12:12 alphadev4

I am having the same problem. I tried the suggested format mentioned above "--suppress :us-east-1:" by @alphadev4 and while it does run instead of erroring off, it still pulls the region info. I should mention that I am running this against Azure instead of AWS so my region is "southcentralus", but I dont feel like that should be the problem. I have also played around with suppressing certain plugins instead of region but that does not appear to be working for me either. Running the latest build from master as of 1-18-24.

vannovv avatar Jan 19 '24 18:01 vannovv

Any resolution for the same @alphadev4 ?

AbhinavCSY avatar Jan 22 '24 20:01 AbhinavCSY