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

Health check can leak credentials #19

Open
JanDoerrenhaus opened this issue Jan 26, 2023 · 0 comments
Open

Health check can leak credentials #19

JanDoerrenhaus opened this issue Jan 26, 2023 · 0 comments

Comments

@JanDoerrenhaus
Copy link

As the examples themselves state, it is possible (and may sometimes be the only solution in certain deployment scenarios) to include the connection credentials to the database in the connection URL.

However, the DataSourceHealthCheck always includes the connection URL as "data" in the health check response. This means that anyone able to access the health check endpoint can read your credentials.

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

No branches or pull requests

1 participant