httphandler/examples/prometheus/README.md
Note: The Prometheus integration documentation has moved to the Kubescape Helm Charts repository.
For the latest Prometheus integration guide, please visit:
Kubescape Prometheus Integration →
The Kubescape Operator exposes Prometheus metrics for monitoring your cluster's security posture.
helm repo add kubescape https://kubescape.github.io/helm-charts/
helm repo update
helm upgrade --install kubescape kubescape/kubescape-operator \
--namespace kubescape \
--create-namespace \
--set capabilities.prometheusExporter=enable
| Metric | Description |
|---|---|
kubescape_compliance_score | Compliance score per framework (0-100) |
kubescape_controls_passed | Number of passed controls |
kubescape_controls_failed | Number of failed controls |
kubescape_resources_scanned | Total resources scanned |
kubescape_vulnerabilities_total | Vulnerabilities by severity |
If you're using the Prometheus Operator, the Helm chart can create a ServiceMonitor:
helm upgrade --install kubescape kubescape/kubescape-operator \
--namespace kubescape \
--create-namespace \
--set capabilities.prometheusExporter=enable \
--set serviceMonitor.enabled=true
A pre-built Grafana dashboard is available for visualizing Kubescape metrics: