-
Hi, I would like to host the host-scanner container image locally to avoid Thanks, Alexander |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @alexdyas, you can use the following command: |
Beta Was this translation helpful? Give feedback.
Hi @alexdyas, you can use the following command:
kubescape scan --enable-host-scan --host-scan-yaml host-scanner.yaml
.The flag
--host-scan-yaml
will override the defaultDaemonSet
with the file you give as argument.My advice is to get a copy of this file: https://raw.githubusercontent.com/kubescape/kubescape/master/core/pkg/hostsensorutils/hostsensor.yaml and change the
image: quay.io/kubescape/host-scanner:v1.0.61
according to your local registry location.P. S. Keep in mind that this functionality will soon be deprecated in the command line.