You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add privileges needed for each API call to our openapi specs. We currently don't have it documented anywhere and it can be only retrieved by looking at the code.
Example: GET /epm/packages can be called with read privileges - let's have this info in the swagger so it's easy for customer to know what type of role they need to setup.
@criamico - Great idea. This seems like a solid quality improvement, especially considering the docs team is exploring better solutions for hosting various OpenAPI specs.
One thing to consider though is that we possibly have to get rid of our current openapi spec soon in favor of the code driven OAS generation that the kibana core team is working on. So we might want to wait for that before spending too much time on this.
Related issue: #180056
Add privileges needed for each API call to our openapi specs. We currently don't have it documented anywhere and it can be only retrieved by looking at the code.
Example:
GET /epm/packages
can be called withread
privileges - let's have this info in the swagger so it's easy for customer to know what type of role they need to setup.https://github.com/elastic/kibana/blob/bf5f8cb480cd842e6c4f630da923bbae68ae251e/x-pack/plugins/fleet/server/routes/epm/index.ts#L127C12-L127C12
kibana/x-pack/plugins/fleet/common/authz.ts
Line 92 in bf5f8cb
The text was updated successfully, but these errors were encountered: