syft/internal
Alex Goodman 7464079a09
Add Nix cataloger (#1696)
* Add Basic Nix Cataloger

Signed-off-by: Julio Tain Sueiras <juliosueiras@gmail.com>

* Update nix def for the latest syft definition

Signed-off-by: Julio Tain Sueiras <juliosueiras@gmail.com>

* capture nix package files on pkg.NixStoreMetadata

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

* fix unit tests and linting

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

* update JSON schema

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

* address review comments

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

* Update syft/pkg/cataloger/nix/parse_nix_store_path_test.go

Co-authored-by: Florian Klink <flokli@flokli.de>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* support unstable version conventions

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

* update json schema relative to main branch

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

* update syft json with v7.1.1 schema

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

* fix CLI tests

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

* remove extra continue statement

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

* add Nix to list of supported ecosystems

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

---------

Signed-off-by: Julio Tain Sueiras <juliosueiras@gmail.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Co-authored-by: Julio Tain Sueiras <juliosueiras@gmail.com>
Co-authored-by: Florian Klink <flokli@flokli.de>
2023-04-04 10:53:56 -04:00
..
bus Add documentation around catalogers, UI elements, and the event bus (#143) 2020-08-12 11:04:39 -04:00
config feat: Add config option to allow user to select the default image source location 2023-03-31 10:04:10 -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 Nix cataloger (#1696) 2023-04-04 10:53:56 -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