mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 07:29:00 -08:00
fix: remove --security-checks none from image help (#3156)
This commit is contained in:
@@ -247,7 +247,7 @@ func NewImageCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command {
|
|||||||
$ trivy image --format json --output result.json alpine:3.15
|
$ trivy image --format json --output result.json alpine:3.15
|
||||||
|
|
||||||
# Generate a report in the CycloneDX format
|
# Generate a report in the CycloneDX format
|
||||||
$ trivy image --format cyclonedx --output result.cdx --security-checks none alpine:3.15`,
|
$ trivy image --format cyclonedx --output result.cdx alpine:3.15`,
|
||||||
|
|
||||||
// 'Args' cannot be used since it is called before PreRunE and viper is not configured yet.
|
// 'Args' cannot be used since it is called before PreRunE and viper is not configured yet.
|
||||||
// cmd.Args -> cannot validate args here
|
// cmd.Args -> cannot validate args here
|
||||||
|
|||||||
Reference in New Issue
Block a user