I defined a customer role in roles.yml such as:
my_user_role:
cluster: [ 'all' ]
indices:
- names: [ '' ]
privileges: [ 'all' ]
applications: ['']
run_as: ['*']
After starting elasticsearch and logged in kibana to look the roles:
GET /_security/role/my_user_role
I found the run_as and applications are empty arrays , no matter how I put values inside.
Why do the values not shown in privileges such as applications and run_as?
The out put from GET returns :
{
"my_user_role" : {
"cluster" : [
"all"
],
"indices" : [
{
"names" : [
"*"
],
"privileges" : [
"read"
],
"allow_restricted_indices" : false
}
],
"applications" : [ ],
"run_as" : [ ],
"metadata" : { },
"transient_metadata" : {
"enabled" : true
}
}
}
Thank you.
John