Description

A Helm chart to monitor a Kubernetes Cluster using an OpenTelemetry Collector.

Overview

IdentityNamespaceAutomountSecretsPermissionsWorkloadsRisk
nr-k8s-otel-collectordefault212Critical
nr-k8s-otel-collector-kube-state-metricsdefault281Critical

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


Identities

🤖 nr-k8s-otel-collector-kube-state-metrics

Namespace: default  |  Automount:

🔑 Permissions (28)

RoleResourceVerbsRiskTags
ClusterRole nr-k8s-otel-collector-kube-state-metricscore/secretslist · watchCriticalClusterWideSecretAccess CredentialAccess DataExposure InformationDisclosure SecretAccess
ClusterRole nr-k8s-otel-collector-kube-state-metricscore/configmapslist · watchHighConfigMapAccess DataExposure InformationDisclosure
ClusterRole nr-k8s-otel-collector-kube-state-metricsadmissionregistration.k8s.io/mutatingwebhookconfigurationslist · watchMediumInformationDisclosure Reconnaissance WebhookReconnaissance
ClusterRole nr-k8s-otel-collector-kube-state-metricscore/resourcequotaslist · watchMediumInformationDisclosure QuotaTampering Reconnaissance ResourceConfiguration
ClusterRole nr-k8s-otel-collector-kube-state-metricsadmissionregistration.k8s.io/validatingwebhookconfigurationslist · watchMediumInformationDisclosure Reconnaissance WebhookReconnaissance
ClusterRole nr-k8s-otel-collector-kube-state-metricscertificates.k8s.io/certificatesigningrequestslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricsbatch/cronjobslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricsapps/daemonsetslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricsapps/deploymentslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricscore/endpointslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricsautoscaling/horizontalpodautoscalerslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricsnetworking.k8s.io/ingresseslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricsbatch/jobslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricscoordination.k8s.io/leaseslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricscore/limitrangeslist · watchLowInformationDisclosure Reconnaissance ResourceConfiguration
ClusterRole nr-k8s-otel-collector-kube-state-metricscore/namespaceslist · watchLowClusterStructure InformationDisclosure Reconnaissance
ClusterRole nr-k8s-otel-collector-kube-state-metricsnetworking.k8s.io/networkpolicieslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricscore/nodeslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricscore/persistentvolumeclaimslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricscore/persistentvolumeslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricspolicy/poddisruptionbudgetslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricscore/podslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricsapps/replicasetslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricscore/replicationcontrollerslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricscore/serviceslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricsapps/statefulsetslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricsstorage.k8s.io/storageclasseslist · watchLow
ClusterRole nr-k8s-otel-collector-kube-state-metricsstorage.k8s.io/volumeattachmentslist · watchLow

⚠️ Potential Abuse (11)

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

📦 Workloads (1)

KindNameContainerImage
Deploymentnr-k8s-otel-collector-kube-state-metricskube-state-metricsregistry.k8s.io/kube-state-metrics/kube-state-metrics:v2.16.0

🤖 nr-k8s-otel-collector

Namespace: default  |  Automount:

🔑 Permissions (21)

RoleResourceVerbsRiskTags
ClusterRole nr-k8s-otel-collectorcore/nodes/proxygetCriticalAuthorizationBypass ClusterAdminAccess CodeExecution ElevationOfPrivilege LateralMovement (+1 more)
ClusterRole nr-k8s-otel-collectorcore/eventsget · list · watchMediumInformationDisclosure OperationalData Reconnaissance
ClusterRole nr-k8s-otel-collectorcore/resourcequotaslist · watchMediumInformationDisclosure QuotaTampering Reconnaissance ResourceConfiguration
ClusterRole nr-k8s-otel-collectorbatch/cronjobslist · watchLow
ClusterRole nr-k8s-otel-collectorapps/daemonsetsget · list · watchLow
ClusterRole nr-k8s-otel-collectorapps/deploymentsget · list · watchLow
ClusterRole nr-k8s-otel-collectorcore/endpointsget · list · watchLow
ClusterRole nr-k8s-otel-collectorautoscaling/horizontalpodautoscalerslist · watchLow
ClusterRole nr-k8s-otel-collectorbatch/jobslist · watchLow
ClusterRole nr-k8s-otel-collectorcore/namespacesget · list · watchLowClusterStructure InformationDisclosure Reconnaissance
ClusterRole nr-k8s-otel-collectorcore/nodesget · list · watchLow
ClusterRole nr-k8s-otel-collectorcore/nodes/metricsget · list · watchLow
ClusterRole nr-k8s-otel-collectorcore/nodes/specgetLow
ClusterRole nr-k8s-otel-collectorcore/nodes/statsgetLow
ClusterRole nr-k8s-otel-collectorcore/podsget · list · watchLow
ClusterRole nr-k8s-otel-collectorcore/pods/logsgetLow
ClusterRole nr-k8s-otel-collectorcore/pods/statusget · list · watchLow
ClusterRole nr-k8s-otel-collectorapps/replicasetsget · list · watchLow
ClusterRole nr-k8s-otel-collectorcore/replicationcontrollerslist · watchLow
ClusterRole nr-k8s-otel-collectorcore/servicesget · list · watchLow
ClusterRole nr-k8s-otel-collectorapps/statefulsetsget · list · watchLow

⚠️ Potential Abuse (6)

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

📦 Workloads (2)

KindNameContainerImage
DaemonSetnr-k8s-otel-collector-daemonsetotel-collector-daemonsetdocker.io/newrelic/nrdot-collector-k8s:1.8.0
Deploymentnr-k8s-otel-collector-deploymentotel-collector-deploymentdocker.io/newrelic/nrdot-collector-k8s:1.8.0