mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-04-12 20:58:41 +00:00
931 B
931 B
Non in-cluster execution
For non in-cluster execution, you can provide the location of the kubeconfig file with the following argument:
prowler kubernetes --kubeconfig-file /path/to/kubeconfig
???+ note
If no --kubeconfig-file is provided, Prowler will use the default KubeConfig file location (~/.kube/config).
???+ note
prowler will scan the active Kubernetes context by default. Use the --context flag to specify the context to be scanned.
???+ note
By default, prowler will scan all namespaces in your active Kubernetes context. Use the --namespace flag to specify the namespace(s) to be scanned.