Skip to content

feat(sql): add lexer and obfuscator#1299

Open
giortzisg wants to merge 1 commit into
feat/sql-instrumentationfrom
feat/sql-lexer
Open

feat(sql): add lexer and obfuscator#1299
giortzisg wants to merge 1 commit into
feat/sql-instrumentationfrom
feat/sql-lexer

Conversation

@giortzisg
Copy link
Copy Markdown
Contributor

Description

This PR adds the sql lexer and obfuscator while also scrapping non prepared statements to not include PII.

Issues

Changelog Entry Instructions

To add a custom changelog entry, uncomment the section above. Supports:

  • Single entry: just write text
  • Multiple entries: use bullet points
  • Nested bullets: indent 4+ spaces

For more details: custom changelog entries

Reminders

@giortzisg giortzisg requested review from Litarnus and sl0thentr0py May 5, 2026 09:42
@giortzisg giortzisg self-assigned this May 5, 2026
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 00412e2. Configure here.

Comment thread sql/options.go Outdated
Comment thread sql/internal/obfuscator/obfuscator.go Outdated
@giortzisg giortzisg force-pushed the feat/sql-instrumentation branch from 015d4b2 to 77b8b57 Compare May 19, 2026 12:15
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