From 4fab0f8b9969f26f730a38bcaf62c8cce40a175f Mon Sep 17 00:00:00 2001 From: Saeid Bostandoust <49065072+ssbostan@users.noreply.github.com> Date: Tue, 16 Apr 2024 03:33:46 +0100 Subject: [PATCH] docs(k8s,image): fix command-line syntax issues (#6403) --- docs/docs/target/container_image.md | 4 ++-- docs/docs/target/kubernetes.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/target/container_image.md b/docs/docs/target/container_image.md index 2ce008922614..4a0cad1673a1 100644 --- a/docs/docs/target/container_image.md +++ b/docs/docs/target/container_image.md @@ -110,7 +110,7 @@ It is disabled by default. You can enable it with `--image-config-scanners config`. ``` -$ trivy image --image-config-scanners config [YOUR_IMAGE_NAME] +$ trivy image --image-config-scanners misconfig [YOUR_IMAGE_NAME] ```
@@ -506,4 +506,4 @@ You can configure Podman daemon socket with `--podman-host`. ```shell $ trivy image --podman-host /run/user/1000/podman/podman.sock YOUR_IMAGE -``` \ No newline at end of file +``` diff --git a/docs/docs/target/kubernetes.md b/docs/docs/target/kubernetes.md index 88986b6d3eff..f7dc440f05f4 100644 --- a/docs/docs/target/kubernetes.md +++ b/docs/docs/target/kubernetes.md @@ -106,7 +106,7 @@ Total: 3 (UNKNOWN: 0, LOW: 1, MEDIUM: 0, HIGH: 2, CRITICAL: 0) You can control what kinds of components are discovered using the `--components` flag: - `--components infra` will discover only cluster infrastructure components. -- `--components workloads` will discover only application workloads. +- `--components workload` will discover only application workloads. - If the flag is omitted: infra, workloads, and RBAC are discovered. ## Reporting and filtering