[BUG] Missing indices:admin/get permission in kibana_server static role
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- yaml
- Domain
- authorization, security
Research direction
Start with src/main/resources/static_config/static_roles.yml at the kibana_server role entry referenced in the issue, and compare its permissions with the reported indices:admin/get failure. Reproduce with OpenSearch Dashboards using the kibana_server mapping, then verify startup succeeds without the security exception and that the role remains appropriately scoped.
Written by the indexing model from the issue text.
Description
What is the bug?
The kibana_server static role should provide all permissions required for OpenSearch Dashboards. However, a user with that role receives:
{"type":"log","@timestamp":"2026-04-21T19:31:41Z","tags":["error","opensearch","data"],"pid":23005,"message":"[security_exception]: no permissions for [indices:admin/get] and User [name=opensearch-dashboards, backend_roles=[], requestedTenant=null]"}
Mapping the user to all_access works fine:
{"type":"log","@timestamp":"2026-04-21T19:31:43Z","tags":["info","savedobjects-service"],"pid":23005,"message":"Creating index .kibana_1."}
{"type":"log","@timestamp":"2026-04-21T19:31:44Z","tags":["info","savedobjects-service"],"pid":23005,"message":"Pointing alias .kibana to .kibana_1."}
{"type":"log","@timestamp":"2026-04-21T19:31:44Z","tags":["info","savedobjects-service"],"pid":23005,"message":"Finished in 550ms."}
How can one reproduce the bug?
Steps to reproduce the behavior:
- Use OpenSearch with security plugin and OpenSearch Dashboards 3.6.0.0
- Map user
opensearch-dashboardsto rolekibana_server - Start Dashboards with that user
- See error
What is the expected behavior?
OpenSearch Dashboard works with kibana_server role permissions.
What is your host/environment?
- OS: Arch Linux
Do you have any additional context?
The named permission is indeed missing from the static role: https://github.com/opensearch-project/security/blob/3.6.0.0/src/main/resources/static_config/static_roles.yml#L79
- Dominant language
- Java
- Stars
- 252
- Forks
- 395
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 74
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from opensearch-project/security
-
bug untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
opensearch-project/security#6524 ·
-
bug triaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
opensearch-project/security#6455 · 2 comments ·
-
bug triaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
opensearch-project/security#6105 · 3 comments ·
-
triaged
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
opensearch-project/security#5075 · 1 comment ·
-
duplicate enhancement untriaged
Difficulty 5/5 Over a week Newbie friendliness 25/100
opensearch-project/security#6544 · 1 comment ·
All issues in opensearch-project/security
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100