Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command *cli.Command = &cli.Command{ Name: "scan", Aliases: []string{"s"}, Usage: "Scan image using Trivy", Flags: []cli.Flag{ &cli.StringFlag{ Name: "severity", Aliases: []string{"S"}, Usage: "The severity to use when scanning the image: can be any combination of CRITICAL, HIGH, MEDIUM, LOW, or UNKNOWN separated by commas", Value: "CRITICAL,HIGH", EnvVars: []string{"3LV_SEVERITY"}, }, &cli.StringFlag{ Name: "format", Aliases: []string{"F"}, Usage: "The format to use when outputting the scan results: can be table, json or sarif.", Value: "table", EnvVars: []string{"3LV_FORMAT"}, }, &cli.BoolFlag{ Name: "disable-error", Aliases: []string{"D"}, Usage: "Disable error exit code on vulnerabilities found", Value: false, EnvVars: []string{"3LV_DISABLE_ERROR"}, }, }, Action: Scan, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.