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

Sessions not being audited when connecting through some IDEs #649

Open
vicmarbev opened this issue Jan 20, 2025 · 3 comments
Open

Sessions not being audited when connecting through some IDEs #649

vicmarbev opened this issue Jan 20, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@vicmarbev
Copy link

Versions:

  • webapp version: 1.35.9
  • gateway version: 1.31.28

When connecting through pgcli and pgadmin the session audit is being stored properly:

Image

But not when connecting through dbeaver:

Image

Have you run into this issue? Is it something configuration-related?

@sandromello
Copy link
Contributor

Hey @vicmarbev ,

Thank you for reporting this issue. I'm currently investigating it and will get back to you as soon as I have an update.

@sandromello
Copy link
Contributor

sandromello commented Jan 28, 2025

Hey @vicmarbev .
This issue occurs when your client is not using the "simple query" protocol. We plan to add support in the near future for auditing the "extended query" protocol.

In DBeaver IDE for example, you need to change the option preferQueryMode to simple.

We're updating our documentation to add this information.
I'll keep this issue open until we have support to this type of protocol

@sandromello sandromello added the bug Something isn't working label Jan 28, 2025
@vicmarbev
Copy link
Author

I can confirm that setting the preferQueryMode to simple in the driver makes it so the queries are audited. Thanks for the information!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants