feat: detect fluent-bit binaries (#2905)

Signed-off-by: Keith Zantow <kzantow@gmail.com>
This commit is contained in:
Keith Zantow
2024-05-28 10:13:06 -04:00
committed by GitHub
parent 2b70ea3fc2
commit ac34808b9c
5 changed files with 49 additions and 0 deletions
@@ -952,6 +952,28 @@ func Test_Cataloger_PositiveCases(t *testing.T) {
Metadata: metadata("gcc-binary"),
},
},
{
logicalFixture: "fluent-bit/3.0.2/linux-amd64",
expected: pkg.Package{
Name: "fluent-bit",
Version: "3.0.2",
Type: "binary",
PURL: "pkg:github/fluent/fluent-bit@3.0.2",
Locations: locations("fluent-bit"),
Metadata: metadata("fluent-bit-binary"),
},
},
{
logicalFixture: "fluent-bit/2.2.1/linux-arm64",
expected: pkg.Package{
Name: "fluent-bit",
Version: "2.2.1",
Type: "binary",
PURL: "pkg:github/fluent/fluent-bit@2.2.1",
Locations: locations("fluent-bit"),
Metadata: metadata("fluent-bit-binary"),
},
},
{
logicalFixture: "wp/2.9.0/linux-amd64",
expected: pkg.Package{