-
Notifications
You must be signed in to change notification settings - Fork 96
Security privileges are missing from Elasticsearch API documentation #4303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The support for this type of information in the specification was originally added per #713 and there's more info in https://github.com/elastic/elasticsearch-specification/blob/main/docs/modeling-guide.md#index_privileges and https://github.com/elastic/elasticsearch-specification/blob/main/docs/modeling-guide.md#cluster_privileges. However, it looks like the "create pipeline" specification is missing that info: https://github.com/elastic/elasticsearch-specification/blob/main/specification/ingest/put_pipeline/PutPipelineRequest.ts IMO this brings to light three things that need to be resolved:
|
Thanks Lisa for taking a look at that! So if I get the problem correctly, there are two main issues to solve:
I think that solving the second one is the most important one as it would render all the security privileges already defined. I guess this maps to your point 2. Which is the best way to proceed? Please let me know in case we can help in some way. cc @elastic/elasticsearch-pm @joesackelastic |
Historically it has been @swallez and his team that have developed the |
Security privileges that are needed to call a specific Elasticsearch API are not documented, even if it looks like they're supported (#717). This information is important to create roles with the right privileges.
For example, looking at the Create pipeline API "old" documentation we can find
but looking at the "new" documentation page, there is no mention of that.
The text was updated successfully, but these errors were encountered: