You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that we allow to interact with RabbitmqCluster objects in any namespace in the cluster. I'm concerned that we might be allowing a human user Cody to create RabbitMQ primitives in a RabbitMQ cluster they might not have access to. For example, Cody has access only to namespace cody-dev and they create a User kind which references a RabbitmqCluster with name rabbit in namespace foobar. The topology operator will create the user primitive in RabbitMQ, granting Cody credentials to access said RabbitMQ instance.
My concern is that the operator might allow Cody to access RabbitMQ instances they are not supposed or intended to.
Should we remove the namespace aspect, effectively having a LocalObjectReference-like object?
The text was updated successfully, but these errors were encountered:
Looking at the
RabbitmqClusterReference
property inUser
kind:messaging-topology-operator/api/v1alpha1/user_types.go
Lines 18 to 33 in 06637f5
messaging-topology-operator/api/v1alpha1/queue_types.go
Lines 44 to 49 in 06637f5
I noticed that we allow to interact with
RabbitmqCluster
objects in any namespace in the cluster. I'm concerned that we might be allowing a human userCody
to create RabbitMQ primitives in a RabbitMQ cluster they might not have access to. For example,Cody
has access only to namespacecody-dev
and they create aUser
kind which references aRabbitmqCluster
with namerabbit
in namespacefoobar
. The topology operator will create the user primitive in RabbitMQ, grantingCody
credentials to access said RabbitMQ instance.My concern is that the operator might allow
Cody
to access RabbitMQ instances they are not supposed or intended to.Should we remove the
namespace
aspect, effectively having aLocalObjectReference
-like object?The text was updated successfully, but these errors were encountered: