Description

Helm chart for Grafana Loki and Grafana Enterprise Logs supporting monolithic, simple scalable, and microservices modes.

Overview

IdentityNamespaceAutomountSecretsPermissionsWorkloadsRisk
grafana-agent-test-sadefault70Critical
lokidefault29Critical
loki-grafana-agent-operatordefault251Critical
loki-rollout-operatordefault41Medium
loki-canarydefault01
minio-sadefault03

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)

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

⚠️ Potential Abuse (20)

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

📦 Workloads (1)

KindNameContainerImage
Deploymentloki-grafana-agent-operatorgrafana-agent-operatordocker.io/grafana/agent-operator:v0.44.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.


🤖 loki

Namespace: default  |  Automount:

🔑 Permissions (2)

RoleResourceVerbsRiskTags
ClusterRole loki-clusterrolecore/secretsget · list · watchCriticalClusterWideSecretAccess CredentialAccess DataExposure InformationDisclosure SecretAccess
ClusterRole loki-clusterrolecore/configmapsget · list · watchHighConfigMapAccess DataExposure InformationDisclosure

⚠️ Potential Abuse (5)

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

📦 Workloads (9)

KindNameContainerImage
Deploymentloki-gatewaynginxdocker.io/nginxinc/nginx-unprivileged:1.29-alpine
Deploymentloki-readlokidocker.io/grafana/loki:3.6.7
StatefulSetloki-backendlokidocker.io/grafana/loki:3.6.7
StatefulSetloki-backendloki-sc-rulesdocker.io/kiwigrid/k8s-sidecar:2.5.0
StatefulSetloki-chunks-cacheexporterprom/memcached-exporter:v0.15.4
StatefulSetloki-chunks-cachememcachedmemcached:1.6.39-alpine
StatefulSetloki-results-cacheexporterprom/memcached-exporter:v0.15.4
StatefulSetloki-results-cachememcachedmemcached:1.6.39-alpine
StatefulSetloki-writelokidocker.io/grafana/loki:3.6.7

🤖 loki-rollout-operator

Namespace: default  |  Automount:

🔑 Permissions (4)

RoleResourceVerbsRiskTags
ClusterRole loki-rollout-operator-webhook-clusterroleadmissionregistration.k8s.io/mutatingwebhookconfigurationslist · patch · watchMediumInformationDisclosure Reconnaissance WebhookReconnaissance
ClusterRole loki-rollout-operator-webhook-clusterroleadmissionregistration.k8s.io/validatingwebhookconfigurationslist · patch · watchMediumInformationDisclosure Reconnaissance WebhookReconnaissance
Role loki-rollout-operator-webhook-rolecore/secretscreateLow
Role loki-rollout-operator-webhook-rolecore/secrets (restricted to: certificate)get · updateLowResourceNameRestricted

⚠️ Potential Abuse (3)

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

📦 Workloads (1)

KindNameContainerImage
Deploymentloki-rollout-operatorrollout-operatordocker.io/grafana/rollout-operator:v0.35.0

🤖 loki-canary

Namespace: default  |  Automount:

🔑 Permissions (0)

No explicit RBAC bindings.

📦 Workloads (1)

KindNameContainerImage
DaemonSetloki-canaryloki-canarydocker.io/grafana/loki-canary:3.6.7

🤖 minio-sa

Namespace: default  |  Automount:

🔑 Permissions (0)

No explicit RBAC bindings.

📦 Workloads (3)

KindNameContainerImage
Jobloki-minio-post-jobminio-make-bucketquay.io/minio/mc:RELEASE.2024-11-21T17-21-54Z
Jobloki-minio-post-jobminio-make-userquay.io/minio/mc:RELEASE.2024-11-21T17-21-54Z
StatefulSetloki-miniominioquay.io/minio/minio:RELEASE.2024-12-18T13-15-44Z