mirror of
https://github.com/kubescape/kubescape.git
synced 2026-02-14 18:09:55 +00:00
Prometheus Integration
Note
: The Prometheus integration documentation has moved to the Kubescape Helm Charts repository.
Current Documentation
For the latest Prometheus integration guide, please visit:
Kubescape Prometheus Integration →
Quick Overview
The Kubescape Operator exposes Prometheus metrics for monitoring your cluster's security posture.
Features
- Compliance score metrics per framework
- Control pass/fail counts
- Vulnerability counts by severity
- Resource scan statistics
Installation with Prometheus Support
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
Available Metrics
| 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 |
ServiceMonitor (for Prometheus Operator)
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
Grafana Dashboard
A pre-built Grafana dashboard is available for visualizing Kubescape metrics: