admin管理员组

文章数量:1126164

I have a very simple issue with Snyk, but I cannot figure out from the documentation how it could be solved. Snyk tried to recommend a major Rails version upgrade for my project and at this moment I am not ready to upgrade Rails. In the Gemfile I already specifed for Rails to only accept minor version upgrades but I am really not understand why Snyk ignores it.

The current Gemfile config is for rails gem:

gem 'rails', '~> 6.1'

The main problem is, I do not want to disable just that specific affectd vulnerability to pop up, because I am afraid later more vulnerabilities will come out that makes Snyk to post a new PR about raising a major Rails version. Also, I do not want to disable this automatic PR feature completely, because most of the times they are pretty helpful.

Is there any way to refine Snyk config to reject any major version upgrade to any gem, or specifically Rails gem?

本文标签: ruby on railsSnykConfigure what versions are accepted for a packageStack Overflow