minder icon indicating copy to clipboard operation
minder copied to clipboard

When no fix for a CVE exists, don't mark a PR as changes requested

Open jhrozek opened this issue 2 years ago • 4 comments

As discussed in https://github.com/stacklok/minder/pull/1806#discussion_r1415544292, when a CVE exists, but no fixed version exists, we should not mark the PR as changes requested (at least not by default)

jhrozek avatar Dec 07 '23 18:12 jhrozek

@eleftherias I think you fixed this didn't you?

jhrozek avatar May 23 '24 11:05 jhrozek

@jhrozek No, I don't think so. The fix I had done was about not commenting a new version on PR when no fixed version exists, but I didn't change the review status.

eleftherias avatar May 29 '24 05:05 eleftherias

@ethomson -- we're not sure if this hits the "beta quality bar" list or not

evankanderson avatar Aug 27 '24 13:08 evankanderson

I think that it's okay to keep it as "changes requested" - that makes sense within the context of what we're doing (we found a vulnerability, we don't want you to check in a vulnerability, changes requested makes a certain amount of sense). I do think that we should update the verbiage.

Minder found vulnerable dependencies in this PR. Either push an updated version or accept the proposed changes. Note that accepting the changes will include Minder as a co-author of this PR.

Given this, I think yes for beta. If we do propose a change, then let's keep this guidance 👆

If we cannot propose a change, let's make the verbiage make sense:

Minder found vulnerable dependencies in this PR, but could not find a new version of the dependency that is not vulnerable. Please push an updated version.

ethomson avatar Aug 29 '24 13:08 ethomson

This looks like we need to change the verbiage on the warning.

evankanderson avatar Jan 14 '25 14:01 evankanderson

We should consider making this configurable, some users may want a warning.

eleftherias avatar Jan 14 '25 14:01 eleftherias

Closing in favour of https://github.com/mindersec/minder-rules-and-profiles/issues/274 in minder-rules-and-profiles.

eleftherias avatar Jan 15 '25 08:01 eleftherias