Skip to content

Commit

Permalink
fix: missing APK node vulnerabilities (#1565)
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Zantow <kzantow@gmail.com>
  • Loading branch information
kzantow authored Feb 10, 2023
1 parent e236054 commit 890fb3f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions syft/pkg/cataloger/common/cpe/candidate_by_package_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,17 @@ var defaultCandidateAdditions = buildCandidateLookup(
candidateKey{PkgName: "python"},
candidateAddition{AdditionalVendors: []string{"python_software_foundation"}},
},
{
pkg.ApkPkg,
candidateKey{PkgName: "nodejs"},
candidateAddition{AdditionalProducts: []string{"node.js"}},
},
// Binary packages
{
pkg.BinaryPkg,
candidateKey{PkgName: "node"},
candidateAddition{AdditionalProducts: []string{"nodejs", "node.js"}},
},
})

var defaultCandidateRemovals = buildCandidateRemovalLookup(
Expand Down

0 comments on commit 890fb3f

Please sign in to comment.