Skip to content

Commit

Permalink
docs: change non-intrusive flag name to disable-node-collector
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <[email protected]>
  • Loading branch information
chen-keinan committed Apr 15, 2024
1 parent b706d7c commit 01ba5b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/docs/target/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,18 +103,18 @@ Example:
trivy k8s --report summary --tolerations key1=value1:NoExecute,key2=value2:NoSchedule
```

### Non-intrusive
### Disable Node Collector

You can control whether the node scan-job (`node-collector`) will run in the cluster. To disable it, add the `--non-intrusive` flag
You can control whether the node scan-job (`node-collector`) will run in the cluster. To disable it, add the `--disable-node-collector` flag

- `--non-intrusive` This flag will exclude findings related to Node (infra assessment) misconfigurations
- `--disable-node-collector` This flag will exclude findings related to Node (infra assessment) misconfigurations

By default, the node scan-job (`node-collector`) will run in the cluster.

Example:

```sh
trivy k8s --report summary --non-intrusive
trivy k8s --report summary --disable-node-collector
```

### Skip-images
Expand Down

0 comments on commit 01ba5b7

Please sign in to comment.