Skip to content

Sanitize sql statements that may contain unquoted passwords#15607

Merged
trask merged 2 commits intoopen-telemetry:mainfrom
laurit:sql-password
Dec 12, 2025
Merged

Sanitize sql statements that may contain unquoted passwords#15607
trask merged 2 commits intoopen-telemetry:mainfrom
laurit:sql-password

Conversation

@laurit
Copy link
Copy Markdown
Contributor

@laurit laurit commented Dec 11, 2025

An alternative for #15595
Instead of trying to remove just the password sanitize everything for CREATE USER, ALTER USER and CONNECT statements.

@laurit laurit requested a review from a team as a code owner December 11, 2025 11:57
@laurit laurit added this to the v2.23.0 milestone Dec 11, 2025
Copy link
Copy Markdown
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread instrumentation-api-incubator/src/main/jflex/SqlSanitizer.jflex
@trask trask merged commit 81adafc into open-telemetry:main Dec 12, 2025
85 checks passed
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