Skip to content
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

Add default roles for Notifications plugin #1847

Merged
merged 1 commit into from
May 18, 2022

Conversation

qreshi
Copy link
Contributor

@qreshi qreshi commented May 17, 2022

Signed-off-by: Mohammad Qureshi 47198598+qreshi@users.noreply.github.com

Description

[Describe what this change achieves]
Adding new full access and read-only roles for the Notifications plugin launching in 2.0.

There is also a "cluster:admin/opensearch/notifications/feature/publish" permission which is for the legacy Notification publish which only Alerting and ISM use as a fallback to their legacy behavior. This permission has been added to the Alerting and IM full access roles to ensure no disruption in functionality in the fallback case.

Issues Resolved

[List any issues this PR will resolve]

Is this a backport? If so, please add backport PR # and/or commits #
This PR isn't a backport but it should be backported to the 2.0 branch, I don't have permissions to add the label myself to trigger the workflow

Testing

[Please provide details of testing done: unit testing, integration testing and manual testing]

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com>
@qreshi qreshi requested a review from a team May 17, 2022 22:42
@codecov-commenter
Copy link

codecov-commenter commented May 17, 2022

Codecov Report

Merging #1847 (c0d76d8) into main (dce5826) will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #1847      +/-   ##
============================================
+ Coverage     60.86%   60.87%   +0.01%     
  Complexity     3213     3213              
============================================
  Files           256      256              
  Lines         18006    18006              
  Branches       3209     3209              
============================================
+ Hits          10959    10961       +2     
+ Misses         5467     5466       -1     
+ Partials       1580     1579       -1     
Impacted Files Coverage Δ
...security/auditlog/sink/ExternalOpenSearchSink.java 61.72% <0.00%> (+2.46%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dce5826...c0d76d8. Read the comment docs.

@cliu123 cliu123 added the backport 2.0 backport to 2.0 branch label May 17, 2022
@lukkoor lukkoor self-requested a review May 18, 2022 00:38
@cliu123 cliu123 merged commit 25eda95 into opensearch-project:main May 18, 2022
opensearch-trigger-bot bot pushed a commit that referenced this pull request May 18, 2022
Signed-off-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com>
(cherry picked from commit 25eda95)
davidlago pushed a commit that referenced this pull request May 18, 2022
Signed-off-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com>
(cherry picked from commit 25eda95)

Co-authored-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com>
wuychn pushed a commit to ochprince/security that referenced this pull request Mar 16, 2023
Signed-off-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.0 backport to 2.0 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants