datadog
v3.118.3
3 Service Accounts
2 Workloads
107 Bindings
1 Critical
10 Medium
96 Low
Description
Datadog Agent
Overview
Identity | Namespace | Automount | Secrets | Permissions | Workloads | Risk |
---|---|---|---|---|---|---|
datadog-cluster-agent | default | ✅ | — | 67 | 1 | Critical |
datadog-kube-state-metrics | default | ❌ | — | 31 | 1 | Medium |
datadog | default | ✅ | — | 9 | 0 | Low |
Numbers in the last two columns indicate how many bindings or workloads involve each ServiceAccount.
Identities
🤖 datadog-cluster-agent
Namespace: default
| Automount: ✅
🔑 Permissions (67)
Role | Resource | Verbs | Risk | Tags |
---|---|---|---|---|
Role datadog-cluster-agent-main | core/secrets | create · get · list · update · watch | Critical | CredentialAccess DataExposure InformationDisclosure SecretAccess |
ClusterRole datadog-cluster-agent | rbac.authorization.k8s.io/clusterrolebindings | get · list · watch | Medium | InformationDisclosure RBACQuery Reconnaissance |
ClusterRole datadog-cluster-agent | rbac.authorization.k8s.io/clusterroles | get · list · watch | Medium | InformationDisclosure RBACQuery Reconnaissance |
ClusterRole datadog-cluster-agent | core/componentstatuses | get · list · watch | Medium | ControlPlaneDisruption InformationDisclosure Reconnaissance |
ClusterRole datadog-cluster-agent | core/events | create · get · list · watch | Medium | InformationDisclosure OperationalData Reconnaissance |
ClusterRole datadog-cluster-agent | admissionregistration.k8s.io/mutatingwebhookconfigurations | create · delete · get · list · update · watch | Medium | InformationDisclosure Reconnaissance WebhookReconnaissance |
ClusterRole datadog-cluster-agent | rbac.authorization.k8s.io/rolebindings | get · list · watch | Medium | InformationDisclosure RBACQuery Reconnaissance |
ClusterRole datadog-cluster-agent | rbac.authorization.k8s.io/roles | get · list · watch | Medium | InformationDisclosure RBACQuery Reconnaissance |
ClusterRole datadog-cluster-agent | admissionregistration.k8s.io/validatingwebhookconfigurations | create · delete · get · list · update · watch | Medium | InformationDisclosure Reconnaissance WebhookReconnaissance |
ClusterRole datadog-cluster-agent | quota.openshift.io/clusterresourcequotas | get · list | Low | |
ClusterRole datadog-cluster-agent | core/configmaps | create · get · update | Low | |
ClusterRole datadog-ksm-core | core/configmaps | list · watch | Low | |
Role datadog-dca-flare | core/configmaps | get · list | Low | |
ClusterRole datadog-cluster-agent | batch/cronjobs | get · list · watch | Low | |
ClusterRole datadog-ksm-core | batch/cronjobs | list · watch | Low | |
ClusterRole datadog-cluster-agent | apiextensions.k8s.io/customresourcedefinitions | get · list · watch | Low | |
ClusterRole datadog-ksm-core | apiextensions.k8s.io/customresourcedefinitions | list · watch | Low | |
ClusterRole datadog-cluster-agent | apps/daemonsets | get · list · watch | Low | |
ClusterRole datadog-ksm-core | apps/daemonsets | list · watch | Low | |
ClusterRole datadog-ksm-core | extensions/daemonsets | list · watch | Low | |
ClusterRole datadog-cluster-agent | apps/deployments | get · list · watch | Low | |
ClusterRole datadog-ksm-core | apps/deployments | list · watch | Low | |
ClusterRole datadog-ksm-core | extensions/deployments | list · watch | Low | |
ClusterRole datadog-cluster-agent | core/endpoints | get · list · watch | Low | |
ClusterRole datadog-ksm-core | core/endpoints | list · watch | Low | |
ClusterRole datadog-cluster-agent | discovery.k8s.io/endpointslices | get · list · watch | Low | |
ClusterRole datadog-ksm-core | core/events | list · watch | Low | |
ClusterRole datadog-cluster-agent | autoscaling/horizontalpodautoscalers | list · watch | Low | |
ClusterRole datadog-ksm-core | autoscaling/horizontalpodautoscalers | list · watch | Low | |
ClusterRole datadog-cluster-agent | networking.k8s.io/ingresses | get · list · watch | Low | |
ClusterRole datadog-ksm-core | networking.k8s.io/ingresses | list · watch | Low | |
ClusterRole datadog-cluster-agent | batch/jobs | get · list · watch | Low | |
ClusterRole datadog-ksm-core | batch/jobs | list · watch | Low | |
ClusterRole datadog-cluster-agent | coordination.k8s.io/leases | create · get · update | Low | |
ClusterRole datadog-cluster-agent | core/limitranges | get · list · watch | Low | InformationDisclosure Reconnaissance ResourceConfiguration |
ClusterRole datadog-ksm-core | core/limitranges | list · watch | Low | |
ClusterRole datadog-cluster-agent | core/namespaces | get · list · watch | Low | ClusterStructure InformationDisclosure Reconnaissance |
ClusterRole datadog-ksm-core | core/namespaces | list · watch | Low | ClusterStructure InformationDisclosure Reconnaissance |
ClusterRole datadog-cluster-agent | networking.k8s.io/networkpolicies | get · list · watch | Low | |
ClusterRole datadog-cluster-agent | core/nodes | get · list · watch | Low | |
ClusterRole datadog-ksm-core | core/nodes | list · watch | Low | |
ClusterRole datadog-cluster-agent | core/persistentvolumeclaims | get · list · watch | Low | |
ClusterRole datadog-ksm-core | core/persistentvolumeclaims | list · watch | Low | |
ClusterRole datadog-cluster-agent | core/persistentvolumes | get · list · watch | Low | |
ClusterRole datadog-ksm-core | core/persistentvolumes | list · watch | Low | |
ClusterRole datadog-cluster-agent | policy/poddisruptionbudgets | get · list · watch | Low | |
ClusterRole datadog-ksm-core | policy/poddisruptionbudgets | list · watch | Low | |
ClusterRole datadog-cluster-agent | core/pods | get · list · watch | Low | |
ClusterRole datadog-ksm-core | core/pods | list · watch | Low | |
ClusterRole datadog-cluster-agent | apps/replicasets | get · list · watch | Low | |
ClusterRole datadog-ksm-core | apps/replicasets | list · watch | Low | |
ClusterRole datadog-ksm-core | extensions/replicasets | list · watch | Low | |
ClusterRole datadog-cluster-agent | core/replicationcontrollers | get | Low | |
ClusterRole datadog-ksm-core | core/replicationcontrollers | list · watch | Low | |
ClusterRole datadog-ksm-core | core/resourcequotas | list · watch | Low | |
ClusterRole datadog-ksm-core | core/secrets | list · watch | Low | |
Role datadog-dca-flare | core/secrets | get · list | Low | |
ClusterRole datadog-cluster-agent | security.openshift.io/securitycontextconstraints | use | Low | |
ClusterRole datadog-cluster-agent | core/serviceaccounts | get · list · watch | Low | |
ClusterRole datadog-cluster-agent | core/services | get · list · watch | Low | |
ClusterRole datadog-ksm-core | core/services | list · watch | Low | |
ClusterRole datadog-cluster-agent | apps/statefulsets | get · list · watch | Low | |
ClusterRole datadog-ksm-core | apps/statefulsets | list · watch | Low | |
ClusterRole datadog-cluster-agent | storage.k8s.io/storageclasses | get · list · watch | Low | |
ClusterRole datadog-ksm-core | storage.k8s.io/storageclasses | list · watch | Low | |
ClusterRole datadog-cluster-agent | autoscaling.k8s.io/verticalpodautoscalers | get · list · watch | Low | |
ClusterRole datadog-ksm-core | storage.k8s.io/volumeattachments | list · watch | Low |
⚠️ Potential Abuse (9)
The following security risks were found based on the above permissions:
- Read secrets in a namespace
- Read events cluster-wide
- Read RBAC configuration cluster-wide
- List Namespaces (Cluster Reconnaissance)
- List ValidatingWebhookConfigurations (Reconnaissance)
- List MutatingWebhookConfigurations (Reconnaissance)
- Read LimitRanges (Namespace Information Disclosure)
- Read ComponentStatuses (Control Plane Reconnaissance)
📦 Workloads (1)
Kind | Name | Container | Image |
---|---|---|---|
Deployment | datadog-cluster-agent | cluster-agent | gcr.io/datadoghq/cluster-agent:7.66.1 |
🤖 datadog-kube-state-metrics
Namespace: default
| Automount: ❌
🔑 Permissions (31)
Role | Resource | Verbs | Risk | Tags |
---|---|---|---|---|
ClusterRole datadog-kube-state-metrics | admissionregistration.k8s.io/mutatingwebhookconfigurations | list · watch | Medium | InformationDisclosure Reconnaissance WebhookReconnaissance |
ClusterRole datadog-kube-state-metrics | admissionregistration.k8s.io/validatingwebhookconfigurations | list · watch | Medium | InformationDisclosure Reconnaissance WebhookReconnaissance |
ClusterRole datadog-kube-state-metrics | certificates.k8s.io/certificatesigningrequests | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | core/configmaps | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | batch/cronjobs | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | apps/daemonsets | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | extensions/daemonsets | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | apps/deployments | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | extensions/deployments | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | core/endpoints | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | autoscaling/horizontalpodautoscalers | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | extensions/ingresses | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | networking.k8s.io/ingresses | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | batch/jobs | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | core/limitranges | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | core/namespaces | list · watch | Low | ClusterStructure InformationDisclosure Reconnaissance |
ClusterRole datadog-kube-state-metrics | networking.k8s.io/networkpolicies | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | core/nodes | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | core/persistentvolumeclaims | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | core/persistentvolumes | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | policy/poddisruptionbudgets | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | core/pods | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | apps/replicasets | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | extensions/replicasets | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | core/replicationcontrollers | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | core/resourcequotas | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | core/secrets | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | core/services | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | apps/statefulsets | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | storage.k8s.io/storageclasses | list · watch | Low | |
ClusterRole datadog-kube-state-metrics | storage.k8s.io/volumeattachments | list · watch | Low |
⚠️ Potential Abuse (4)
The following security risks were found based on the above permissions:
- List Namespaces (Cluster Reconnaissance)
- List ValidatingWebhookConfigurations (Reconnaissance)
- List MutatingWebhookConfigurations (Reconnaissance)
📦 Workloads (1)
Kind | Name | Container | Image |
---|---|---|---|
Deployment | datadog-kube-state-metrics | kube-state-metrics | registry.k8s.io/kube-state-metrics/kube-state-metrics:v1.9.8 |
🤖 datadog
Namespace: default
| Automount: ✅
🔑 Permissions (9)
Role | Resource | Verbs | Risk | Tags |
---|---|---|---|---|
ClusterRole datadog | core/endpoints | get | Low | |
ClusterRole datadog | metrics.eks.amazonaws.com/kcm/metrics | get | Low | |
ClusterRole datadog | metrics.eks.amazonaws.com/ksh/metrics | get | Low | |
ClusterRole datadog | coordination.k8s.io/leases | get | Low | |
ClusterRole datadog | core/nodes/metrics | get | Low | |
ClusterRole datadog | core/nodes/proxy | get | Low | |
ClusterRole datadog | core/nodes/spec | get | Low | |
ClusterRole datadog | core/nodes/stats | get | Low | |
ClusterRole datadog | security.openshift.io/securitycontextconstraints | use | Low |
⚠️ Potential Abuse (1)
The following security risks were found based on the above permissions:
📦 Workloads (0)
No workloads use this ServiceAccount.