6 Service Accounts
5 Workloads
40 Bindings
9 Critical
1 Medium
30 Low
Description
Helm chart for Grafana Loki in simple, scalable mode
Overview
| Identity | Namespace | Automount | Secrets | Permissions | Workloads | Risk |
|---|---|---|---|---|---|---|
grafana-agent-test-sa | default | ❌ | — | 7 | 0 | Critical |
loki-grafana-agent | default | ❌ | — | 8 | 0 | Critical |
loki-grafana-agent-operator | default | ❌ | — | 25 | 1 | Critical |
loki | default | ✅ | — | 0 | 3 | — |
loki-canary | default | ❌ | — | 0 | 1 | — |
minio-sa | default | ❌ | — | 0 | 1 | — |
Numbers in the last two columns indicate how many bindings or workloads involve each ServiceAccount.
Identities
🤖 loki-grafana-agent-operator
Namespace: default | Automount: ❌
🔑 Permissions (25)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole loki-grafana-agent-operator | core/configmaps | create · delete · get · list · patch · update · watch | Critical | ConfigMapAccess DataExposure InformationDisclosure PotentialPrivilegeEscalation Tampering |
ClusterRole loki-grafana-agent-operator | apps/daemonsets | create · delete · get · list · patch · update · watch | Critical | NodeAccess Persistence PrivilegeEscalation Tampering WorkloadLifecycle |
ClusterRole loki-grafana-agent-operator | apps/deployments | create · delete · get · list · patch · update · watch | Critical | Persistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle |
ClusterRole loki-grafana-agent-operator | core/endpoints | create · delete · get · list · patch · update · watch | Critical | DenialOfService ManInTheMiddle NetworkManipulation Tampering TrafficRedirection |
ClusterRole loki-grafana-agent-operator | core/secrets | create · delete · get · list · patch · update · watch | Critical | ClusterWideSecretAccess CredentialAccess DataExposure InformationDisclosure Persistence (+4 more) |
ClusterRole loki-grafana-agent-operator | core/services | create · delete · get · list · patch · update · watch | Critical | DenialOfService NetworkManipulation ServiceExposure Tampering |
ClusterRole loki-grafana-agent-operator | apps/statefulsets | create · delete · get · list · patch · update · watch | Critical | Persistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle |
ClusterRole loki-grafana-agent-operator | monitoring.grafana.com/grafanaagents | get · list · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.grafana.com/grafanaagents/finalizers | get · list · update · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.grafana.com/integrations | get · list · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.grafana.com/integrations/finalizers | get · list · update · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.grafana.com/logsinstances | get · list · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.grafana.com/logsinstances/finalizers | get · list · update · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.grafana.com/metricsinstances | get · list · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.grafana.com/metricsinstances/finalizers | get · list · update · watch | Low | |
ClusterRole loki-grafana-agent-operator | core/namespaces | get · list · watch | Low | ClusterStructure InformationDisclosure Reconnaissance |
ClusterRole loki-grafana-agent-operator | core/nodes | get · list · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.grafana.com/podlogs | get · list · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.grafana.com/podlogs/finalizers | get · list · update · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.coreos.com/podmonitors | get · list · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.coreos.com/podmonitors/finalizers | get · list · update · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.coreos.com/probes | get · list · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.coreos.com/probes/finalizers | get · list · update · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.coreos.com/servicemonitors | get · list · watch | Low | |
ClusterRole loki-grafana-agent-operator | monitoring.coreos.com/servicemonitors/finalizers | get · list · update · watch | Low |
⚠️ Potential Abuse (20)
The following security risks were found based on the above permissions:
- Read secrets cluster-wide
- Read secrets in a namespace
- Modify secrets cluster-wide
- Modify secrets in a namespace
- Read ConfigMaps cluster-wide
- Read ConfigMaps in a namespace
- Modify ConfigMaps cluster-wide
- Modify ConfigMaps in a namespace
- Manage Deployments cluster-wide (potential for privileged pod execution)
- Manage Deployments in a namespace (potential for privileged pod execution)
- Manage DaemonSets cluster-wide (runs on all nodes, high impact)
- Manage DaemonSets in a namespace (runs on nodes, high impact)
- Manage StatefulSets cluster-wide
- Manage StatefulSets in a namespace
- Manage Endpoints or EndpointSlices cluster-wide
- Manage Endpoints or EndpointSlices in a namespace
- Manage Services cluster-wide
- Manage Services in a namespace
- List Namespaces (Cluster Reconnaissance)
📦 Workloads (1)
| Kind | Name | Container | Image |
|---|---|---|---|
| Deployment | loki-grafana-agent-operator | grafana-agent-operator | docker.io/grafana/agent-operator:v0.25.1 |
🤖 loki-grafana-agent
Namespace: default | Automount: ❌
🔑 Permissions (8)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole loki-grafana-agent | core/nodes/proxy | get · list · watch | Critical | ClusterAdminAccess CodeExecution ElevationOfPrivilege LateralMovement (+1 more) |
ClusterRole loki-grafana-agent | core/events | get · list · watch | Medium | InformationDisclosure OperationalData Reconnaissance |
ClusterRole loki-grafana-agent | core/endpoints | get · list · watch | Low | |
ClusterRole loki-grafana-agent | networking.k8s.io/ingresses | get · list · watch | Low | |
ClusterRole loki-grafana-agent | core/nodes | get · list · watch | Low | |
ClusterRole loki-grafana-agent | core/nodes/metrics | get · list · watch | Low | |
ClusterRole loki-grafana-agent | core/pods | get · list · watch | Low | |
ClusterRole loki-grafana-agent | core/services | get · list · watch | Low |
⚠️ Potential Abuse (3)
The following security risks were found based on the above permissions:
📦 Workloads (0)
No workloads use this ServiceAccount.
🤖 grafana-agent-test-sa
Namespace: default | Automount: ❌
🔑 Permissions (7)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole grafana-agent-test-cr | core/nodes/proxy | get · list · watch | Critical | ClusterAdminAccess CodeExecution ElevationOfPrivilege LateralMovement (+1 more) |
ClusterRole grafana-agent-test-cr | core/endpoints | get · list · watch | Low | |
ClusterRole grafana-agent-test-cr | networking.k8s.io/ingresses | get · list · watch | Low | |
ClusterRole grafana-agent-test-cr | core/nodes | get · list · watch | Low | |
ClusterRole grafana-agent-test-cr | core/nodes/metrics | get · list · watch | Low | |
ClusterRole grafana-agent-test-cr | core/pods | get · list · watch | Low | |
ClusterRole grafana-agent-test-cr | core/services | get · list · watch | Low |
⚠️ Potential Abuse (2)
The following security risks were found based on the above permissions:
📦 Workloads (0)
No workloads use this ServiceAccount.
🤖 loki
Namespace: default | Automount: ✅
🔑 Permissions (0)
No explicit RBAC bindings.
📦 Workloads (3)
| Kind | Name | Container | Image |
|---|---|---|---|
| Deployment | loki-gateway | nginx | docker.io/nginxinc/nginx-unprivileged:1.19-alpine |
| StatefulSet | loki-read | read | docker.io/grafana/loki:2.6.1 |
| StatefulSet | loki-write | write | docker.io/grafana/loki:2.6.1 |
🤖 loki-canary
Namespace: default | Automount: ❌
🔑 Permissions (0)
No explicit RBAC bindings.
📦 Workloads (1)
| Kind | Name | Container | Image |
|---|---|---|---|
| DaemonSet | loki-canary | loki-canary | docker.io/grafana/loki-canary:latest |
🤖 minio-sa
Namespace: default | Automount: ❌
🔑 Permissions (0)
No explicit RBAC bindings.
📦 Workloads (1)
| Kind | Name | Container | Image |
|---|---|---|---|
| StatefulSet | loki-minio | minio | quay.io/minio/minio:RELEASE.2022-08-13T21-54-44Z |