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

Remove deprecation comment for protected indices settings #5056

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

shikharj05
Copy link
Contributor

Description

[Describe what this change achieves]

  • Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation) - Maintenance
  • Why these changes are required? The setting is documented here- https://github.com/opensearch-project/security/blob/main/config/opensearch.yml.example#L214-L221
    This can continue as a feature of security plugin to mark certain indices which can be access by specific plugins.security.protected_indices.roles roles
  • What is the old behavior before changes and new behavior after changes?

Issues Resolved

#3190

Is this a backport? If so, please add backport PR # and/or commits #, and remove backport-failed label from the original PR.

Do these changes introduce new permission(s) to be displayed in the static dropdown on the front-end? If so, please open a draft PR in the security dashboards plugin and link the draft PR here

Testing

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

Check List

  • [NA] New functionality includes testing
  • [NA] New functionality has been documented
  • [NA] New Roles/Permissions have a corresponding security dashboards plugin PR
  • [NA] API changes companion pull request created
  • 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: shikharj05 <8859327+shikharj05@users.noreply.github.com>
Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.46%. Comparing base (472f7c7) to head (c2bee9d).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5056      +/-   ##
==========================================
- Coverage   71.51%   71.46%   -0.05%     
==========================================
  Files         336      336              
  Lines       22621    22621              
  Branches     3600     3600              
==========================================
- Hits        16177    16167      -10     
- Misses       4645     4654       +9     
- Partials     1799     1800       +1     
Files with missing lines Coverage Δ
...g/opensearch/security/support/ConfigConstants.java 95.23% <ø> (ø)

... and 7 files with indirect coverage changes

@cwperks cwperks added the backport 2.x backport to 2.x branch label Jan 27, 2025
@cwperks cwperks merged commit fac01ff into opensearch-project:main Jan 27, 2025
43 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 27, 2025
Signed-off-by: shikharj05 <8859327+shikharj05@users.noreply.github.com>
(cherry picked from commit fac01ff)
Signed-off-by: github-actions[bot] <github-actions[bot]@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.x backport to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants