Update logic in FIPS bootstrap check - #21415
Conversation
…project#21291) Bumps com.google.protobuf from 0.9.6 to 0.10.0. --- updated-dependencies: - dependency-name: com.google.protobuf dependency-version: 0.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sandesh Kumar <sandeshkr419@gmail.com> Co-authored-by: Craig Perkins <cwperx@amazon.com> Signed-off-by: Terry Quigley <terry.quigley@sas.com>
Signed-off-by: Terry Quigley <terry.quigley@sas.com>
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit 733f46d.
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. |
Signed-off-by: Terry Quigley <terry.quigley@sas.com>
|
@terryquigleysas thank you for this! I created #21366 yesterday, but missed this area. |
Hey @cwperks , yes, I've only just seen your change from yesterday and was about to contact you with this accompanying, proposed PR but you beat me to it :-) |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
❌ Gradle check result for 733f46d: null 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? |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #21415 +/- ##
============================================
- Coverage 73.40% 73.34% -0.07%
+ Complexity 74262 74243 -19
============================================
Files 5961 5961
Lines 337610 337611 +1
Branches 48704 48704
============================================
- Hits 247833 247619 -214
- Misses 69954 70173 +219
+ Partials 19823 19819 -4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
* Update logic in FIPS bootstrap check Signed-off-by: Terry Quigley <terry.quigley@sas.com>
Description
Currently, Bootstrap.java looks for the system prop (org.bouncycastle.fips.approved_only) to determine if FIPS is enforced at runtime. This system prop is specific to the bouncycastle library and implicitly set here in opensearch-env. This PR makes configuring FIPS more intentional by the cluster operator by looking for an OpenSearch env var instead of the bouncycastle system prop to determine if FIPS should be enforced at runtime.
Accompanies #21366
Related Issues
Resolves #19702
Related to:
#21366
#20738
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.