mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-22 23:26:39 -08:00
docs: improve k8s usage documentation (#2425)
Signed-off-by: Jose Donizetti <jdbjunior@gmail.com>
This commit is contained in:
@@ -859,9 +859,10 @@ func NewK8sCommand() *cli.Command {
|
|||||||
)
|
)
|
||||||
|
|
||||||
return &cli.Command{
|
return &cli.Command{
|
||||||
Name: "kubernetes",
|
Name: "kubernetes",
|
||||||
Aliases: []string{"k8s"},
|
Aliases: []string{"k8s"},
|
||||||
Usage: "scan kubernetes vulnerabilities, secrets and misconfigurations",
|
Usage: "scan kubernetes vulnerabilities, secrets and misconfigurations",
|
||||||
|
UsageText: "trivy k8s [command options] <cluster|all| or specific resources like kubectl. eg: pods, pod/NAME>",
|
||||||
CustomHelpTemplate: cli.CommandHelpTemplate + `EXAMPLES:
|
CustomHelpTemplate: cli.CommandHelpTemplate + `EXAMPLES:
|
||||||
- cluster scanning:
|
- cluster scanning:
|
||||||
$ trivy k8s --report summary cluster
|
$ trivy k8s --report summary cluster
|
||||||
|
|||||||
Reference in New Issue
Block a user