feat: k8s resouces scan (#2395)

Signed-off-by: Jose Donizetti <jdbjunior@gmail.com>
This commit is contained in:
Jose Donizetti
2022-07-04 14:26:21 -03:00
committed by GitHub
parent 5b821d3b13
commit aedcf5b58c
6 changed files with 60 additions and 25 deletions

View File

@@ -869,6 +869,9 @@ func NewK8sCommand() *cli.Command {
$ trivy k8s --report summary cluster
- namespace scanning:
$ trivy k8s -n kube-system --report summary all
- resources scanning:
$ trivy k8s --report=summary deploy
$ trivy k8s --namespace=kube-system --report=summary deploy,configmaps
- resource scanning:
$ trivy k8s deployment/orion
`,