Thanks for the response @Mantas.
I only have access through “Dev Tools”, so my commands are slightly different to yours, but here is the output you asked for and I’ve just obfuscated some of the names used.
GET _opendistro/_security/api/roles/dashboard_only_role
{
“dashboard_only_role” : {
“reserved” : false,
“hidden” : false,
“cluster_permissions” : [
“cluster_composite_ops_ro”
],
“index_permissions” : [
{
“index_patterns” : [
“.kibana*”,
“.opensearch_dashboards*”,
“uat-*”
],
“fls” : ,
“masked_fields” : ,
“allowed_actions” : [
“read”
]
}
],
“tenant_permissions” : [
{
“tenant_patterns” : [
“global_tenant”
],
“allowed_actions” : [
“kibana_dashboard_only”
]
}
],
“static” : false
}
}
GET _opendistro/_security/api/rolesmapping
{
“internal_team_ro” : {
“hosts” : ,
“users” : ,
“reserved” : false,
“hidden” : false,
“backend_roles” : [
“CN=ELK-internal-team RO,OU=Groups,OU=company-abbrev,DC=internal-team,DC=co,DC=uk”
],
“and_backend_roles” :
},
“logstash” : {
“hosts” : ,
“users” : ,
“reserved” : false,
“hidden” : false,
“backend_roles” : [
“logstash”
],
“and_backend_roles” :
},
“internal_team” : {
“hosts” : ,
“users” : ,
“reserved” : false,
“hidden” : false,
“backend_roles” : [
“CN=internal-team,OU=Groups,OU=company-abbrev,DC=internal-team,DC=co,DC=uk”
],
“and_backend_roles” :
},
“internal_team” : {
“hosts” : ,
“users” : ,
“reserved” : false,
“hidden” : false,
“backend_roles” : [
“CN=internal-team,OU=Groups,OU=company-abbrev,DC=internal-team,DC=co,DC=uk”
],
“and_backend_roles” :
},
“kibana_user” : {
“hosts” : ,
“users” : ,
“reserved” : false,
“hidden” : false,
“backend_roles” : [
“CN=ELK-internal-team RO,OU=Groups,OU=company-abbrev,DC=internal-team,DC=co,DC=uk”,
“CN=ELK-internal-team Admin,OU=Groups,OU=company-abbrev,DC=internal-team,DC=co,DC=uk”
],
“and_backend_roles” :
},
“security_rest_api_access” : {
“hosts” : ,
“users” : ,
“reserved” : false,
“hidden” : false,
“backend_roles” : [
“CN=internal-team,OU=Groups,OU=company-abbrev,DC=internal-team,DC=co,DC=uk”,
“CN=internal-team,OU=Groups,OU=company-abbrev,DC=internal-team,DC=co,DC=uk”,
“CN=ELK-internal-team Admin,OU=Groups,OU=company-abbrev,DC=internal-team,DC=co,DC=uk”
],
“and_backend_roles” :
},
“all_access” : {
“hosts” : ,
“users” : ,
“reserved” : true,
“hidden” : false,
“backend_roles” : [
“admin”
],
“and_backend_roles” : ,
“description” : “Maps admin to all_access”
},
“internal_team_admin” : {
“hosts” : ,
“users” : ,
“reserved” : false,
“hidden” : false,
“backend_roles” : [
“CN=ELK-internal-team Admin,OU=Groups,OU=company-abbrev,DC=internal-team,DC=co,DC=uk”
],
“and_backend_roles” :
},
“kibana_server_additional” : {
“hosts” : ,
“users” : [
“kibana”
],
“reserved” : false,
“hidden” : false,
“backend_roles” : ,
“and_backend_roles” :
},
“kibana_server” : {
“hosts” : ,
“users” : [
“kibana”
],
“reserved” : true,
“hidden” : false,
“backend_roles” : ,
“and_backend_roles” :
}
}