-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security-in-core] First-class route authorization #184674
Comments
Pinging @elastic/kibana-core (Team:Core) |
Pinging @elastic/kibana-security (Team:Security) |
I'm strongly in favor of this proposal, it would be way better than the current (hacky) way we're doing this with tags in numerous ways, and would be a great step for our security-in-core initiative.
I'm not sure OAS specs have anything directly related to authorization. cc @jloleysens maybe you know better? |
It is possible to represent some amount of security information at the route (or "operation") level (docs). But I'm guessing we want to capture some information about "you need roles Which is ES/Kibana specific info. I think this could be auto-appended to route description (under |
Yeah, my gut feeling was that we would only be able to append something to the description, thanks for confirming. |
…equiredPrivileges` for the API auth control (#198312) ## Summary Adds support for the new API routes security authorization properties ([docs](https://docs.elastic.dev/kibana-dev-docs/key-concepts/security-api-authorization)) to the `ProductFeaturesService` API authorization control Closes: #194445 Related: #184674 --------- Co-authored-by: Elastic Machine <[email protected]>
…equiredPrivileges` for the API auth control (elastic#198312) ## Summary Adds support for the new API routes security authorization properties ([docs](https://docs.elastic.dev/kibana-dev-docs/key-concepts/security-api-authorization)) to the `ProductFeaturesService` API authorization control Closes: elastic#194445 Related: elastic#184674 --------- Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit 42e978b)
…equiredPrivileges` for the API auth control (elastic#198312) ## Summary Adds support for the new API routes security authorization properties ([docs](https://docs.elastic.dev/kibana-dev-docs/key-concepts/security-api-authorization)) to the `ProductFeaturesService` API authorization control Closes: elastic#194445 Related: elastic#184674 --------- Co-authored-by: Elastic Machine <[email protected]>
Our route authorization feature is not very discoverable today. Engineers have to know:
access:
tags)I'd like to propose adding first-class support for route authorization, by exposing an additional set of properties within the route definition. These properties should:
In addition to the security benefits, I wonder if there is an opportunity to expose this information via OAS as well. Having our specification describe the required privileges would be a great DX win, in my opinion.
The text was updated successfully, but these errors were encountered: