mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 22:12:28 +01:00
Replace packages command with scan (#2446)
* replace packages command with scan Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * add tests for packages alias Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * update comments with referenes to the packages command Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * rename valiadte args function Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
@@ -40,13 +40,13 @@ func TestSpdxValidationTooling(t *testing.T) {
|
||||
}{
|
||||
{
|
||||
name: "spdx validation tooling tag value",
|
||||
syftArgs: []string{"packages", "-o", "spdx"},
|
||||
syftArgs: []string{"scan", "-o", "spdx"},
|
||||
images: images,
|
||||
env: env,
|
||||
},
|
||||
{
|
||||
name: "spdx validation tooling json",
|
||||
syftArgs: []string{"packages", "-o", "spdx-json"},
|
||||
syftArgs: []string{"scan", "-o", "spdx-json"},
|
||||
images: images,
|
||||
env: env,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user