syft/test/cli
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
..
test-fixtures refactor spdx tooling test to reduce intermittent failures (#1707) 2023-04-03 18:43:28 +00:00
all_formats_convertible_test.go allow convert to take stdin (#1570) 2023-02-14 10:03:47 -05:00
all_formats_expressible_test.go feat: Allow specific versions of formats to be specified (#1543) 2023-02-07 10:40:43 -05:00
convert_cmd_test.go allow convert to take stdin (#1570) 2023-02-14 10:03:47 -05:00
cyclonedx_valid_test.go add integration tests for validating CycloneDX output using cyclonedx-cli (#1000) 2022-05-12 12:56:04 -04:00
dir_root_scan_regression_test.go ignore target link files based on path (#667) 2021-12-13 20:49:11 -05:00
json_schema_test.go Update java generic cataloger (#1329) 2022-11-09 14:55:54 +00:00
packages_cmd_test.go Add Nix cataloger (#1696) 2023-04-04 10:53:56 -04:00
power_user_cmd_test.go Fix potential race condition during event subscription (#993) 2022-05-11 18:35:55 -04:00
root_cmd_test.go Migrate format definitions to sbom package (#864) 2022-03-04 17:22:40 -05:00
spdx_json_schema_test.go docs: update schema name to 2.3 (#1416) 2022-12-20 02:57:19 +00:00
spdx_tooling_validation_test.go refactor spdx tooling test to reduce intermittent failures (#1707) 2023-04-03 18:43:28 +00:00
trait_assertions_test.go Fix potential race condition during event subscription (#993) 2022-05-11 18:35:55 -04:00
utils_test.go allow convert to take stdin (#1570) 2023-02-14 10:03:47 -05:00