securesauce / precli

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

Collate many results of the same rule ID #397

Open ericwb opened 7 months ago

ericwb commented 7 months ago

Is your feature request related to a problem? Please describe. Sometimes when analyzing large repos, there are an immense number of results for a single rule ID. For example, scanning a repo might return 1000s of results of the assert rule (PY001).

Describe the solution you'd like It would be great if the CLI doesn't try to output 14,000 assert results. Instead it would be better to alert the user with a single message indicating a huge number of results that went beyond the threshold. What the threshold should be is TBD.

This also means the CLI needs an option to override this default behavior.

Describe alternatives you've considered n/a

Additional context n/a

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