-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Read-only privilege for Security APIs #89245
Comments
Pinging @elastic/es-security (Team:Security) |
We discussed this today and the team consented that this was a reasonable ask. |
I'm in favor of this additional privilege. A few questions:
|
Yes, that's the plan.
I don't think we will need anything like that.
It's an unfortunate accident that we have both |
Based on what we have currently, I think there is an expectation that all The |
Thanks for the additional context, I agree that |
Hello everyone, We are the one that submitted the initial support ticket that led to this issue. We're glad that you are open to tackle this one as it is important to us to be able to create roles that are with the least privileges. The main idea was indeed to have an identical role to We mentionned in the ticket the ability to create roles with specific actions so the need to have access to a list with the API and their required actions, updated and maintained, but that is for another topic. If we can answer any question that you would have regarding this issue, not code wise of course but product/need wise, we would be happy to answer them. Thank you for your help! |
I have raised #89790 . |
Description
Currently there are only a few privileges that grant access to Security-related APIs.
manage_security
is the main and general one but there are a couple more specilized ones:manage_oidc
,manage_api_key
,manage_token
,manage_service_account
andmanage_user_profile
.These privileges cover APIs that can view but also change the Security configuration, such as add users, roles, role_mappings.
The ask here is to have a viewer-type of privilege for Security-related APIs, in like manner to the
read_slm
,read_ilm
,read_pipeline
andread_ccr
or like themonitor_*
ones (egmonitor_snapshot
) - I preferread_security
.It should grant access to roughly the following APIs:
The text was updated successfully, but these errors were encountered: