From 01ba5b7a9089b2742be5dbb9dc2b78a5170a6040 Mon Sep 17 00:00:00 2001 From: chenk Date: Mon, 15 Apr 2024 11:03:04 +0300 Subject: [PATCH] docs: change non-intrusive flag name to disable-node-collector Signed-off-by: chenk --- docs/docs/target/kubernetes.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/target/kubernetes.md b/docs/docs/target/kubernetes.md index 499ad040c81d..35f7caa728a3 100644 --- a/docs/docs/target/kubernetes.md +++ b/docs/docs/target/kubernetes.md @@ -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