syft/test/cli
William Murphy bbddac1f9d
Fix attest with --key (#2551)
Fix passing "--key" to the attest command. Additionally, pull in an update to
the clio CLI library to permit unit testing that flags and env vars are parsed
to the correct field on command options structs. This testing strategy was
needed here because testing attestation in an end to end test requires a
prohibitive amount of setup.

---------

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Signed-off-by: Will Murphy <will.murphy@anchore.com>
Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
2024-01-31 16:39:17 -05:00
..
test-fixtures Use the json schema as input for templating (#2542) 2024-01-25 14:00:35 +00:00
all_formats_convertible_test.go Keep original FileInfo persisted on file.Metadata structs (#1794) 2023-05-19 14:21:10 +00:00
all_formats_expressible_test.go Internalize majority of cmd package (#2533) 2024-01-24 13:29:51 -05:00
convert_cmd_test.go Internalize majority of cmd package (#2533) 2024-01-24 13:29:51 -05:00
cyclonedx_valid_test.go Replace packages command with scan (#2446) 2024-01-04 16:56:57 +00:00
dir_root_scan_regression_test.go Add Linux Kernel cataloger (#1694) 2023-04-14 14:33:36 -04:00
json_schema_test.go Replace packages command with scan (#2446) 2024-01-04 16:56:57 +00:00
root_cmd_test.go Replace packages command with scan (#2446) 2024-01-04 16:56:57 +00:00
scan_cmd_test.go Fix attest with --key (#2551) 2024-01-31 16:39:17 -05:00
spdx_json_schema_test.go Replace packages command with scan (#2446) 2024-01-04 16:56:57 +00:00
spdx_tooling_validation_test.go Replace packages command with scan (#2446) 2024-01-04 16:56:57 +00:00
symlink_test.go Replace packages command with scan (#2446) 2024-01-04 16:56:57 +00:00
trait_assertions_test.go Re-introduce linux kernel cataloger (#2526) 2024-01-22 16:31:41 +00:00
utils_test.go fix: SPDX license values and download location (#2007) 2023-08-08 15:55:50 -04:00
version_cmd_test.go feat: allow for stdout to be buffered on each command (#2335) 2023-11-17 14:14:13 -05:00