Skip to content

Conversation

@peternied
Copy link
Member

@peternied peternied commented Nov 2, 2022

Description

Adds spotbugs [1] to detect internalization before they are added to the codebase, also fixed several encoding bugs that impact windows users.

[1] https://spotbugs.readthedocs.io/en/stable/index.html

Closes #2194

Signed-off-by: Peter Nied petern@amazon.com
(cherry picked from commit a040b86)

Check List

  • New functionality includes testing
  • New functionality has been documented
  • 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.

Adds spotbugs [1] to detect internalization before they are added to the codebase, also fixed several encoding bugs that impact windows users.

[1] https://spotbugs.readthedocs.io/en/stable/index.html

Closes #2194

Signed-off-by: Peter Nied <petern@amazon.com>
(cherry picked from commit a040b86)
@peternied peternied requested a review from a team November 2, 2022 17:43
@peternied peternied added the v2.4.0 'Issues and PRs related to version v2.4.0' label Nov 2, 2022
@peternied peternied mentioned this pull request Nov 2, 2022
3 tasks
@codecov-commenter
Copy link

codecov-commenter commented Nov 2, 2022

Codecov Report

Merging #2217 (e8cd5f3) into 2.x (920fdf0) will decrease coverage by 0.06%.
The diff coverage is 77.77%.

@@             Coverage Diff              @@
##                2.x    #2217      +/-   ##
============================================
- Coverage     61.06%   60.99%   -0.07%     
+ Complexity     3242     3238       -4     
============================================
  Files           257      257              
  Lines         18089    18089              
  Branches       3225     3225              
============================================
- Hits          11046    11034      -12     
- Misses         5474     5487      +13     
+ Partials       1569     1568       -1     
Impacted Files Coverage Δ
...dlic/auth/http/saml/AuthTokenProcessorHandler.java 47.28% <0.00%> (ø)
...a/org/opensearch/security/tools/SecurityAdmin.java 36.00% <0.00%> (ø)
...earch/security/auditlog/impl/AbstractAuditLog.java 73.75% <100.00%> (ø)
...ty/configuration/ConfigurationLoaderSecurity7.java 66.39% <100.00%> (ø)
...ensearch/security/ssl/DefaultSecurityKeyStore.java 67.63% <100.00%> (ø)
.../org/opensearch/security/support/ConfigHelper.java 86.00% <100.00%> (ø)
...t/keybyoidc/AuthenticatorUnavailableException.java 0.00% <0.00%> (-20.00%) ⬇️
.../auth/http/jwt/keybyoidc/SelfRefreshingKeySet.java 59.85% <0.00%> (-3.53%) ⬇️
...ic/auth/http/jwt/AbstractHTTPJwtAuthenticator.java 55.81% <0.00%> (-3.49%) ⬇️
...ecurity/configuration/ConfigurationRepository.java 72.13% <0.00%> (-2.19%) ⬇️
... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@cwperks cwperks merged commit 18cd908 into 2.x Nov 2, 2022
@cwperks cwperks deleted the backport/backport-2206-to-2.x branch November 2, 2022 20:08
wuychn pushed a commit to ochprince/security that referenced this pull request Mar 16, 2023
…ject#2217)

Adds spotbugs [1] to detect internalization before they are added to the codebase, also fixed several encoding bugs that impact windows users.

[1] https://spotbugs.readthedocs.io/en/stable/index.html

Closes opensearch-project#2194

Signed-off-by: Peter Nied <petern@amazon.com>
(cherry picked from commit a040b86)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2.4.0 'Issues and PRs related to version v2.4.0'

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants