mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 23:16:30 +01:00
feat: detect unpackaged Firefox in software inventories (#5068)
Signed-off-by: ychampion <ychampion@users.noreply.github.com>
This commit is contained in:
@@ -1951,6 +1951,17 @@ func Test_Cataloger_PositiveCases(t *testing.T) {
|
||||
Metadata: metadata("chrome-binary"),
|
||||
},
|
||||
},
|
||||
{
|
||||
logicalFixture: "firefox/151.0/linux-amd64",
|
||||
expected: pkg.Package{
|
||||
Name: "firefox",
|
||||
Version: "151.0",
|
||||
Type: "binary",
|
||||
PURL: "pkg:generic/firefox@151.0",
|
||||
Locations: locations("firefox", "application.ini"),
|
||||
Metadata: metadata("firefox-binary"),
|
||||
},
|
||||
},
|
||||
{
|
||||
logicalFixture: "ffmpeg/7.1.1/darwin-arm64",
|
||||
expected: pkg.Package{
|
||||
|
||||
Reference in New Issue
Block a user