mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 15:37:50 -08:00
feat(sbom): add a dedicated sbom command (#1799)
Co-authored-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
@@ -86,7 +86,7 @@ func TestOption_Init(t *testing.T) {
|
||||
name: "invalid option combination: token and token header without server",
|
||||
args: []string{"--token", "secret", "--token-header", "X-Trivy-Token", "alpine:3.11"},
|
||||
logs: []string{
|
||||
"'--token', '--token-header' and 'custom-header' can be used only with '--server'",
|
||||
`"--token" can be used only with "--server"`,
|
||||
},
|
||||
want: Option{
|
||||
ReportOption: option.ReportOption{
|
||||
|
||||
Reference in New Issue
Block a user