syft/internal
Avi Deitcher cc731c7b19
Add Linux Kernel cataloger (#1694)
* add kernel handler

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* [wip] combine kernel and kernel module cataloging

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* [wip] combine kernel and kernel module cataloging

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Avi Deitcher <avi@deitcher.net>

* rename Kernel package to LinuxKernel package

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* split kernel and module packages within cataloger

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* wire up application configuration with kernel cataloger options

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* dont use references for packages on relationships

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* fix linting and tests

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* kernel cataloger should be resistent to partial failure

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* log upon kernel module metadata missing

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* add tests for linux kernel cataloger

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* update integration tests

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* update cli package test counts

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* add evidence annotations for kernel packages

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* reduce noise in cli test output

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* missed cli test to reduce noise for

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* fix package counts

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* update docs with linux kernel cataloging refs

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* bump json schema with new metadata fields

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

---------

Signed-off-by: Avi Deitcher <avi@deitcher.net>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: <>
Co-authored-by: Alex Goodman <alex.goodman@anchore.com>
2023-04-14 14:33:36 -04:00
..
bus Add documentation around catalogers, UI elements, and the event bus (#143) 2020-08-12 11:04:39 -04:00
config Add Linux Kernel cataloger (#1694) 2023-04-14 14:33:36 -04:00
file chore: Update syft bootstrap tools to latest versions. (#1682) 2023-03-20 13:20:48 -04:00
licenses feat: scan local go mod cache for licenses of golang packages (#1645) 2023-03-23 10:38:15 -04:00
log replace logger interface with anchore/go-logger (#1279) 2022-10-21 15:12:14 +00:00
spdxlicense 1577 spdxlicense generate (#1691) 2023-03-23 11:48:24 -04:00
ui Add NetBSD support. (#1412) 2022-12-19 16:59:50 -05:00
version Bug fix for 1095 - syft conversion option error (#1177) 2022-08-25 17:36:15 -04:00
constants.go Add Linux Kernel cataloger (#1694) 2023-04-14 14:33:36 -04:00
docs.go improve doc comments 2020-11-17 12:37:13 -05:00
err_helper.go chore: clean up linting configuration (#1343) 2022-11-16 16:28:09 +00:00
input.go 510 - SBOM attestation stdout (#785) 2022-02-22 21:45:12 -05:00
mimetype_helper.go feat: add nodejs-binary package classifier (#1296) 2022-10-31 16:45:11 +00:00
mimetype_helper_test.go Migrate SPDX-JSON relationships to SBOM model (#634) 2021-11-23 14:54:17 -05:00
regex_helpers.go simplify MatchNamedCaptureGroups implementation 2021-04-12 17:11:43 -04:00
regex_helpers_test.go add tests around MatchNamedCaptureGroups + rename 2021-04-12 17:08:50 -04:00
string_helpers.go Speed up cataloging by replacing globs searching with index lookups (#1510) 2023-02-09 16:19:47 +00:00
string_helpers_test.go Speed up cataloging by replacing globs searching with index lookups (#1510) 2023-02-09 16:19:47 +00:00
stringset.go Migrate format definitions to sbom package (#864) 2022-03-04 17:22:40 -05:00
tprint.go add analysis coordination (with dummy analyzer) 2020-05-18 11:59:33 -04:00