Open ThelonKarrde opened 2 years ago
I manage to find a version that seems to be working for me, but anyway it would be nice to have it documented somehow:
{
"description": "Jaeger permissions",
"cluster_permissions": [
"cluster:monitor/main",
"indices:data/write/bulk",
"indices:data/read/msearch",
"indices:admin/template/put"
],
"index_permissions": [
{
"index_patterns": [
"*jaeger-*"
],
"fls": [],
"masked_fields": [],
"allowed_actions": [
"*"
]
},
{
"index_patterns": [
"*"
],
"fls": [],
"masked_fields": [],
"allowed_actions": [
"indices:admin/aliases/get",
"indices_monitor"
]
}
]
}
Requirement - what kind of business use case are you trying to solve?
Technically this is the copy of the request https://github.com/jaegertracing/jaeger/issues/1691 but for Opensearch as a backend.
Since the permission model of OpenSearch is a little different from the Elasticsearch it's hard to use templates from the issue above even that they are helpful.
Problem - what in Jaeger blocks you from solving the requirement?
At the moment I'm getting error:
Despite I do have that permission in the role attached to the user:
Proposal - what do you suggest to solve the problem or improve the existing situation?
It would be nice to have a documentation for OpenSearch with which sets of permission it requires based on opensearch model: https://opensearch.org/docs/latest/security-plugin/access-control/permissions/
Any open questions to address