Attempts to create alias and add index fails with below two variations of authorization blocks on 1.23.0 and 1.24.0 (previous known working version is 1.18.10). If the indices value is changed from “infratest*” to “*” aliases work. To be clear, the alias created is same starting sequence as allowed indices in authorization block.
- name: "CEDP Infra Test producer"
type: allow
ldap_auth:
name: "ldap2"
groups: ["coedl_INFRATEST_es_producer"]
actions: ["indices:data/*","indices:admin/*","indices:admin/aliases","indices:admin/aliases/exists","indices:admin/aliases/get","indices:monitor/*","cluster:monitor/*","cluster:admin/snapshot/create","cluster:admin/snapshot/delete","cluster:admin/snapshot/get","cluster:admin/snapshot/restore","cluster:admin/snapshot/status"]
indices: ["infratest*"]
repositories: ["infratest"]
- name: "CEDP Infra Test producer"
type: allow
ldap_auth:
name: "ldap2"
groups: ["coedl_INFRATEST_es_producer"]
actions: ["indices:data/*","indices:admin/*","indices:monitor/*","cluster:monitor/*","cluster:admin/snapshot/create","cluster:admin/snapshot/delete","cluster:admin/snapshot/get","cluster:admin/snapshot/restore","cluster:admin/snapshot/status"]
indices: ["infratest*"]
repositories: ["infratest"]