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

Stop leaking ES error info. #4153

Merged
merged 3 commits into from
Jul 19, 2024
Merged

Conversation

elland
Copy link
Contributor

@elland elland commented Jul 15, 2024

https://wearezeta.atlassian.net/browse/WPB-6865

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@echoes-hq echoes-hq bot added the echoes: technical-roadmap/security Security related changes or defects label Jul 15, 2024
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Jul 15, 2024
@battermann battermann force-pushed the wpb-6865/leaking-es-error-info branch from 6bdbb3d to 42769ec Compare July 18, 2024 15:01
@battermann battermann marked this pull request as ready for review July 18, 2024 15:04
@battermann
Copy link
Contributor

I have manually reproduced and tested that the change works.

This implementation removes any exception message from the errors returned from wire-server when there is an internal error, not only the one mentioned in the ticket. These internal errors are always logged.

@battermann battermann merged commit 4787839 into develop Jul 19, 2024
10 checks passed
@battermann battermann deleted the wpb-6865/leaking-es-error-info branch July 19, 2024 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: technical-roadmap/security Security related changes or defects ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants