grafana-agent-operator
v0.5.2
2 Service Accounts
2 Workloads
32 Bindings
8 Critical
24 Low
Description
A Helm chart for Grafana Agent Operator
Overview
| Identity | Namespace | Automount | Secrets | Permissions | Workloads | Risk |
|---|---|---|---|---|---|---|
grafana-agent-operator | default | ❌ | — | 25 | 1 | Critical |
grafana-agent-test-sa | default | ❌ | — | 7 | 0 | Critical |
Numbers in the last two columns indicate how many bindings or workloads involve each ServiceAccount.
Identities
🤖 grafana-agent-operator
Namespace: default | Automount: ❌
🔑 Permissions (25)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole grafana-agent-operator | core/configmaps | create · delete · get · list · patch · update · watch | Critical | ConfigMapAccess DataExposure InformationDisclosure PotentialPrivilegeEscalation Tampering |
ClusterRole grafana-agent-operator | apps/daemonsets | create · delete · get · list · patch · update · watch | Critical | NodeAccess Persistence PrivilegeEscalation Tampering WorkloadLifecycle |
ClusterRole grafana-agent-operator | apps/deployments | create · delete · get · list · patch · update · watch | Critical | Persistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle |
ClusterRole grafana-agent-operator | core/endpoints | create · delete · get · list · patch · update · watch | Critical | DenialOfService ManInTheMiddle NetworkManipulation Tampering TrafficRedirection |
ClusterRole grafana-agent-operator | core/secrets | create · delete · get · list · patch · update · watch | Critical | ClusterWideSecretAccess CredentialAccess DataExposure InformationDisclosure Persistence (+4 more) |
ClusterRole grafana-agent-operator | core/services | create · delete · get · list · patch · update · watch | Critical | DenialOfService NetworkManipulation ServiceExposure Tampering |
ClusterRole grafana-agent-operator | apps/statefulsets | create · delete · get · list · patch · update · watch | Critical | Persistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle |
ClusterRole grafana-agent-operator | monitoring.grafana.com/grafanaagents | get · list · watch | Low | |
ClusterRole grafana-agent-operator | monitoring.grafana.com/grafanaagents/finalizers | get · list · update · watch | Low | |
ClusterRole grafana-agent-operator | monitoring.grafana.com/integrations | get · list · watch | Low | |
ClusterRole grafana-agent-operator | monitoring.grafana.com/integrations/finalizers | get · list · update · watch | Low | |
ClusterRole grafana-agent-operator | monitoring.grafana.com/logsinstances | get · list · watch | Low | |
ClusterRole grafana-agent-operator | monitoring.grafana.com/logsinstances/finalizers | get · list · update · watch | Low | |
ClusterRole grafana-agent-operator | monitoring.grafana.com/metricsinstances | get · list · watch | Low | |
ClusterRole grafana-agent-operator | monitoring.grafana.com/metricsinstances/finalizers | get · list · update · watch | Low | |
ClusterRole grafana-agent-operator | core/namespaces | get · list · watch | Low | ClusterStructure InformationDisclosure Reconnaissance |
ClusterRole grafana-agent-operator | core/nodes | get · list · watch | Low | |
ClusterRole grafana-agent-operator | monitoring.grafana.com/podlogs | get · list · watch | Low | |
ClusterRole grafana-agent-operator | monitoring.grafana.com/podlogs/finalizers | get · list · update · watch | Low | |
ClusterRole grafana-agent-operator | monitoring.coreos.com/podmonitors | get · list · watch | Low | |
ClusterRole grafana-agent-operator | monitoring.coreos.com/podmonitors/finalizers | get · list · update · watch | Low | |
ClusterRole grafana-agent-operator | monitoring.coreos.com/probes | get · list · watch | Low | |
ClusterRole grafana-agent-operator | monitoring.coreos.com/probes/finalizers | get · list · update · watch | Low | |
ClusterRole grafana-agent-operator | monitoring.coreos.com/servicemonitors | get · list · watch | Low | |
ClusterRole 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 | grafana-agent-operator | grafana-agent-operator | docker.io/grafana/agent-operator:v0.44.2 |
🤖 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.