Skip to content

[Backport 2.x] Filter datasource encryption master key from cluster settings GET API - #1828

Merged
vamsimanohar merged 2 commits into
2.xfrom
backport/backport-1825-to-2.x
Jul 11, 2023
Merged

vamsimanohar merged 2 commits into
2.xfrom
backport/backport-1825-to-2.x

Conversation

@opensearch-trigger-bot

Copy link
Copy Markdown
Contributor

Backport a8ecd2f from #1825

Signed-off-by: Vamsi Manohar <[email protected]>
(cherry picked from commit a8ecd2f)
YANG-DB
YANG-DB previously approved these changes Jul 11, 2023
@codecov

codecov Bot commented Jul 11, 2023 •

Copy link
Copy Markdown

Codecov Report

Merging #1828 (78773fc) into 2.x (2144ddd) will increase coverage by 0.08%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                2.x    #1828      +/-   ##
============================================
+ Coverage     97.35%   97.44%   +0.08%     
- Complexity     4443     4622     +179     
============================================
  Files           388      388              
  Lines         10998    11385     +387     
  Branches        784      837      +53     
============================================
+ Hits          10707    11094     +387     
  Misses          284      284              
  Partials          7        7              
Flag Coverage Δ
sql-engine 97.44% <ø> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...rch/sql/opensearch/setting/OpenSearchSettings.java 100.00% <ø> (ø)

... and 7 files with indirect coverage changes

@vamsimanohar
vamsimanohar merged commit 98ca9f8 into 2.x Jul 11, 2023
@github-actions
github-actions Bot deleted the backport/backport-1825-to-2.x branch July 11, 2023 16:34
@opensearch-trigger-bot

Copy link
Copy Markdown
Contributor Author

The backport to 2.9 failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.9 2.9
# Navigate to the new working tree
pushd ../.worktrees/backport-2.9
# Create a new branch
git switch --create backport/backport-1828-to-2.9
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 98ca9f861d81407b1df1840a64f6f4c6f8cd3775
# Push it to GitHub
git push --set-upstream origin backport/backport-1828-to-2.9
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.9

Then, create a pull request where the base branch is 2.9 and the compare/head branch is backport/backport-1828-to-2.9.

vamsimanohar added a commit that referenced this pull request Jul 11, 2023
…ettings GET API (#1828)

* Restrict master key reading from cluster settings API (#1825)

Signed-off-by: Vamsi Manohar <[email protected]>
(cherry picked from commit a8ecd2f)

* Fxied DatasourceClusterSettingsIT for 2.x

Signed-off-by: Vamsi Manohar <[email protected]>

---------

Signed-off-by: Vamsi Manohar <[email protected]>
Co-authored-by: Vamsi Manohar <[email protected]>
(cherry picked from commit 98ca9f8)
vamsimanohar added a commit that referenced this pull request Jul 11, 2023
…ettings GET API (#1828) (#1844)

* Restrict master key reading from cluster settings API (#1825)

Signed-off-by: Vamsi Manohar <[email protected]>
(cherry picked from commit a8ecd2f)

* Fxied DatasourceClusterSettingsIT for 2.x

Signed-off-by: Vamsi Manohar <[email protected]>

---------

Signed-off-by: Vamsi Manohar <[email protected]>
Co-authored-by: Vamsi Manohar <[email protected]>
(cherry picked from commit 98ca9f8)

Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants