Hi,
I’m unable to restrict the permission indices:admin/aliases/get
to foo-*
.
If I do this, I get an no permissions for [indices:admin/aliases/get]
exception.
sg_role_config:
If I only grant access to some indices, I get the exception:
query_bot:
tenant_permissions: []
cluster_permissions:
- SGS_CLUSTER_COMPOSITE_OPS_RO
- SGS_CLUSTER_MONITOR
- "indices:admin/aliases/get"
index_permissions:
- index_patterns:
- 'foo-*'
allowed_actions:
- SGS_READ
- SGS_SEARCH
- "indices:admin/aliases/get"
If I grant permissions to all indices, it works:
query_bot:
tenant_permissions: []
cluster_permissions:
- SGS_CLUSTER_COMPOSITE_OPS_RO
- SGS_CLUSTER_MONITOR
- "indices:admin/aliases/get"
index_permissions:
- index_patterns:
- 'foo-*'
allowed_actions:
- SGS_READ
- SGS_SEARCH
- index_patterns:
- '*'
allowed_actions:
- "indices:admin/aliases/get"