Description

Grafana Mimir

Overview

IdentityNamespaceAutomountSecretsPermissionsWorkloadsRisk
grafana-agent-test-sadefault70Critical
mimir-distributed-grafana-agent-operatordefault221Critical
mimir-distributed-minio-update-prometheus-secretdefault30Low
mimir-distributeddefault011
mimir-distributed-miniodefault02

Numbers in the last two columns indicate how many bindings or workloads involve each ServiceAccount.


Identities

🤖 mimir-distributed-grafana-agent-operator

Namespace: default  |  Automount:

🔑 Permissions (22)

RoleResourceVerbsRiskTags
ClusterRole mimir-distributed-grafana-agent-operatorcore/configmapscreate · delete · get · list · patch · update · watchCriticalConfigMapAccess DataExposure InformationDisclosure PotentialPrivilegeEscalation Tampering
ClusterRole mimir-distributed-grafana-agent-operatorapps/daemonsetscreate · delete · get · list · patch · update · watchCriticalNodeAccess Persistence PrivilegeEscalation Tampering WorkloadLifecycle
ClusterRole mimir-distributed-grafana-agent-operatorcore/endpointscreate · delete · get · list · patch · update · watchCriticalDenialOfService ManInTheMiddle NetworkManipulation Tampering TrafficRedirection
ClusterRole mimir-distributed-grafana-agent-operatorcore/secretscreate · delete · get · list · patch · update · watchCriticalClusterWideSecretAccess CredentialAccess DataExposure InformationDisclosure Persistence (+4 more)
ClusterRole mimir-distributed-grafana-agent-operatorcore/servicescreate · delete · get · list · patch · update · watchCriticalDenialOfService NetworkManipulation ServiceExposure Tampering
ClusterRole mimir-distributed-grafana-agent-operatorapps/statefulsetscreate · delete · get · list · patch · update · watchCriticalPersistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle
ClusterRole mimir-distributed-grafana-agent-operatormonitoring.grafana.com/grafanaagentsget · list · watchLow
ClusterRole mimir-distributed-grafana-agent-operatormonitoring.grafana.com/grafanaagents/finalizersget · list · update · watchLow
ClusterRole mimir-distributed-grafana-agent-operatormonitoring.grafana.com/logsinstancesget · list · watchLow
ClusterRole mimir-distributed-grafana-agent-operatormonitoring.grafana.com/logsinstances/finalizersget · list · update · watchLow
ClusterRole mimir-distributed-grafana-agent-operatormonitoring.grafana.com/metricsinstancesget · list · watchLow
ClusterRole mimir-distributed-grafana-agent-operatormonitoring.grafana.com/metricsinstances/finalizersget · list · update · watchLow
ClusterRole mimir-distributed-grafana-agent-operatorcore/namespacesget · list · watchLowClusterStructure InformationDisclosure Reconnaissance
ClusterRole mimir-distributed-grafana-agent-operatorcore/nodesget · list · watchLow
ClusterRole mimir-distributed-grafana-agent-operatormonitoring.grafana.com/podlogsget · list · watchLow
ClusterRole mimir-distributed-grafana-agent-operatormonitoring.grafana.com/podlogs/finalizersget · list · update · watchLow
ClusterRole mimir-distributed-grafana-agent-operatormonitoring.coreos.com/podmonitorsget · list · watchLow
ClusterRole mimir-distributed-grafana-agent-operatormonitoring.coreos.com/podmonitors/finalizersget · list · update · watchLow
ClusterRole mimir-distributed-grafana-agent-operatormonitoring.coreos.com/probesget · list · watchLow
ClusterRole mimir-distributed-grafana-agent-operatormonitoring.coreos.com/probes/finalizersget · list · update · watchLow
ClusterRole mimir-distributed-grafana-agent-operatormonitoring.coreos.com/servicemonitorsget · list · watchLow
ClusterRole mimir-distributed-grafana-agent-operatormonitoring.coreos.com/servicemonitors/finalizersget · list · update · watchLow

⚠️ Potential Abuse (18)

The following security risks were found based on the above permissions:

📦 Workloads (1)

KindNameContainerImage
Deploymentmimir-distributed-grafana-agent-operatorgrafana-agent-operatordocker.io/grafana/agent-operator:v0.24.2

🤖 grafana-agent-test-sa

Namespace: default  |  Automount:

🔑 Permissions (7)

RoleResourceVerbsRiskTags
ClusterRole grafana-agent-test-crcore/nodes/proxyget · list · watchCriticalAuthorizationBypass ClusterAdminAccess CodeExecution ElevationOfPrivilege LateralMovement (+1 more)
ClusterRole grafana-agent-test-crcore/endpointsget · list · watchLow
ClusterRole grafana-agent-test-crnetworking.k8s.io/ingressesget · list · watchLow
ClusterRole grafana-agent-test-crcore/nodesget · list · watchLow
ClusterRole grafana-agent-test-crcore/nodes/metricsget · list · watchLow
ClusterRole grafana-agent-test-crcore/podsget · list · watchLow
ClusterRole grafana-agent-test-crcore/servicesget · list · watchLow

⚠️ Potential Abuse (2)

The following security risks were found based on the above permissions:

📦 Workloads (0)

No workloads use this ServiceAccount.


🤖 mimir-distributed-minio-update-prometheus-secret

Namespace: default  |  Automount:

🔑 Permissions (3)

RoleResourceVerbsRiskTags
Role mimir-distributed-minio-update-prometheus-secretcore/secretscreateLow
Role mimir-distributed-minio-update-prometheus-secretmonitoring.coreos.com/servicemonitors (restricted to: mimir-distributed-minio)getLowResourceNameRestricted
Role mimir-distributed-minio-update-prometheus-secretcore/secrets (restricted to: mimir-distributed-minio-prometheus)create · get · patch · updateLowResourceNameRestricted

⚠️ Potential Abuse (1)

The following security risks were found based on the above permissions:

📦 Workloads (0)

No workloads use this ServiceAccount.


🤖 mimir-distributed

Namespace: default  |  Automount:

🔑 Permissions (0)

No explicit RBAC bindings.

📦 Workloads (11)

KindNameContainerImage
Deploymentmimir-distributed-distributordistributorgrafana/mimir:2.2.0
Deploymentmimir-distributed-nginxnginxdocker.io/nginxinc/nginx-unprivileged:1.19-alpine
Deploymentmimir-distributed-overrides-exporteroverrides-exportergrafana/mimir:2.2.0
Deploymentmimir-distributed-querierqueriergrafana/mimir:2.2.0
Deploymentmimir-distributed-query-frontendquery-frontendgrafana/mimir:2.2.0
Deploymentmimir-distributed-rulerrulergrafana/mimir:2.2.0
Jobmimir-distributed-smoke-testsmoke-testgrafana/mimir-continuous-test:2.2.0
StatefulSetmimir-distributed-alertmanageralertmanagergrafana/mimir:2.2.0
StatefulSetmimir-distributed-compactorcompactorgrafana/mimir:2.2.0
StatefulSetmimir-distributed-ingesteringestergrafana/mimir:2.2.0
StatefulSetmimir-distributed-store-gatewaystore-gatewaygrafana/mimir:2.2.0

🤖 mimir-distributed-minio

Namespace: default  |  Automount:

🔑 Permissions (0)

No explicit RBAC bindings.

📦 Workloads (2)

KindNameContainerImage
Deploymentmimir-distributed-miniominiominio/minio:RELEASE.2021-02-14T04-01-33Z
Jobmimir-distributed-minio-make-bucket-jobminio-mcminio/mc:RELEASE.2021-02-14T04-28-06Z