Skip to content

Commit f2fb918

Browse files
authored
Ignore system rubygems from grype scan results (#1683)
We got another vulnerability scan finding for a system rubygem. In most cases, we use bundler to use more recent versions of these gems. Therefore, these vulnerability scan findings do not reflect actual issues in most cases.
1 parent 94e5757 commit f2fb918

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.grype.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ ignore:
1616
- fix-state: not-fixed
1717
- fix-state: wont-fix
1818
- fix-state: unknown
19-
# TODO: Remove once we upgrade Ruby and these gem versions are no longer included by default.
20-
- vulnerability: GHSA-q339-8rmv-2mhv # Ruby "erb" version 4.0.4
2119

2220
exclude:
2321
- '/rails/node_modules/@esbuild/*/bin/esbuild' # Ignore this go binary since it is only used in the asset build process
22+
- '/usr/local/lib/ruby/gems/*/specifications/**/*.gemspec' # Ignore system rubygems since we use bundler to install more recent versions

0 commit comments

Comments
 (0)