Skip to content

Commit

Permalink
feat: update skip-images flag description
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <hen.keinan@gmail.com>
  • Loading branch information
chen-keinan committed Apr 4, 2024
1 parent fdeb940 commit 6ae4907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs/references/configuration/cli/trivy_kubernetes.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/flag/kubernetes_flags.go
Expand Up @@ -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",
Expand Down

0 comments on commit 6ae4907

Please sign in to comment.