Files
prowler/docs/tutorials/kubernetes/outside-cluster.md
T
Rubén De la Torre Vico 9ca1899ebf docs(tutorials): improve quality redrive (#7915)
Co-authored-by: Daniel Barranquero <danielbo2001@gmail.com>
Co-authored-by: Andoni Alonso <14891798+andoniaf@users.noreply.github.com>
2025-07-29 11:03:52 +02:00

942 B

Non In-Cluster Execution

For execution outside the cluster environment, specify the location of the kubeconfig file using 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.