Skip to content

Accepted Risk (Won't Fix) For Issue Remediation #6667

Description

@codejasleen

Currently, every rule violation eventually results in a remediation issue until the rule becomes compliant.

However, there are cases where a repository owner intentionally decides that a particular violation is an accepted risk and does not plan to remediate it. In those cases, repeatedly creating new remediation issues for the same violation isn't useful.

One possible approach would be to introduce an explicit Accepted Risk workflow for Minder-created remediation issues.

The current idea is to reuse GitHub's existing wontfix label. If a repository owner applies the wontfix label to a remediation issue created by Minder, Minder would treat that as an explicit Accepted Risk decision. It would record that state for the corresponding repository/rule, close the issue, and avoid creating new remediation issues for subsequent evaluations until that Accepted Risk state is removed.

This keeps the workflow explicit, avoids trying to infer intent from comments or issue state, and fits naturally into the existing GitHub issue workflow.

Open question: Is reusing GitHub's existing wontfix label the right trigger for Accepted Risk, or would a different workflow fit Minder better?
@evankanderson

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions