Skip to content
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

[Backport 2.x] Prevent raw request body as output in serialization error messages #3279

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 9fb106c from #3205.

…3205)

Excluded sensitive info for java stacktrace:
- YAML object mapper as well
- NonValidatingObjectMapper
- defaulOmittingObjectMapper

More details see
https://github.com/FasterXML/jackson-core/wiki/JsonParser-Features#misc-other

Signed-off-by: Andrey Pleskach <[email protected]>
(cherry picked from commit 9fb106c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Aug 31, 2023

Codecov Report

Merging #3279 (53e13f6) into 2.x (d1590c6) will increase coverage by 0.04%.
Report is 1 commits behind head on 2.x.
The diff coverage is 75.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##                2.x    #3279      +/-   ##
============================================
+ Coverage     62.33%   62.38%   +0.04%     
- Complexity     3293     3296       +3     
============================================
  Files           252      252              
  Lines         19457    19459       +2     
  Branches       3308     3308              
============================================
+ Hits          12129    12139      +10     
+ Misses         5708     5702       -6     
+ Partials       1620     1618       -2     
Files Changed Coverage Δ
...opensearch/security/NonValidatingObjectMapper.java 52.94% <50.00%> (+5.88%) ⬆️
...a/org/opensearch/security/DefaultObjectMapper.java 65.43% <100.00%> (+0.87%) ⬆️

... and 3 files with indirect coverage changes

@peternied peternied merged commit d8a30d4 into 2.x Sep 1, 2023
@peternied peternied deleted the backport/backport-3205-to-2.x branch September 1, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants