Map Hashicorp Vault Homebrew package to correct vendor for CPE translation (#30363)
Fixes #30229. No changes file since this is a vulns feed fix not tied to a release. - [x] Added/updated automated tests - [x] Manual QA for all new/changed functionality
This commit is contained in:
@@ -1743,6 +1743,15 @@ func TestCPEFromSoftwareIntegration(t *testing.T) {
|
||||
BundleIdentifier: "",
|
||||
}, cpe: "cpe:2.3:a:github:cli:2.61.0:*:*:*:*:macos:*:*",
|
||||
},
|
||||
{
|
||||
software: fleet.Software{
|
||||
Name: "vault",
|
||||
Source: "homebrew_packages",
|
||||
Version: "1.4.0",
|
||||
Vendor: "",
|
||||
BundleIdentifier: "",
|
||||
}, cpe: "cpe:2.3:a:hashicorp:vault:1.4.0:*:*:*:*:macos:*:*",
|
||||
},
|
||||
{
|
||||
software: fleet.Software{
|
||||
Name: "pass",
|
||||
|
||||
@@ -10,6 +10,16 @@
|
||||
"target_sw": ["macos", "mac_os"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"software": {
|
||||
"name": ["vault"],
|
||||
"source": ["homebrew_packages"]
|
||||
},
|
||||
"filter": {
|
||||
"product": ["vault"],
|
||||
"vendor": ["hashicorp"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"software": {
|
||||
"name": ["pass"],
|
||||
|
||||
Reference in New Issue
Block a user