Description

StackGres Operator

Overview

IdentityNamespaceAutomountSecretsPermissionsWorkloadsRisk
stackgres-operatordefault1772Critical
stackgres-operator-initdefault42Low

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


Identities

🤖 stackgres-operator

Namespace: default  |  Automount:

🔑 Permissions (177)

RoleResourceVerbsRiskTags
ClusterRole stackgres-operatorcore/configmapscreate · delete · deletecollection · get · list · patch · update · watchCriticalConfigMapAccess DataExposure InformationDisclosure PotentialPrivilegeEscalation Tampering
ClusterRole stackgres-operatorbatch/cronjobscreate · delete · deletecollection · get · list · patch · update · watchCriticalPersistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle
ClusterRole stackgres-operatorapps/deploymentscreate · delete · deletecollection · get · list · patch · update · watchCriticalPersistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle
ClusterRole stackgres-operatorcore/endpointscreate · delete · deletecollection · get · list · patch · update · watchCriticalDenialOfService ManInTheMiddle NetworkManipulation Tampering TrafficRedirection
ClusterRole stackgres-operatorbatch/jobscreate · delete · deletecollection · get · list · patch · update · watchCriticalPotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle
ClusterRole stackgres-operatorcore/podscreate · delete · deletecollection · get · list · patch · update · watchCriticalLateralMovement Persistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering (+1 more)
ClusterRole stackgres-operatorcore/pods/execcreate · delete · deletecollection · get · list · patch · update · watchCriticalClusterWidePodExec CodeExecution ElevationOfPrivilege LateralMovement PodExec (+1 more)
ClusterRole stackgres-operatorcore/secretscreate · delete · deletecollection · get · list · patch · update · watchCriticalClusterWideSecretAccess CredentialAccess DataExposure InformationDisclosure Persistence (+4 more)
ClusterRole stackgres-operatorcore/servicescreate · delete · deletecollection · get · list · patch · update · watchCriticalDenialOfService NetworkManipulation ServiceExposure Tampering
ClusterRole stackgres-operatorapps/statefulsetscreate · delete · deletecollection · get · list · patch · update · watchCriticalPersistence PotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadLifecycle
ClusterRole stackgres-operatorcore/namespacescreate · delete · deletecollection · get · list · patch · update · watchHighClusterStructure DenialOfService InformationDisclosure NamespaceLifecycle Reconnaissance (+1 more)
ClusterRole stackgres-operatorcore/pods/logcreate · delete · deletecollection · get · list · patch · update · watchHighClusterWideLogAccess DataExposure InformationDisclosure LogAccess
ClusterRole stackgres-operatorrbac.authorization.k8s.io/rolebindingscreate · delete · deletecollection · get · list · patch · update · watchHighBindingToPrivilegedRole InformationDisclosure PrivilegeEscalation RBACManipulation RBACQuery (+1 more)
ClusterRole stackgres-operatorrbac.authorization.k8s.io/rolescreate · delete · deletecollection · get · list · patch · update · watchHighInformationDisclosure PrivilegeEscalation RBACManipulation RBACQuery Reconnaissance
ClusterRole stackgres-operatorcore/serviceaccountscreate · delete · deletecollection · get · list · patch · update · watchHighIdentityManagement PotentialPrivilegeEscalation Tampering
ClusterRole stackgres-operatorcore/eventscreate · delete · deletecollection · get · list · patch · update · watchMediumInformationDisclosure OperationalData Reconnaissance
ClusterRole stackgres-operatorshardingsphere.apache.org/computenodescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/configmapscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/configmapscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/configmapscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/configmapscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/cronjobscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/cronjobscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/cronjobscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/cronjobscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/cronjobs/finalizersupdateLow
ClusterRole stackgres-operatorbatch/cronjobs/finalizersupdateLow
ClusterRole stackgres-operatorcore/cronjobs/finalizersupdateLow
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitionscreate · listLow
ClusterRole stackgres-operatorbatch/deploymentscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/deploymentscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/deploymentscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/deploymentscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/deployments/finalizersupdateLow
ClusterRole stackgres-operatorbatch/deployments/finalizersupdateLow
ClusterRole stackgres-operatorcore/deployments/finalizersupdateLow
ClusterRole stackgres-operatorapps/endpointscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/endpointscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/endpointscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/endpointscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/endpoints/finalizersupdateLow
ClusterRole stackgres-operatorbatch/endpoints/finalizersupdateLow
ClusterRole stackgres-operatorcore/endpoints/finalizersupdateLow
ClusterRole stackgres-operatorapps/endpoints/restrictedcreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/endpoints/restrictedcreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/endpoints/restrictedcreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/endpoints/restrictedcreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/endpoints/restrictedcreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/eventscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/eventscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/eventscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/eventscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/jobscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/jobscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/jobscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/jobscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/jobs/finalizersupdateLow
ClusterRole stackgres-operatorbatch/jobs/finalizersupdateLow
ClusterRole stackgres-operatorcore/jobs/finalizersupdateLow
ClusterRole stackgres-operatorapps/namespacescreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/namespacescreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/namespacescreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/namespacescreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/persistentvolumeclaimscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/persistentvolumeclaimscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/persistentvolumeclaimscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/persistentvolumeclaimscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/persistentvolumeclaimscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/persistentvolumeclaims/finalizersupdateLow
ClusterRole stackgres-operatorbatch/persistentvolumeclaims/finalizersupdateLow
ClusterRole stackgres-operatorcore/persistentvolumeclaims/finalizersupdateLow
ClusterRole stackgres-operatormonitoring.coreos.com/podmonitorscreate · delete · get · list · patch · updateLow
ClusterRole stackgres-operatorapps/podscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/podscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/podscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/podscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/pods/execcreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/pods/execcreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/pods/execcreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/pods/execcreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/pods/finalizersupdateLow
ClusterRole stackgres-operatorbatch/pods/finalizersupdateLow
ClusterRole stackgres-operatorcore/pods/finalizersupdateLow
ClusterRole stackgres-operatorapps/pods/logcreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/pods/logcreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/pods/logcreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/pods/logcreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatormonitoring.coreos.com/prometheusget · listLow
ClusterRole stackgres-operatormonitoring.coreos.com/prometheusesget · listLow
ClusterRole stackgres-operatorapps/rolebindingscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/rolebindingscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/rolebindingscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/rolebindingscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/rolescreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/rolescreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/rolescreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/rolescreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorkeda.sh/scaledobjectscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/secretscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/secretscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/secretscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/secretscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/serviceaccountscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/serviceaccountscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/serviceaccountscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/serviceaccountscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatormonitoring.coreos.com/servicemonitorscreate · delete · get · list · patch · updateLow
ClusterRole stackgres-operatorapps/servicescreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorbatch/servicescreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/servicescreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/servicescreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorserving.knative.dev/servicescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/services/finalizersupdateLow
ClusterRole stackgres-operatorbatch/services/finalizersupdateLow
ClusterRole stackgres-operatorcore/services/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgbackupconfigscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgbackupconfigs/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgbackupscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgbackups/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgclusterscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgclusters/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgclusters/statusupdateLow
ClusterRole stackgres-operatorstackgres.io/sgconfigscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgconfigs/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgconfigs/statusupdateLow
ClusterRole stackgres-operatorstackgres.io/sgdbopscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgdbops/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgdistributedlogscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgdistributedlogs/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgdistributedlogs/statusupdateLow
ClusterRole stackgres-operatorstackgres.io/sginstanceprofilescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sginstanceprofiles/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgobjectstoragescreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgobjectstorages/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgpgconfigscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgpgconfigs/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgpoolconfigscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgpoolconfigs/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgscriptscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgscripts/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgshardedbackupscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgshardedbackups/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgshardedclusterscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgshardedclusters/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgshardeddbopscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgshardeddbops/finalizersupdateLow
ClusterRole stackgres-operatorstackgres.io/sgstreamscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorstackgres.io/sgstreams/finalizersupdateLow
ClusterRole stackgres-operatorbatch/statefulsetscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorcore/statefulsetscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorextensions/statefulsetscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorrbac.authorization.k8s.io/statefulsetscreate · delete · deletecollection · get · list · patch · update · watchLow
ClusterRole stackgres-operatorapps/statefulsets/finalizersupdateLow
ClusterRole stackgres-operatorbatch/statefulsets/finalizersupdateLow
ClusterRole stackgres-operatorcore/statefulsets/finalizersupdateLow
ClusterRole stackgres-operatorstorage.k8s.io/storageclassesget · listLow
ClusterRole stackgres-operatorkeda.sh/triggerauthenticationscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorautoscaling.k8s.io/verticalpodautoscalerscreate · delete · get · list · patch · update · watchLow
ClusterRole stackgres-operatorsnapshot.storage.k8s.io/volumesnapshotscreate · get · list · watchLow
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: prometheuses.monitoring.coreos.com)getLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sgbackupconfigs.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sgbackups.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sgclusters.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sgconfigs.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sgdbops.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sgdistributedlogs.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sginstanceprofiles.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sgobjectstorages.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sgpgconfigs.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sgpoolconfigs.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sgscripts.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sgshardedbackups.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sgshardedclusters.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sgshardeddbops.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatorapiextensions.k8s.io/customresourcedefinitions (restricted to: sgstreams.stackgres.io)get · patch · updateLowResourceNameRestricted
ClusterRole stackgres-operatoradmissionregistration.k8s.io/mutatingwebhookconfigurations (restricted to: stackgres-operator)get · patchLowResourceNameRestricted
ClusterRole stackgres-operatoradmissionregistration.k8s.io/validatingwebhookconfigurations (restricted to: stackgres-operator)get · patchLowResourceNameRestricted

⚠️ Potential Abuse (37)

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

📦 Workloads (2)

KindNameContainerImage
Deploymentstackgres-operatorstackgres-operatorquay.io/stackgres/operator:1.16.3
Podstackgres-operator-test-connectionconn-checkquay.io/ongres/kubectl:v1.19.16-build-6.38

🤖 stackgres-operator-init

Namespace: default  |  Automount:

🔑 Permissions (4)

RoleResourceVerbsRiskTags
ClusterRole stackgres-operator-initapiextensions.k8s.io/customresourcedefinitionscreateLow
Role stackgres-operator-initstackgres.io/sgconfigscreateLow
ClusterRole stackgres-operator-initapiextensions.k8s.io/customresourcedefinitions (restricted to: sgconfigs.stackgres.io)get · updateLowResourceNameRestricted
Role stackgres-operator-initstackgres.io/sgconfigs (restricted to: stackgres-operator)delete · get · patch · updateLowResourceNameRestricted

⚠️ Potential Abuse (1)

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

📦 Workloads (2)

KindNameContainerImage
Jobstackgres-operator-install-sgconfiginstall-sgconfigquay.io/ongres/kubectl:v1.19.16-build-6.38
Jobstackgres-operator-remove-sgconfigremove-sgconfigquay.io/ongres/kubectl:v1.19.16-build-6.38