prometheus
v27.20.0
5 Service Accounts
5 Workloads
43 Bindings
1 High
2 Medium
40 Low
Description
Prometheus is a monitoring system and time series database.
- https://github.com/prometheus/alertmanager
- https://github.com/prometheus/prometheus
- https://github.com/prometheus/pushgateway
- https://github.com/prometheus/node_exporter
- https://github.com/kubernetes/kube-state-metrics
Overview
Identity | Namespace | Automount | Secrets | Permissions | Workloads | Risk |
---|---|---|---|---|---|---|
prometheus-server | default | ❌ | — | 11 | 2 | High |
prometheus-kube-state-metrics | default | ✅ | — | 32 | 1 | Medium |
prometheus-alertmanager | default | ✅ | — | 0 | 1 | — |
prometheus-prometheus-node-exporter | default | ❌ | — | 0 | 1 | — |
prometheus-prometheus-pushgateway | default | ✅ | — | 0 | 1 | — |
Numbers in the last two columns indicate how many bindings or workloads involve each ServiceAccount.
Identities
🤖 prometheus-server
Namespace: default
| Automount: ❌
🔑 Permissions (11)
Role | Resource | Verbs | Risk | Tags |
---|---|---|---|---|
ClusterRole prometheus-server | core/configmaps | get · list · watch | High | ConfigMapAccess DataExposure InformationDisclosure |
ClusterRole prometheus-server | core/endpoints | get · list · watch | Low | |
ClusterRole prometheus-server | discovery.k8s.io/endpointslices | get · list · watch | Low | |
ClusterRole prometheus-server | core/ingresses | get · list · watch | Low | |
ClusterRole prometheus-server | networking.k8s.io/ingresses | get · list · watch | Low | |
ClusterRole prometheus-server | networking.k8s.io/ingresses/status | get · list · watch | Low | |
ClusterRole prometheus-server | core/nodes | get · list · watch | Low | |
ClusterRole prometheus-server | core/nodes/metrics | get · list · watch | Low | |
ClusterRole prometheus-server | core/nodes/proxy | get · list · watch | Low | |
ClusterRole prometheus-server | core/pods | get · list · watch | Low | |
ClusterRole prometheus-server | core/services | get · list · watch | Low |
⚠️ Potential Abuse (3)
The following security risks were found based on the above permissions:
📦 Workloads (2)
Kind | Name | Container | Image |
---|---|---|---|
Deployment | prometheus-server | prometheus-server | quay.io/prometheus/prometheus:v3.4.1 |
Deployment | prometheus-server | prometheus-server-configmap-reload | quay.io/prometheus-operator/prometheus-config-reloader:v0.83.0 |
🤖 prometheus-kube-state-metrics
Namespace: default
| Automount: ✅
🔑 Permissions (32)
Role | Resource | Verbs | Risk | Tags |
---|---|---|---|---|
ClusterRole prometheus-kube-state-metrics | admissionregistration.k8s.io/mutatingwebhookconfigurations | list · watch | Medium | InformationDisclosure Reconnaissance WebhookReconnaissance |
ClusterRole prometheus-kube-state-metrics | admissionregistration.k8s.io/validatingwebhookconfigurations | list · watch | Medium | InformationDisclosure Reconnaissance WebhookReconnaissance |
ClusterRole prometheus-kube-state-metrics | certificates.k8s.io/certificatesigningrequests | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | core/configmaps | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | batch/cronjobs | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | apps/daemonsets | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | extensions/daemonsets | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | apps/deployments | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | extensions/deployments | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | core/endpoints | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | autoscaling/horizontalpodautoscalers | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | extensions/ingresses | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | networking.k8s.io/ingresses | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | batch/jobs | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | coordination.k8s.io/leases | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | core/limitranges | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | core/namespaces | list · watch | Low | ClusterStructure InformationDisclosure Reconnaissance |
ClusterRole prometheus-kube-state-metrics | networking.k8s.io/networkpolicies | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | core/nodes | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | core/persistentvolumeclaims | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | core/persistentvolumes | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | policy/poddisruptionbudgets | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | core/pods | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | apps/replicasets | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | extensions/replicasets | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | core/replicationcontrollers | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | core/resourcequotas | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | core/secrets | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | core/services | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | apps/statefulsets | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | storage.k8s.io/storageclasses | list · watch | Low | |
ClusterRole prometheus-kube-state-metrics | storage.k8s.io/volumeattachments | list · watch | Low |
⚠️ Potential Abuse (4)
The following security risks were found based on the above permissions:
- List Namespaces (Cluster Reconnaissance)
- List ValidatingWebhookConfigurations (Reconnaissance)
- List MutatingWebhookConfigurations (Reconnaissance)
📦 Workloads (1)
Kind | Name | Container | Image |
---|---|---|---|
Deployment | prometheus-kube-state-metrics | kube-state-metrics | registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.15.0 |
🤖 prometheus-alertmanager
Namespace: default
| Automount: ✅
🔑 Permissions (0)
No explicit RBAC bindings.
📦 Workloads (1)
Kind | Name | Container | Image |
---|---|---|---|
StatefulSet | prometheus-alertmanager | alertmanager | quay.io/prometheus/alertmanager:v0.28.1 |
🤖 prometheus-prometheus-node-exporter
Namespace: default
| Automount: ❌
🔑 Permissions (0)
No explicit RBAC bindings.
📦 Workloads (1)
Kind | Name | Container | Image |
---|---|---|---|
DaemonSet | prometheus-prometheus-node-exporter | node-exporter | quay.io/prometheus/node-exporter:v1.9.1 |
🤖 prometheus-prometheus-pushgateway
Namespace: default
| Automount: ✅
🔑 Permissions (0)
No explicit RBAC bindings.
📦 Workloads (1)
Kind | Name | Container | Image |
---|---|---|---|
Deployment | prometheus-prometheus-pushgateway | pushgateway | quay.io/prometheus/pushgateway:v1.11.1 |