Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AbhinavCSY opened this issue Oct 18, 2023 · 10 comments
Open

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

AbhinavCSY opened this issue Oct 18, 2023 · 10 comments
Assignees

Comments

@AbhinavCSY
Copy link

AbhinavCSY commented Oct 18, 2023

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

Preview Give feedback
No tasks being tracked yet.
@alphadev4 alphadev4 self-assigned this Nov 24, 2023
@alphadev4
Copy link
Collaborator

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

@alphadev4
Copy link
Collaborator

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

@AbhinavCSY
Copy link
Author

Sure @alphadev4 , will check and comment.

@AbhinavCSY
Copy link
Author

Works @alphadev4.

@AbhinavCSY
Copy link
Author

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

@AbhinavCSY AbhinavCSY reopened this Dec 13, 2023
@AbhinavCSY
Copy link
Author

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

@alphadev4
Copy link
Collaborator

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
Copy link
Collaborator

hi @AbhinavCSY Can you please confirm?

@vannovv
Copy link

vannovv commented Jan 19, 2024

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.

@AbhinavCSY
Copy link
Author

Any resolution for the same @alphadev4 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants