Description

Helm chart for Grafana Loki in simple, scalable mode

Overview

IdentityNamespaceAutomountSecretsPermissionsWorkloadsRisk
grafana-agent-test-sadefault70Critical
lokidefault25Critical
loki-grafana-agentdefault80Critical
loki-grafana-agent-operatordefault251Critical
loki-canarydefault01
minio-sadefault01

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.34.1

🤖 loki-grafana-agent

Namespace: default  |  Automount:

🔑 Permissions (8)

RoleResourceVerbsRiskTags
ClusterRole loki-grafana-agentcore/nodes/proxyget · list · watchCriticalAuthorizationBypass ClusterAdminAccess CodeExecution ElevationOfPrivilege LateralMovement (+1 more)
ClusterRole loki-grafana-agentcore/eventsget · list · watchMediumInformationDisclosure OperationalData Reconnaissance
ClusterRole loki-grafana-agentcore/endpointsget · list · watchLow
ClusterRole loki-grafana-agentnetworking.k8s.io/ingressesget · list · watchLow
ClusterRole loki-grafana-agentcore/nodesget · list · watchLow
ClusterRole loki-grafana-agentcore/nodes/metricsget · list · watchLow
ClusterRole loki-grafana-agentcore/podsget · list · watchLow
ClusterRole loki-grafana-agentcore/servicesget · list · watchLow

⚠️ 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)

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 (5)

KindNameContainerImage
Deploymentloki-gatewaynginxdocker.io/nginxinc/nginx-unprivileged:1.23-alpine
Deploymentloki-readlokidocker.io/grafana/loki:2.9.0
StatefulSetloki-backendlokidocker.io/grafana/loki:2.9.0
StatefulSetloki-backendloki-sc-ruleskiwigrid/k8s-sidecar:1.24.3
StatefulSetloki-writelokidocker.io/grafana/loki:2.9.0

🤖 loki-canary

Namespace: default  |  Automount:

🔑 Permissions (0)

No explicit RBAC bindings.

📦 Workloads (1)

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

🤖 minio-sa

Namespace: default  |  Automount:

🔑 Permissions (0)

No explicit RBAC bindings.

📦 Workloads (1)

KindNameContainerImage
StatefulSetloki-miniominioquay.io/minio/minio:RELEASE.2022-08-13T21-54-44Z