mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 07:29:00 -08:00
feat: k8s resouces scan (#2395)
Signed-off-by: Jose Donizetti <jdbjunior@gmail.com>
This commit is contained in:
@@ -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
|
||||
`,
|
||||
|
||||
Reference in New Issue
Block a user