From 0a649b9bf1cc852d64c9cb982d4e2cde0be5feaf Mon Sep 17 00:00:00 2001 From: Keith Zantow Date: Wed, 21 Feb 2024 18:51:51 -0500 Subject: [PATCH] fix: add correct vendor for dnsmasq CPE Signed-off-by: Keith Zantow --- .../internal/cpegenerate/candidate_by_package_type.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/syft/pkg/cataloger/internal/cpegenerate/candidate_by_package_type.go b/syft/pkg/cataloger/internal/cpegenerate/candidate_by_package_type.go index 67b3e1b1962c..b6e715be608e 100644 --- a/syft/pkg/cataloger/internal/cpegenerate/candidate_by_package_type.go +++ b/syft/pkg/cataloger/internal/cpegenerate/candidate_by_package_type.go @@ -344,6 +344,17 @@ var defaultCandidateAdditions = buildCandidateLookup( candidateKey{PkgName: "wpa_supplicant"}, candidateAddition{AdditionalVendors: []string{"w1.fi"}}, }, + { + pkg.ApkPkg, + candidateKey{PkgName: "dnsmasq", Vendor: "dnsmasq"}, + candidateAddition{AdditionalVendors: []string{"thekelleys"}}, + }, + // Debian packages + { + pkg.DebPkg, + candidateKey{PkgName: "dnsmasq", Vendor: "dnsmasq"}, + candidateAddition{AdditionalVendors: []string{"thekelleys"}}, + }, // // Binary packages {