diff --git a/docs/docs/references/configuration/cli/trivy_kubernetes.md b/docs/docs/references/configuration/cli/trivy_kubernetes.md index 883a788c0735..c474eba9f155 100644 --- a/docs/docs/references/configuration/cli/trivy_kubernetes.md +++ b/docs/docs/references/configuration/cli/trivy_kubernetes.md @@ -91,7 +91,7 @@ trivy kubernetes [flags] { cluster | all | specific resources like kubectl. eg: --skip-db-update skip updating vulnerability database --skip-dirs strings specify the directories or glob patterns to skip --skip-files strings specify the files or glob patterns to skip - --skip-images skip the scanning of images in the resources + --skip-images skip the downloading and scanning of images (vulnerabilities and secrets) in the cluster resources --skip-java-db-update skip updating Java index database --skip-policy-update skip fetching rego policy updates -t, --template string output template diff --git a/pkg/flag/kubernetes_flags.go b/pkg/flag/kubernetes_flags.go index 33b37e04a58c..64b0091e0d2c 100644 --- a/pkg/flag/kubernetes_flags.go +++ b/pkg/flag/kubernetes_flags.go @@ -72,7 +72,7 @@ var ( SkipImages = Flag[bool]{ Name: "skip-images", ConfigName: "kubernetes.skip.images", - Usage: "skip the download and scanning (vuln and secret) of images in the cluster resources", + Usage: "skip the downloading and scanning of images (vulnerabilities and secrets) in the cluster resources", } ExcludeNodes = Flag[[]string]{ Name: "exclude-nodes",