Indirect Go dependencies vulnerability alerts #22505
phisco
started this conversation in
Suggest an Idea
Replies: 1 comment 3 replies
|
Renovate today overrides a number of controls for vulnerable dependencies, such as grouping, rate limits, schedules - but it does not override disabled dependencies. Currently indirect dependencies are disabled by default so that's why they don't get rejuvenated back into life |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Tell us more.
In crossplane/crossplane we have configured Renovate to disable all PRs by default and only open the ones related to vulnerability alerts: you can see the config here.
However, we now have an indirect dependency affected by a vulnerability, which correctly being detected by Renovate:
but is not triggering any PR being disabled by default for the
gomodmanager:I'm not sure whether this is due to the fact that it's not properly matching versions or we are missing some configuration to do so, but what we would like to have is Renovate being able to detect that this dependency is affected by a vulnerability and trigger the update of the direct dependencies relying on that.
Enabling indirect updates as suggested by the docs results in all the indirect dependencies being updated, which is not what we want.
@rarkins confirmed it's not possible at the moment to
have direct dependencies updated if and only if either them or any of their dependencies is affected by a vulnerability, see #22487 (reply in thread), so I'm forking the original discussion as requested.All reactions