I am trying to set up ACL for host using custom JulieRoles (suggested by issue #519),
Current ACLs for resource ResourcePattern(resourceType=TOPIC, name=test-topic, patternType=LITERAL):
(principal=User:ANONYMOUS, host=100.64.1.2, operation=WRITE, permissionType=ALLOW)
In the roles.yaml , i set up the custom role, we are using confluent platform.
I am trying to set up ACL for host using custom JulieRoles (suggested by issue #519), Current ACLs for resource
ResourcePattern(resourceType=TOPIC, name=test-topic, patternType=LITERAL)
: (principal=User:ANONYMOUS, host=100.64.1.2, operation=WRITE, permissionType=ALLOW)In the roles.yaml , i set up the custom role, we are using confluent platform.
roles:
host: "100.64.1.2"
role: "DeveloperWrite"
Assign the custom role in topology.yaml
projects:
But in the julie ACL execution log and it has wildcard value "host" : "". { "Operation" : "com.purbon.kafka.topology.actions.access.CreateBindings", "Bindings" : [ { "resourceType" : "TOPIC", "resourceName" : "test-topic", "host" : "", "operation" : "DeveloperWrite", "principal" : "User:ANONYMOUS", "pattern" : "LITERAL", "scope" : { "clusters" : { "kafka-cluster" : "***" }, "resources" : [ { "name" : "test-topic", "patternType" : "LITERAL", "resourceType" : "Topic" } ] } } ] }
this is in the ACL list in the end of the julieOps execution log 'TOPIC', 'test-topic', '*', 'DeveloperWrite', 'User:ANONYMOUS', 'LITERAL'
Is it possible to set up ACL for Hosts? thanks.