Skip to content

Commit

Permalink
docs: trivy k8s new experiance
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <[email protected]>
  • Loading branch information
chen-keinan committed May 1, 2024
1 parent 07e56cd commit 956f303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/target/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ You can also specify a `kubeconfig` using the `--kubeconfig` flag:
trivy k8s --kubeconfig ~/.kube/config2
```

By default, all cluster resource images will be downloaded and scanned.

### Skip-images

You can control whether Trivy will scan and download the cluster resource images. To disable this feature, add the --skip-images flag.

- `--skip-images` flag will prevent the downloading and scanning of images (including vulnerabilities and secrets) in the cluster resources.

By default, all cluster resource images will be downloaded and scanned.

Example:

```sh
Expand Down

0 comments on commit 956f303

Please sign in to comment.