cloudsploit
cloudsploit copied to clipboard
Wildcard cannot be used in place of pluginId in suppression argument after recent changes
After changes made in https://github.com/aquasecurity/cloudsploit/pull/2125 the next command (which also can be found in README.md) cannot be run as it's not possible to use wildcard in place of pluginId anymore:
# Suppress all us-east-1 region results
$ ./index.js --suppress *:us-east-1:*
Returns:
Error: Invalid pluginId in suppression: *. Must only contain letters and numbers and be between 1-255 characters.
I have the same issue. Is there a workaround for this?
We seem to be having the same exact issue
As a workaround, I am using this to disable the new validation check in my CI/CD pipeline: sed -i '/validateSuppression(expr)/d' ./postprocess/suppress.js.