Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Linux Kernel cataloger #1694

Merged
merged 22 commits into from
Apr 14, 2023
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
c9637b8
add kernel handler
deitch Mar 20, 2023
787e8b6
[wip] combine kernel and kernel module cataloging
wagoodman Mar 29, 2023
c33e142
[wip] combine kernel and kernel module cataloging
wagoodman Mar 29, 2023
be3cc95
Merge remote-tracking branch 'origin/main' into kernel-and-modules-ca…
wagoodman Apr 4, 2023
acc8426
rename Kernel package to LinuxKernel package
wagoodman Apr 6, 2023
d144523
split kernel and module packages within cataloger
wagoodman Apr 10, 2023
db5e932
wire up application configuration with kernel cataloger options
wagoodman Apr 10, 2023
3c68a93
Merge remote-tracking branch 'origin/main' into kernel-and-modules-ca…
wagoodman Apr 13, 2023
950583b
dont use references for packages on relationships
wagoodman Apr 13, 2023
7eb054f
fix linting and tests
wagoodman Apr 13, 2023
aacf2e2
kernel cataloger should be resistent to partial failure
wagoodman Apr 13, 2023
8056339
log upon kernel module metadata missing
wagoodman Apr 13, 2023
49cdee0
add tests for linux kernel cataloger
wagoodman Apr 14, 2023
dca44ae
update integration tests
wagoodman Apr 14, 2023
500015b
update cli package test counts
wagoodman Apr 14, 2023
9f75d14
Merge remote-tracking branch 'origin/main' into kernel-and-modules-ca…
wagoodman Apr 14, 2023
5ea16e3
add evidence annotations for kernel packages
wagoodman Apr 14, 2023
0a68e73
reduce noise in cli test output
wagoodman Apr 14, 2023
d67f89b
missed cli test to reduce noise for
wagoodman Apr 14, 2023
449132d
fix package counts
wagoodman Apr 14, 2023
1476626
update docs with linux kernel cataloging refs
wagoodman Apr 14, 2023
3091d01
bump json schema with new metadata fields
wagoodman Apr 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix package counts
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
  • Loading branch information
wagoodman committed Apr 14, 2023
commit 449132d09e8bd01d67e12ebaf83fec14484eb644
6 changes: 3 additions & 3 deletions test/cli/packages_cmd_test.go
Original file line number Diff line number Diff line change
@@ -104,7 +104,7 @@ func TestPackagesCmdFlags(t *testing.T) {
name: "squashed-scope-flag-hidden-packages",
args: []string{"packages", "-o", "json", "-s", "squashed", hiddenPackagesImage},
assertions: []traitAssertion{
assertPackageCount(165),
assertPackageCount(163),
assertNotInOutput("vsftpd"), // hidden package
assertSuccessfulReturnCode,
},
@@ -113,7 +113,7 @@ func TestPackagesCmdFlags(t *testing.T) {
name: "all-layers-scope-flag",
args: []string{"packages", "-o", "json", "-s", "all-layers", hiddenPackagesImage},
assertions: []traitAssertion{
assertPackageCount(166), // packages are now deduplicated for this case
assertPackageCount(164), // packages are now deduplicated for this case
assertInOutput("all-layers"),
assertInOutput("vsftpd"), // hidden package
assertSuccessfulReturnCode,
@@ -126,7 +126,7 @@ func TestPackagesCmdFlags(t *testing.T) {
"SYFT_PACKAGE_CATALOGER_SCOPE": "all-layers",
},
assertions: []traitAssertion{
assertPackageCount(166), // packages are now deduplicated for this case
assertPackageCount(164), // packages are now deduplicated for this case
assertInOutput("all-layers"),
assertInOutput("vsftpd"), // hidden package
assertSuccessfulReturnCode,