-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[DRAFT] Add a new sandbox module to provide system index protection from the core #16695
base: main
Are you sure you want to change the base?
[DRAFT] Add a new sandbox module to provide system index protection from the core #16695
Conversation
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
❌ Gradle check result for dc75724: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Craig Perkins <[email protected]>
❌ Gradle check result for fb2cbb0: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for fb2cbb0: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Craig Perkins <[email protected]>
❌ Gradle check result for d48afcf: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
❌ Gradle check result for 83896cd: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Craig Perkins <[email protected]>
❌ Gradle check result for 0ef49bf: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for c25f1d7: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❕ Gradle check result for c25f1d7: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #16695 +/- ##
============================================
- Coverage 72.12% 71.85% -0.27%
+ Complexity 65230 65168 -62
============================================
Files 5318 5326 +8
Lines 303940 304646 +706
Branches 43976 44156 +180
============================================
- Hits 219207 218901 -306
- Misses 66803 67800 +997
- Partials 17930 17945 +15 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Craig Perkins <[email protected]>
This PR is stalled because it has been open for 30 days with no activity. |
Description
Opening this PR to demonstrate the challenges of porting system index protection to the core repo. System index protection is provided by the security plugin and protects system indices in the following 2 ways:
This PR provides a crude implementation of system index protection in the core for #1. This PR does not include a core analog of the admin certificate so it would only permit programmatic access to system indices.
One of the biggest challenges implementing system index protection as an Action Filter, is resolving a generic ActionRequest to a list of concrete indices. This PR borrows the IndexResolverReplacer from the security plugin to resolve a generic ActionRequest to a resolved request that contains a list of concrete indices that the request resolves to.
Related Issues
Related to discussion in this thread: #15778 (comment)
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.