Audit Log Filter audit_log_include_databases doesn't work properly
General
Escalation
General
Escalation
Description
Environment
None
AFFECTED CS IDs
#276215
Attachments
1
Smart Checklist
Activity
Show:

Julia Vural March 4, 2025 at 9:11 PM
It appears that this issue is no longer being worked on, so we are closing it for housekeeping purposes. If you believe the issue still exists, please open a new ticket after confirming it's present in the latest release.
Won't Do
Details
Details
Assignee
Unassigned
UnassignedReporter

Labels
Affects versions
Priority
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created July 2, 2020 at 10:59 PM
Updated March 4, 2025 at 9:11 PM
Resolved March 4, 2025 at 9:11 PM
The audit_log_include_databases filter is logging some particular command classes such as error, set_option, show_tables, show_databases, etc from other databases not presented in the filter. Most commonly used DML/SELECT queries are correctly skipped when using this filter.
Even though it's possible to use the audit_log_exclude_commands filter to exclude most command classes mentioned before, the 'error' class still is logged. Please find attached the test case for this issue with PS 5.7.30.