[RFE] Having a level of privacy on a per rule basis #176
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
needs-priority
Indicates an issue or PR lacks a `priority/foo` label and requires one.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Today we can disable code snippets in the reports. That's very useful for privacy reason. But this is done on a per-assessment basis: either you show the code snippets in the report or not. But sometimes you want to show the code snippets in the report, except for specific rules (e.g. a rule that looks for hard-coded passwords and displays the password in the code snippet).
It would be good if there was a privacy level on a per-rule basis. We could have several levels, going from public to private, something like:
And when you run an analysis, you could specify the minimum level of privacy.
This mechanism is inspired from the Logging level of logging frameworks
The text was updated successfully, but these errors were encountered: