mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
fix: stop emitting redis redis CPE for PHP PECL redis (#3881)
This prevents the cpe🅰️redis:redis... from being emitted for the PHP
Pear / PECL package called redis.
Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
This commit is contained in:
parent
621d21eb04
commit
58392a9717
@ -630,6 +630,12 @@ var defaultCandidateRemovals = buildCandidateRemovalLookup(
|
||||
candidateKey{PkgName: "grpc"},
|
||||
candidateRemovals{ProductsToRemove: []string{"grpc"}},
|
||||
},
|
||||
// PHP Packages
|
||||
{
|
||||
pkg.PhpPearPkg,
|
||||
candidateKey{PkgName: "redis"},
|
||||
candidateRemovals{ProductsToRemove: []string{"redis"}},
|
||||
},
|
||||
})
|
||||
|
||||
// buildCandidateLookup is a convenience function for creating the defaultCandidateAdditions set
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user