Description

Elastic-Agent Helm Chart

Overview

IdentityNamespaceAutomountSecretsPermissionsWorkloadsRisk
agent-clusterwide-elastic-agentdefault201Critical
agent-pernode-elastic-agentdefault201Critical
kube-state-metricsdefault281Critical

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


Identities

🤖 kube-state-metrics

Namespace: default  |  Automount:

🔑 Permissions (28)

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

⚠️ Potential Abuse (11)

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

📦 Workloads (1)

KindNameContainerImage
Deploymentkube-state-metricskube-state-metricsregistry.k8s.io/kube-state-metrics/kube-state-metrics:v2.16.0

🤖 agent-clusterwide-elastic-agent

Namespace: default  |  Automount:

🔑 Permissions (20)

RoleResourceVerbsRiskTags
ClusterRole agent-clusterWide-elastic-agent-defaultcore/nodes/proxyget · list · watchCriticalAuthorizationBypass ClusterAdminAccess CodeExecution ElevationOfPrivilege LateralMovement (+1 more)
ClusterRole agent-clusterWide-elastic-agent-defaultcore/configmapsget · list · watchHighConfigMapAccess DataExposure InformationDisclosure
ClusterRole agent-clusterWide-elastic-agent-defaultcore/eventsget · list · watchMediumInformationDisclosure OperationalData Reconnaissance
ClusterRole agent-clusterWide-elastic-agent-defaultbatch/cronjobsget · list · watchLow
ClusterRole agent-clusterWide-elastic-agent-defaultapps/daemonsetsget · list · watchLow
ClusterRole agent-clusterWide-elastic-agent-defaultapps/deploymentsget · list · watchLow
ClusterRole agent-clusterWide-elastic-agent-defaultbatch/jobsget · list · watchLow
ClusterRole agent-clusterWide-elastic-agent-defaultcoordination.k8s.io/leasescreate · get · updateLow
ClusterRole agent-clusterWide-elastic-agent-defaultcore/namespacesget · list · watchLowClusterStructure InformationDisclosure Reconnaissance
ClusterRole agent-clusterWide-elastic-agent-defaultcore/nodesget · list · watchLow
ClusterRole agent-clusterWide-elastic-agent-defaultcore/nodes/metricsget · list · watchLow
ClusterRole agent-clusterWide-elastic-agent-defaultcore/nodes/statsget · list · watchLow
ClusterRole agent-clusterWide-elastic-agent-defaultcore/persistentvolumeclaimsget · list · watchLow
ClusterRole agent-clusterWide-elastic-agent-defaultcore/persistentvolumeclaims/statusget · list · watchLow
ClusterRole agent-clusterWide-elastic-agent-defaultcore/persistentvolumesget · list · watchLow
ClusterRole agent-clusterWide-elastic-agent-defaultcore/podsget · list · watchLow
ClusterRole agent-clusterWide-elastic-agent-defaultapps/replicasetsget · list · watchLow
ClusterRole agent-clusterWide-elastic-agent-defaultcore/servicesget · list · watchLow
ClusterRole agent-clusterWide-elastic-agent-defaultapps/statefulsetsget · list · watchLow
ClusterRole agent-clusterWide-elastic-agent-defaultstorage.k8s.io/storageclassesget · list · watchLow

⚠️ Potential Abuse (6)

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

📦 Workloads (1)

KindNameContainerImage
Deploymentagent-clusterwide-elastic-agentagentdocker.elastic.co/elastic-agent/elastic-agent:9.2.4

🤖 agent-pernode-elastic-agent

Namespace: default  |  Automount:

🔑 Permissions (20)

RoleResourceVerbsRiskTags
ClusterRole agent-perNode-elastic-agent-defaultcore/nodes/proxyget · list · watchCriticalAuthorizationBypass ClusterAdminAccess CodeExecution ElevationOfPrivilege LateralMovement (+1 more)
ClusterRole agent-perNode-elastic-agent-defaultcore/configmapsget · list · watchHighConfigMapAccess DataExposure InformationDisclosure
ClusterRole agent-perNode-elastic-agent-defaultcore/eventsget · list · watchMediumInformationDisclosure OperationalData Reconnaissance
ClusterRole agent-perNode-elastic-agent-defaultbatch/cronjobsget · list · watchLow
ClusterRole agent-perNode-elastic-agent-defaultapps/daemonsetsget · list · watchLow
ClusterRole agent-perNode-elastic-agent-defaultapps/deploymentsget · list · watchLow
ClusterRole agent-perNode-elastic-agent-defaultbatch/jobsget · list · watchLow
ClusterRole agent-perNode-elastic-agent-defaultcoordination.k8s.io/leasescreate · get · updateLow
ClusterRole agent-perNode-elastic-agent-defaultcore/namespacesget · list · watchLowClusterStructure InformationDisclosure Reconnaissance
ClusterRole agent-perNode-elastic-agent-defaultcore/nodesget · list · watchLow
ClusterRole agent-perNode-elastic-agent-defaultcore/nodes/metricsget · list · watchLow
ClusterRole agent-perNode-elastic-agent-defaultcore/nodes/statsget · list · watchLow
ClusterRole agent-perNode-elastic-agent-defaultcore/persistentvolumeclaimsget · list · watchLow
ClusterRole agent-perNode-elastic-agent-defaultcore/persistentvolumeclaims/statusget · list · watchLow
ClusterRole agent-perNode-elastic-agent-defaultcore/persistentvolumesget · list · watchLow
ClusterRole agent-perNode-elastic-agent-defaultcore/podsget · list · watchLow
ClusterRole agent-perNode-elastic-agent-defaultapps/replicasetsget · list · watchLow
ClusterRole agent-perNode-elastic-agent-defaultcore/servicesget · list · watchLow
ClusterRole agent-perNode-elastic-agent-defaultapps/statefulsetsget · list · watchLow
ClusterRole agent-perNode-elastic-agent-defaultstorage.k8s.io/storageclassesget · list · watchLow

⚠️ Potential Abuse (6)

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

📦 Workloads (1)

KindNameContainerImage
DaemonSetagent-pernode-elastic-agentagentdocker.elastic.co/elastic-agent/elastic-agent:9.2.4