Description
StackGres Operator
Overview
| Identity | Namespace | Automount | Secrets | Permissions | Workloads | Risk |
|---|---|---|---|---|---|---|
stackgres-operator | default | ❌ | — | 90 | 1 | Critical |
stackgres-operator-grafana | default | ❌ | — | 3 | 2 | Critical |
stackgres-operator-kube-state-metrics | default | ❌ | — | 33 | 1 | Critical |
stackgres-operator-prometh-operator | default | ❌ | — | 20 | 2 | Critical |
stackgres-operator-prometh-prometheus | default | ❌ | — | 9 | 0 | Critical |
stackgres-restapi | default | ❌ | — | 5 | 2 | Critical |
stackgres-operator-grafana-test | default | ❌ | — | 1 | 1 | Low |
stackgres-operator-prometh-admission | default | ❌ | — | 4 | 2 | Low |
stackgres-operator-prometh-alertmanager | default | ❌ | — | 1 | 0 | Low |
stackgres-operator-prometheus-node-exporter | default | ❌ | — | 1 | 1 | Low |
stackgres-operator-init | default | ❌ | — | 0 | 4 | — |
Numbers in the last two columns indicate how many bindings or workloads involve each ServiceAccount.
Identities
🤖 stackgres-operator
Namespace: default | Automount: ❌
🔑 Permissions (90)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole stackgres-operator | core/configmaps | create · delete · get · list · patch · update · watch | Critical | ConfigMapAccess DataExposure InformationDisclosure PotentialPrivilegeEscalation Tampering |
ClusterRole stackgres-operator | batch/cronjobs | create · delete · get · list · patch · update · watch | Critical | Persistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle |
ClusterRole stackgres-operator | core/endpoints | create · delete · get · list · patch · update · watch | Critical | DenialOfService ManInTheMiddle NetworkManipulation Tampering TrafficRedirection |
ClusterRole stackgres-operator | batch/jobs | create · delete · get · list · patch · update · watch | Critical | PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle |
ClusterRole stackgres-operator | core/pods | create · delete · get · list · patch · update · watch | Critical | LateralMovement Persistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering (+1 more) |
ClusterRole stackgres-operator | core/pods/exec | create · delete · get · list · patch · update · watch | Critical | ClusterWidePodExec CodeExecution ElevationOfPrivilege LateralMovement PodExec (+1 more) |
ClusterRole stackgres-operator | core/secrets | create · delete · get · list · patch · update · watch | Critical | ClusterWideSecretAccess CredentialAccess DataExposure InformationDisclosure Persistence (+4 more) |
ClusterRole stackgres-operator | core/services | create · delete · get · list · patch · update · watch | Critical | DenialOfService NetworkManipulation ServiceExposure Tampering |
ClusterRole stackgres-operator | apps/statefulsets | create · delete · get · list · patch · update · watch | Critical | Persistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle |
ClusterRole stackgres-operator | core/namespaces | create · delete · get · list · patch · update · watch | High | ClusterStructure DenialOfService InformationDisclosure NamespaceLifecycle Reconnaissance (+1 more) |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/rolebindings | create · delete · get · list · patch · update · watch | High | BindingToPrivilegedRole InformationDisclosure PrivilegeEscalation RBACManipulation RBACQuery (+1 more) |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/roles | create · delete · get · list · patch · update · watch | High | InformationDisclosure PrivilegeEscalation RBACManipulation RBACQuery Reconnaissance |
ClusterRole stackgres-operator | core/serviceaccounts | create · delete · get · list · patch · update · watch | High | IdentityManagement PotentialPrivilegeEscalation Tampering |
ClusterRole stackgres-operator | core/events | create · delete · get · list · patch · update · watch | Medium | InformationDisclosure OperationalData Reconnaissance |
ClusterRole stackgres-operator | apps/configmaps | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | batch/configmaps | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/configmaps | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/configmaps | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | apps/cronjobs | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | core/cronjobs | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/cronjobs | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/cronjobs | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | apiextensions.k8s.io/customresourcedefinitions | get · list · watch | Low | |
ClusterRole stackgres-operator | customresourcedefinitions.apiextensions.k8s.io/customresourcedefinitions | get · list · watch | Low | |
ClusterRole stackgres-operator | apps/endpoints | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | batch/endpoints | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/endpoints | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/endpoints | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | apps/events | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | batch/events | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/events | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/events | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | apps/jobs | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | core/jobs | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/jobs | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/jobs | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | apps/namespaces | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | batch/namespaces | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/namespaces | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/namespaces | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | apps/persistentvolumeclaims | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | batch/persistentvolumeclaims | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | core/persistentvolumeclaims | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/persistentvolumeclaims | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/persistentvolumeclaims | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | monitoring.coreos.com/podmonitors | get · list | Low | |
ClusterRole stackgres-operator | apps/pods | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | batch/pods | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/pods | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/pods | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | apps/pods/exec | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | batch/pods/exec | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/pods/exec | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/pods/exec | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | monitoring.coreos.com/prometheus | get · list | Low | |
ClusterRole stackgres-operator | monitoring.coreos.com/prometheuses | get · list | Low | |
ClusterRole stackgres-operator | apps/rolebindings | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | batch/rolebindings | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | core/rolebindings | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/rolebindings | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | apps/roles | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | batch/roles | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | core/roles | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/roles | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | apps/secrets | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | batch/secrets | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/secrets | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/secrets | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | apps/serviceaccounts | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | batch/serviceaccounts | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/serviceaccounts | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/serviceaccounts | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | monitoring.coreos.com/servicemonitors | create · delete · get · list · patch · update | Low | |
ClusterRole stackgres-operator | apps/services | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | batch/services | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/services | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/services | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | stackgres.io/sgbackupconfigs | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | stackgres.io/sgbackups | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | stackgres.io/sgclusters | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | stackgres.io/sgdistributedlogs | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | stackgres.io/sginstanceprofiles | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | stackgres.io/sgpgconfigs | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | stackgres.io/sgpoolconfigs | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | stackgres.io/sgrestoreconfigs | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | batch/statefulsets | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | core/statefulsets | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | extensions/statefulsets | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | rbac.authorization.k8s.io/statefulsets | create · delete · get · list · patch · update · watch | Low | |
ClusterRole stackgres-operator | storage.k8s.io/storageclasses | get · list | Low |
⚠️ Potential Abuse (33)
The following security risks were found based on the above permissions:
- Cluster-wide pod exec
- Namespaced pod exec
- Create pods cluster-wide
- Create pods in a namespace
- Update/Patch pods cluster-wide
- Update/Patch pods in a namespace
- Read secrets cluster-wide
- Read secrets in a namespace
- Modify secrets cluster-wide
- Modify secrets in a namespace
- Read ConfigMaps cluster-wide
- Read ConfigMaps in a namespace
- Modify ConfigMaps cluster-wide
- Modify ConfigMaps in a namespace
- Delete namespaces
- Manage Roles in a namespace (create, update, patch, delete)
- Manage RoleBindings in a namespace (create, update, patch, delete)
- Manage StatefulSets cluster-wide
- Manage StatefulSets in a namespace
- Manage CronJobs cluster-wide (scheduled privileged execution, persistence)
- Manage CronJobs in a namespace (scheduled privileged execution, persistence)
- Manage Jobs cluster-wide (one-off privileged execution)
- Manage Jobs in a namespace (one-off privileged execution)
- Manage ServiceAccounts cluster-wide
- Manage ServiceAccounts in a namespace
- Read events cluster-wide
- Manage Endpoints or EndpointSlices cluster-wide
- Manage Endpoints or EndpointSlices in a namespace
- Manage Services cluster-wide
- Manage Services in a namespace
- Read RBAC configuration cluster-wide
- List Namespaces (Cluster Reconnaissance)
📦 Workloads (1)
| Kind | Name | Container | Image |
|---|---|---|---|
| Deployment | stackgres-operator | stackgres-operator | stackgres/operator:0.9.3-jvm |
🤖 stackgres-operator-kube-state-metrics
Namespace: default | Automount: ❌
🔑 Permissions (33)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole stackgres-operator-kube-state-metrics | core/secrets | list · watch | Critical | ClusterWideSecretAccess CredentialAccess DataExposure InformationDisclosure SecretAccess |
ClusterRole stackgres-operator-kube-state-metrics | core/configmaps | list · watch | High | ConfigMapAccess DataExposure InformationDisclosure |
ClusterRole stackgres-operator-kube-state-metrics | admissionregistration.k8s.io/mutatingwebhookconfigurations | list · watch | Medium | InformationDisclosure Reconnaissance WebhookReconnaissance |
ClusterRole stackgres-operator-kube-state-metrics | core/resourcequotas | list · watch | Medium | InformationDisclosure QuotaTampering Reconnaissance ResourceConfiguration |
ClusterRole stackgres-operator-kube-state-metrics | admissionregistration.k8s.io/validatingwebhookconfigurations | list · watch | Medium | InformationDisclosure Reconnaissance WebhookReconnaissance |
ClusterRole stackgres-operator-kube-state-metrics | certificates.k8s.io/certificatesigningrequests | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | batch/cronjobs | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | apps/daemonsets | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | extensions/daemonsets | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | apps/deployments | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | extensions/deployments | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | core/endpoints | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | autoscaling/horizontalpodautoscalers | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | extensions/ingresses | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | networking.k8s.io/ingresses | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | batch/jobs | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | core/limitranges | list · watch | Low | InformationDisclosure Reconnaissance ResourceConfiguration |
ClusterRole stackgres-operator-kube-state-metrics | core/namespaces | list · watch | Low | ClusterStructure InformationDisclosure Reconnaissance |
ClusterRole stackgres-operator-kube-state-metrics | networking.k8s.io/networkpolicies | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | core/nodes | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | core/persistentvolumeclaims | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | core/persistentvolumes | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | policy/poddisruptionbudgets | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | core/pods | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | apps/replicasets | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | extensions/replicasets | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | core/replicationcontrollers | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | core/services | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | apps/statefulsets | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | storage.k8s.io/storageclasses | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | autoscaling.k8s.io/verticalpodautoscalers | list · watch | Low | |
ClusterRole stackgres-operator-kube-state-metrics | storage.k8s.io/volumeattachments | list · watch | Low | |
ClusterRole psp-stackgres-operator-kube-state-metrics | policy/podsecuritypolicies (restricted to: stackgres-operator-kube-state-metrics) | use | Low | DeprecatedFeature NodeAccess PodSecurityPolicy PrivilegeEscalation ResourceNameRestricted |
⚠️ Potential Abuse (12)
The following security risks were found based on the above permissions:
- Read secrets cluster-wide
- Read secrets in a namespace
- Read ConfigMaps cluster-wide
- Read ConfigMaps in a namespace
- Use privileged PodSecurityPolicy (deprecated)
- List Namespaces (Cluster Reconnaissance)
- List ValidatingWebhookConfigurations (Reconnaissance)
- List MutatingWebhookConfigurations (Reconnaissance)
- Read LimitRanges (Namespace Information Disclosure)
- Read ResourceQuotas (Namespace Information Disclosure)
- Read All ResourceQuotas (Cluster-wide Information Disclosure)
📦 Workloads (1)
| Kind | Name | Container | Image |
|---|---|---|---|
| Deployment | stackgres-operator-kube-state-metrics | kube-state-metrics | quay.io/coreos/kube-state-metrics:v1.9.5 |
🤖 stackgres-operator-prometh-operator
Namespace: default | Automount: ❌
🔑 Permissions (20)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole stackgres-operator-prometh-operator | core/configmaps | * | Critical | ClusterWideAccess ConfigMapAccess DataExposure InformationDisclosure PotentialPrivilegeEscalation (+2 more) |
ClusterRole stackgres-operator-prometh-operator | apiextensions.k8s.io/customresourcedefinitions | * | Critical | CRDManipulation ClusterWideAccess PotentialPrivilegeEscalation Tampering |
ClusterRole stackgres-operator-prometh-operator | core/secrets | * | Critical | ClusterWideAccess ClusterWideSecretAccess CredentialAccess DataExposure InformationDisclosure (+6 more) |
ClusterRole stackgres-operator-prometh-operator | apps/statefulsets | * | Critical | ClusterWideAccess Persistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering (+2 more) |
ClusterRole stackgres-operator-prometh-operator | monitoring.coreos.com/alertmanagers | * | High | ClusterWideAccess |
ClusterRole stackgres-operator-prometh-operator | monitoring.coreos.com/alertmanagers/finalizers | * | High | ClusterWideAccess |
ClusterRole stackgres-operator-prometh-operator | monitoring.coreos.com/podmonitors | * | High | ClusterWideAccess |
ClusterRole stackgres-operator-prometh-operator | monitoring.coreos.com/prometheuses | * | High | ClusterWideAccess |
ClusterRole stackgres-operator-prometh-operator | monitoring.coreos.com/prometheuses/finalizers | * | High | ClusterWideAccess |
ClusterRole stackgres-operator-prometh-operator | monitoring.coreos.com/prometheusrules | * | High | ClusterWideAccess |
ClusterRole stackgres-operator-prometh-operator | monitoring.coreos.com/servicemonitors | * | High | ClusterWideAccess |
ClusterRole stackgres-operator-prometh-operator | monitoring.coreos.com/thanosrulers | * | High | ClusterWideAccess |
ClusterRole stackgres-operator-prometh-operator | monitoring.coreos.com/thanosrulers/finalizers | * | High | ClusterWideAccess |
ClusterRole stackgres-operator-prometh-operator | core/endpoints | create · delete · get · update | Low | |
ClusterRole stackgres-operator-prometh-operator | core/namespaces | get · list · watch | Low | ClusterStructure InformationDisclosure Reconnaissance |
ClusterRole stackgres-operator-prometh-operator | core/nodes | list · watch | Low | |
ClusterRole stackgres-operator-prometh-operator | core/pods | delete · list | Low | |
ClusterRole stackgres-operator-prometh-operator | core/services | create · delete · get · update | Low | |
ClusterRole stackgres-operator-prometh-operator | core/services/finalizers | create · delete · get · update | Low | |
ClusterRole stackgres-operator-prometh-operator-psp | policy/podsecuritypolicies (restricted to: stackgres-operator-prometh-operator) | use | Low | DeprecatedFeature NodeAccess PodSecurityPolicy PrivilegeEscalation ResourceNameRestricted |
⚠️ Potential Abuse (15)
The following security risks were found based on the above permissions:
- Read secrets cluster-wide
- Read secrets in a namespace
- Modify secrets cluster-wide
- Modify secrets in a namespace
- Read ConfigMaps cluster-wide
- Read ConfigMaps in a namespace
- Modify ConfigMaps cluster-wide
- Modify ConfigMaps in a namespace
- Manage StatefulSets cluster-wide
- Manage StatefulSets in a namespace
- Manage CustomResourceDefinitions
- Use privileged PodSecurityPolicy (deprecated)
- List Namespaces (Cluster Reconnaissance)
📦 Workloads (2)
| Kind | Name | Container | Image |
|---|---|---|---|
| Deployment | stackgres-operator-prometh-operator | prometheus-operator | quay.io/coreos/prometheus-operator:v0.38.1 |
| Deployment | stackgres-operator-prometh-operator | tls-proxy | squareup/ghostunnel:v1.5.2 |
🤖 stackgres-operator-prometh-prometheus
Namespace: default | Automount: ❌
🔑 Permissions (9)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole stackgres-operator-prometh-prometheus | core/nodes/proxy | get · list · watch | Critical | ClusterAdminAccess CodeExecution ElevationOfPrivilege LateralMovement (+1 more) |
ClusterRole stackgres-operator-prometh-prometheus | core/endpoints | get · list · watch | Low | |
ClusterRole stackgres-operator-prometh-prometheus | extensions/ingresses | get · list · watch | Low | |
ClusterRole stackgres-operator-prometh-prometheus | networking.k8s.io/ingresses | get · list · watch | Low | |
ClusterRole stackgres-operator-prometh-prometheus | core/nodes | get · list · watch | Low | |
ClusterRole stackgres-operator-prometh-prometheus | core/nodes/metrics | get · list · watch | Low | |
ClusterRole stackgres-operator-prometh-prometheus | core/pods | get · list · watch | Low | |
ClusterRole stackgres-operator-prometh-prometheus | core/services | get · list · watch | Low | |
ClusterRole stackgres-operator-prometh-prometheus-psp | policy/podsecuritypolicies (restricted to: stackgres-operator-prometh-prometheus) | use | Low | DeprecatedFeature NodeAccess PodSecurityPolicy PrivilegeEscalation ResourceNameRestricted |
⚠️ Potential Abuse (3)
The following security risks were found based on the above permissions:
📦 Workloads (0)
No workloads use this ServiceAccount.
🤖 stackgres-restapi
Namespace: default | Automount: ❌
🔑 Permissions (5)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole stackgres-restapi | core/groups | impersonate | Critical | ClusterAdminAccess Impersonation PrivilegeEscalation Spoofing |
ClusterRole stackgres-restapi | core/users | impersonate | Critical | ClusterAdminAccess Impersonation PrivilegeEscalation Spoofing |
ClusterRole stackgres-restapi | authorization.k8s.io/subjectaccessreviews | create | Medium | InformationDisclosure RBACQuery |
ClusterRole stackgres-restapi | core/secrets | get · list | Low | |
ClusterRole stackgres-restapi | core/serviceaccount | impersonate | Low |
⚠️ Potential Abuse (3)
The following security risks were found based on the above permissions:
- Create SubjectAccessReviews (check arbitrary permissions)
- Impersonate users, groups, or service accounts (cluster-wide)
📦 Workloads (2)
| Kind | Name | Container | Image |
|---|---|---|---|
| Deployment | stackgres-restapi | stackgres-adminui | stackgres/admin-ui:0.9.3 |
| Deployment | stackgres-restapi | stackgres-restapi | stackgres/restapi:0.9.3-jvm |
🤖 stackgres-operator-grafana
Namespace: default | Automount: ❌
🔑 Permissions (3)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole stackgres-operator-grafana-clusterrole | core/secrets | get · list · watch | Critical | ClusterWideSecretAccess CredentialAccess DataExposure InformationDisclosure SecretAccess |
ClusterRole stackgres-operator-grafana-clusterrole | core/configmaps | get · list · watch | High | ConfigMapAccess DataExposure InformationDisclosure |
Role stackgres-operator-grafana | extensions/podsecuritypolicies (restricted to: stackgres-operator-grafana) | use | Low | ResourceNameRestricted |
⚠️ Potential Abuse (5)
The following security risks were found based on the above permissions:
- Read secrets cluster-wide
- Read secrets in a namespace
- Read ConfigMaps cluster-wide
- Read ConfigMaps in a namespace
📦 Workloads (2)
| Kind | Name | Container | Image |
|---|---|---|---|
| Deployment | stackgres-operator-grafana | grafana | grafana/grafana:6.7.3 |
| Deployment | stackgres-operator-grafana | grafana-sc-dashboard | kiwigrid/k8s-sidecar:0.1.99 |
🤖 stackgres-operator-prometh-admission
Namespace: default | Automount: ❌
🔑 Permissions (4)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole stackgres-operator-prometh-admission | admissionregistration.k8s.io/mutatingwebhookconfigurations | get · update | Low | |
Role stackgres-operator-prometh-admission | core/secrets | create · get | Low | |
ClusterRole stackgres-operator-prometh-admission | admissionregistration.k8s.io/validatingwebhookconfigurations | get · update | Low | |
ClusterRole stackgres-operator-prometh-admission | policy/podsecuritypolicies (restricted to: stackgres-operator-prometh-admission) | use | Low | DeprecatedFeature NodeAccess PodSecurityPolicy PrivilegeEscalation ResourceNameRestricted |
⚠️ Potential Abuse (2)
The following security risks were found based on the above permissions:
📦 Workloads (2)
| Kind | Name | Container | Image |
|---|---|---|---|
| Job | stackgres-operator-prometh-admission-create | create | jettech/kube-webhook-certgen:v1.2.0 |
| Job | stackgres-operator-prometh-admission-patch | patch | jettech/kube-webhook-certgen:v1.2.0 |
🤖 stackgres-operator-grafana-test
Namespace: default | Automount: ❌
🔑 Permissions (1)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
Role stackgres-operator-grafana-test | policy/podsecuritypolicies (restricted to: stackgres-operator-grafana-test) | use | Low | ResourceNameRestricted |
⚠️ Potential Abuse (1)
The following security risks were found based on the above permissions:
📦 Workloads (1)
| Kind | Name | Container | Image |
|---|---|---|---|
| Pod | stackgres-operator-grafana-test | stackgres-operator-test | bats/bats:v1.1.0 |
🤖 stackgres-operator-prometh-alertmanager
Namespace: default | Automount: ❌
🔑 Permissions (1)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
Role stackgres-operator-prometh-alertmanager | policy/podsecuritypolicies (restricted to: stackgres-operator-prometh-alertmanager) | use | Low | ResourceNameRestricted |
⚠️ Potential Abuse (1)
The following security risks were found based on the above permissions:
📦 Workloads (0)
No workloads use this ServiceAccount.
🤖 stackgres-operator-prometheus-node-exporter
Namespace: default | Automount: ❌
🔑 Permissions (1)
| Role | Resource | Verbs | Risk | Tags |
|---|---|---|---|---|
ClusterRole psp-stackgres-operator-prometheus-node-exporter | extensions/podsecuritypolicies (restricted to: stackgres-operator-prometheus-node-exporter) | use | Low | DeprecatedFeature NodeAccess PodSecurityPolicy PrivilegeEscalation ResourceNameRestricted |
⚠️ Potential Abuse (2)
The following security risks were found based on the above permissions:
📦 Workloads (1)
| Kind | Name | Container | Image |
|---|---|---|---|
| DaemonSet | stackgres-operator-prometheus-node-exporter | node-exporter | quay.io/prometheus/node-exporter:v0.18.1 |
🤖 stackgres-operator-init
Namespace: default | Automount: ❌
🔑 Permissions (0)
No explicit RBAC bindings.
📦 Workloads (4)
| Kind | Name | Container | Image |
|---|---|---|---|
| Job | stackgres-operator-bootstrap | stackgres-operator-bootstrap | bitnami/kubectl:1.18.3 |
| Job | stackgres-operator-create-certificate | stackgres-operator-create-certificate | bitnami/kubectl:1.18.3 |
| Job | stackgres-operator-upgrade | stackgres-operator-upgrade | bitnami/kubectl:1.18.3 |
| Job | stackgres-operator-wait | stackgres-operator-wait | bitnami/kubectl:1.18.3 |