Skip to content

[Alerting] add complete alerting/action privs to apm feature#61159

Merged
pmuellr merged 3 commits intoelastic:masterfrom
pmuellr:alerting/apm-privs
Mar 31, 2020
Merged

[Alerting] add complete alerting/action privs to apm feature#61159
pmuellr merged 3 commits intoelastic:masterfrom
pmuellr:alerting/apm-privs

Conversation

@pmuellr
Copy link
Copy Markdown
Contributor

@pmuellr pmuellr commented Mar 24, 2020

Based on a review comment of a related PR, the apm feature definition
has been changed to supply all the alerting/action privs for both read
and all apm privs.

Based on a [review comment of a related PR][1], the apm feature definition
has been changed to supply all the alerting/action privs for both read
and all apm privs.

[1] elastic#61113 (review)
@pmuellr pmuellr added Feature:Alerting v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.7.0 Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// labels Mar 24, 2020
@pmuellr pmuellr requested a review from a team March 24, 2020 20:31
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

Comment on lines +136 to +139
'actions-read',
'actions-all',
'alerting-read',
'alerting-all'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this means that our read users can create alerts as well, is that intended/necessary?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're recommending solution teams to use an all or nothing approach from the privileges perspective until we have proper support for feature controls (#43994). It opens up weird cases if we allow granular control. A user would just need all in APM, Uptime, Metrics or SIEM to undermine a read level alerting access. We could remove this code for readonly APM users, would that make sense?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, it's fine then AFAIC to use all-or-nothing.

Copy link
Copy Markdown
Contributor

@mikecote mikecote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mikecote
Copy link
Copy Markdown
Contributor

@elasticmachine merge upstream

@pmuellr
Copy link
Copy Markdown
Contributor Author

pmuellr commented Mar 30, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@pmuellr pmuellr merged commit fcefe7d into elastic:master Mar 31, 2020
pmuellr added a commit to pmuellr/kibana that referenced this pull request Mar 31, 2020
…#61159)

Based on a [review comment of a related PR[1], the apm feature definition
has been changed to supply all the alerting/action privs for both read
and all apm privs.

[1] elastic#61113 (review)
pmuellr added a commit to pmuellr/kibana that referenced this pull request Mar 31, 2020
…#61159)

Based on a [review comment of a related PR[1], the apm feature definition
has been changed to supply all the alerting/action privs for both read
and all apm privs.

[1] elastic#61113 (review)
pmuellr added a commit that referenced this pull request Mar 31, 2020
…#61923)

Based on a [review comment of a related PR[1], the apm feature definition
has been changed to supply all the alerting/action privs for both read
and all apm privs.

[1] #61113 (review)
pmuellr added a commit that referenced this pull request Mar 31, 2020
…#61922)

Based on a [review comment of a related PR[1], the apm feature definition
has been changed to supply all the alerting/action privs for both read
and all apm privs.

[1] #61113 (review)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backported Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v7.7.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants