-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: detect fluent-bit binaries (#2905)
Signed-off-by: Keith Zantow <[email protected]>
- Loading branch information
Showing
5 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected]", | ||
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/[email protected]", | ||
Locations: locations("fluent-bit"), | ||
Metadata: metadata("fluent-bit-binary"), | ||
}, | ||
}, | ||
{ | ||
logicalFixture: "wp/2.9.0/linux-amd64", | ||
expected: pkg.Package{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+355 Bytes
...taloger/binary/test-fixtures/classifiers/snippets/fluent-bit/2.2.1/linux-arm64/fluent-bit
Binary file not shown.
Binary file added
BIN
+354 Bytes
...taloger/binary/test-fixtures/classifiers/snippets/fluent-bit/3.0.2/linux-amd64/fluent-bit
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters