loki-simple-scalable
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-simple-scalable-grafana-agent | default | ❌ | — | 8 | 0 | Critical |
loki-simple-scalable-grafana-agent-operator | default | ❌ | — | 25 | 1 | Critical |
loki-simple-scalable-minio-update-prometheus-secret | default | ❌ | — | 3 | 0 | Low |
loki | default | ✅ | — | 0 | 3 | — |
loki-simple-scalable-minio | default | ❌ | — | 0 | 2 | — |
Numbers in the last two columns indicate how many bindings or workloads involve each ServiceAccount.
Identities
🤖 loki-simple-scalable-grafana-agent-operator
Namespace: default | Automount: ❌
🔑 Permissions (25)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole loki-simple-scalable-grafana-agent-operator | core/configmaps | create · delete · get · list · patch · update · watch | Critical | ConfigMapAccess DataExposure InformationDisclosure PotentialPrivilegeEscalation Tampering |
ClusterRole loki-simple-scalable-grafana-agent-operator | apps/daemonsets | create · delete · get · list · patch · update · watch | Critical | NodeAccess Persistence PrivilegeEscalation Tampering WorkloadLifecycle |
ClusterRole loki-simple-scalable-grafana-agent-operator | apps/deployments | create · delete · get · list · patch · update · watch | Critical | Persistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle |
ClusterRole loki-simple-scalable-grafana-agent-operator | core/endpoints | create · delete · get · list · patch · update · watch | Critical | DenialOfService ManInTheMiddle NetworkManipulation Tampering TrafficRedirection |
ClusterRole loki-simple-scalable-grafana-agent-operator | core/secrets | create · delete · get · list · patch · update · watch | Critical | ClusterWideSecretAccess CredentialAccess DataExposure InformationDisclosure Persistence (+4 more) |
ClusterRole loki-simple-scalable-grafana-agent-operator | core/services | create · delete · get · list · patch · update · watch | Critical | DenialOfService NetworkManipulation ServiceExposure Tampering |
ClusterRole loki-simple-scalable-grafana-agent-operator | apps/statefulsets | create · delete · get · list · patch · update · watch | Critical | Persistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.grafana.com/grafanaagents | get · list · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.grafana.com/grafanaagents/finalizers | get · list · update · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.grafana.com/integrations | get · list · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.grafana.com/integrations/finalizers | get · list · update · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.grafana.com/logsinstances | get · list · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.grafana.com/logsinstances/finalizers | get · list · update · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.grafana.com/metricsinstances | get · list · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.grafana.com/metricsinstances/finalizers | get · list · update · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | core/namespaces | get · list · watch | Low | ClusterStructure InformationDisclosure Reconnaissance |
ClusterRole loki-simple-scalable-grafana-agent-operator | core/nodes | get · list · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.grafana.com/podlogs | get · list · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.grafana.com/podlogs/finalizers | get · list · update · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.coreos.com/podmonitors | get · list · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.coreos.com/podmonitors/finalizers | get · list · update · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.coreos.com/probes | get · list · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.coreos.com/probes/finalizers | get · list · update · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent-operator | monitoring.coreos.com/servicemonitors | get · list · watch | Low | |
ClusterRole loki-simple-scalable-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-simple-scalable-grafana-agent-operator | grafana-agent-operator | docker.io/grafana/agent-operator:v0.25.1 |
🤖 loki-simple-scalable-grafana-agent
Namespace: default | Automount: ❌
🔑 Permissions (8)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole loki-simple-scalable-grafana-agent | core/nodes/proxy | get · list · watch | Critical | ClusterAdminAccess CodeExecution ElevationOfPrivilege LateralMovement (+1 more) |
ClusterRole loki-simple-scalable-grafana-agent | core/events | get · list · watch | Medium | InformationDisclosure OperationalData Reconnaissance |
ClusterRole loki-simple-scalable-grafana-agent | core/endpoints | get · list · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent | networking.k8s.io/ingresses | get · list · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent | core/nodes | get · list · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent | core/nodes/metrics | get · list · watch | Low | |
ClusterRole loki-simple-scalable-grafana-agent | core/pods | get · list · watch | Low | |
ClusterRole loki-simple-scalable-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-simple-scalable-minio-update-prometheus-secret
Namespace: default | Automount: ❌
🔑 Permissions (3)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
Role loki-simple-scalable-minio-update-prometheus-secret | core/secrets | create | Low | |
Role loki-simple-scalable-minio-update-prometheus-secret | monitoring.coreos.com/servicemonitors (restricted to: loki-simple-scalable-minio) | get | Low | ResourceNameRestricted |
Role loki-simple-scalable-minio-update-prometheus-secret | core/secrets (restricted to: loki-simple-scalable-minio-prometheus) | create · get · patch · update | Low | ResourceNameRestricted |
⚠️ Potential Abuse (1)
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-simple-scalable-minio
Namespace: default | Automount: ❌
🔑 Permissions (0)
No explicit RBAC bindings.
📦 Workloads (2)
| Kind | Name | Container | Image |
|---|---|---|---|
| Deployment | loki-simple-scalable-minio | minio | minio/minio:RELEASE.2020-12-03T05-49-24Z |
| Job | loki-simple-scalable-minio-make-bucket-job | minio-mc | minio/mc:RELEASE.2020-11-25T23-04-07Z |