Skip to content

Commit

Permalink
docs: improve k8s usage documentation (#2425)
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Donizetti <[email protected]>
  • Loading branch information
josedonizetti authored Jun 30, 2022
1 parent fe2ae8e commit ac2fdc8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/commands/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -859,9 +859,10 @@ func NewK8sCommand() *cli.Command {
)

return &cli.Command{
Name: "kubernetes",
Aliases: []string{"k8s"},
Usage: "scan kubernetes vulnerabilities, secrets and misconfigurations",
Name: "kubernetes",
Aliases: []string{"k8s"},
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:
- cluster scanning:
$ trivy k8s --report summary cluster
Expand Down

0 comments on commit ac2fdc8

Please sign in to comment.