overcommit icon indicating copy to clipboard operation
overcommit copied to clipboard

`bundle-audit`: consider always updating ruby-advisory-db when running the check

Open pjpires opened this issue 3 years ago • 0 comments

Recently I found I needed to update a few patch versions of rails-related libraries in a project, due to some security updates available. However, they were not reported when running overcommit with bundle-audit enabled.

From my understanding the issue is that bundle-audit was running against an outdated list of vulnerabilities. It can be fixed by passing the --update flag when running the check, as documented here.

In my opinion, this should be the default behavior. Is it worth it to open a PR that sets that flag by default in https://github.com/sds/overcommit/blob/master/config/default.yml?

By the way, thanks for the great work! 👏 We've been using overcommit across a variety of projects for a long time now, it improved our workflow a lot.

pjpires avatar May 18 '23 11:05 pjpires