Skip to content

[RFE] Having a level of privacy on a per rule basis #176

Open
@agoncal

Description

@agoncal

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:

  • Public: By default the code snippet of this rule is displayed
  • Confidential: Code snipped could be restricted to a select group of individuals who have a need to know
  • Private: The highest level of privacy, the code snipped is not to be shown
  • ....

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.needs-priorityIndicates an issue or PR lacks a `priority/foo` label and requires one.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions