/kubernetes
:
They can be used to run Prowler as a job within a new Prowler namespace:
By default,
prowler
will scan all namespaces in your active Kubernetes context. Use the --namespace
flag to specify the namespace(s) to be scanned.Identifying the cluster in reportsWhen running in in-cluster mode, the Kubernetes API does not expose the actual cluster name by default.To uniquely identify the cluster in logs and reports, you can:
- Use the
--cluster-name
flag to manually set the cluster name:
- Or set the
CLUSTER_NAME
environment variable: