mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00:00
fix: Don't use the actual redis or grpc CPEs for gems (#1926)
Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
This commit is contained in:
parent
376c42893b
commit
c0c089ffd5
1 changed files with 11 additions and 0 deletions
|
@ -461,6 +461,17 @@ var defaultCandidateRemovals = buildCandidateRemovalLookup(
|
|||
VendorsToRemove: []string{"gradle"},
|
||||
},
|
||||
},
|
||||
// Ruby packages
|
||||
{
|
||||
pkg.GemPkg,
|
||||
candidateKey{PkgName: "redis"},
|
||||
candidateRemovals{ProductsToRemove: []string{"redis"}},
|
||||
},
|
||||
{
|
||||
pkg.GemPkg,
|
||||
candidateKey{PkgName: "grpc"},
|
||||
candidateRemovals{ProductsToRemove: []string{"grpc"}},
|
||||
},
|
||||
})
|
||||
|
||||
// buildCandidateLookup is a convenience function for creating the defaultCandidateAdditions set
|
||||
|
|
Loading…
Reference in a new issue