docs(k8s,image): fix command-line syntax issues (#6403)

This commit is contained in:
Saeid Bostandoust
2024-04-16 03:33:46 +01:00
committed by GitHub
parent d7709816c3
commit 4fab0f8b99
2 changed files with 3 additions and 3 deletions

View File

@@ -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]
```
<details>
@@ -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
```
```

View File

@@ -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