securesauce / precli

Precaution CLI - command line static application security testing tool
https://precli.readthedocs.io/
Other
14 stars 3 forks source link

Support using ranges for the rule enable/disable argument #531

Closed ericwb closed 1 month ago

ericwb commented 1 month ago

Is your feature request related to a problem? Please describe. This can help the Precaution service when it comes to third-party rules.

Describe the solution you'd like Rather than having someone enter a comma separated list of rules to enable or disable, how about having the capability to give a range of rules.

For example:

precli -r --enable PY001-PY035 vmware/pyvmomi

However, giving ranges across different language specific rules wouldn't quite work (i.e. GO001-PY035)

Describe alternatives you've considered n/a

Additional context n/a

Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.