-
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
[APM] A read-only user can create alerts but not select actions #80125
Comments
Pinging @elastic/apm-ui (Team:apm) |
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
@sqren it works for me with a user that has read permission. |
In 7.10, actions are secured separately through Kibana RBAC via the role definition view. See @sqren does the role have the required privileges? |
No, the user does not have access to anything but APM. It therefore surprised me that I could view the flyout and create the alert, but not see or change actions. I would expect that if I cannot see actions I shouldn't be allowed to create the alert. |
@sqren does the user really only have read permissions to APM? Based on my changes, they shouldn’t be able to create the alert at all. It should fail on submit. If they have “all” privileges for APM but not for Actions and Connectors then they should see the behavior you describe (by design). |
This was tested before your changes made it in. Might have changed slightly after.
Ok, so sounds like it still exhibits this slightly surprising behaviour after your change as well. |
Btw. what does that mean? that we intend for them to be able to see the flyout and create the alert but not select an action? I'm probably missing some context but what's the purpose of letting someone create an alert if they can't set actions? |
@sqren yeah I had the same questions. From @gmmorris in Slack:
|
Apparently "Read" permissions to "Actions and Connectors" will allow a user to create an alert and assign it to a pre-configured Action Connector, but not create new Action Connectors. "All" permissions to A&C would allow both. |
Thanks for the added context @jasonrhodes . I think that settles it so I'll close this issue. |
Actions can be potentially leveraged by other Kibana features outside alerting. Hence they are secured separately. |
A user that only has read access to APM can create alerts via the APM app but is not able to specify an action:
This means an alert is created without actions - is this intentional?
Btw. This might be affected by #79896)
The text was updated successfully, but these errors were encountered: