Skip to content

Commit

Permalink
docs(k8s,image): fix command-line syntax issues (#6403)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbostan authored Apr 16, 2024
1 parent d770981 commit 4fab0f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/docs/target/container_image.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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
```
```
2 changes: 1 addition & 1 deletion docs/docs/target/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4fab0f8

Please sign in to comment.