Repository navigation
Add plugin system indices to the default restorable list - #6691
DarshitChanpura merged 3 commits into
Conversation
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit 4e633d5. ⛔ Hard block: Issues at High severity or above will block this PR from merging.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
PR Reviewer Guide 🔍(Review updated until commit 4e633d5)Here are some key observations to aid the review process:
|
|
Persistent review updated to latest commit 5823d21 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6691 +/- ##
==========================================
- Coverage 77.36% 77.34% -0.03%
==========================================
Files 487 487
Lines 32331 32331
Branches 4886 4886
==========================================
- Hits 25012 25005 -7
- Misses 5090 5098 +8
+ Partials 2229 2228 -1
🚀 New features to boost your workflow:
|
|
Persistent review updated to latest commit e03569d |
Signed-off-by: Sharath Kanaka <sharatcr@amazon.com>
Signed-off-by: Sharath Kanaka <sharatcr@amazon.com>
Signed-off-by: Sharath Kanaka <sharatcr@amazon.com>
e03569d to
4e633d5
Compare
|
Persistent review updated to latest commit 4e633d5 |
3e461cc
into
opensearch-project:main
Description
Adds system indices that restore correctly onto a new cluster to the default of
plugins.security.system_indices.restore.indices, so a REST admin can restore them without the operator configuring the list. Each one is covered by restore tests in its plugin's repo (same OpenSearch version)..opendistro-alerting-config,.opendistro-alerting-alerts,.opendistro-alerting-alert-history-*.opendistro-ism-config.ltrstore*This list is a starting point. Longer term, plugins could declare restore eligibility on their own system index descriptors, so adding a plugin would not need a change in the security plugin.
Issues Resolved
Related to #6553
Testing
SystemIndexRestoreEligibilityHelperTestchecks each default entry is restorable and that other system indices are notSystemIndexRestoreDefaultIntTests(legacy, legacy withsystem_indexpermission, V4): with the default list a REST admin restores a listed index (200) and is denied a system index outside it (403)Check List
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.