LP #1432927: Add support for new upstream variables in audit log plugin
Description
Environment
relates to
Smart Checklist
Activity

Oleksandr Kachan October 12, 2022 at 11:37 AM
We are now working on our new Audit Log plugin which includes everything mentioned here. No need to keep this ticket now.

lpjirasync January 23, 2018 at 3:58 PM
**Comment from Launchpad by: Ryan Bellows on: 28-06-2016 18:42:30
Would also echo comments about pulling this in from upstream, this would be a great feature for the Percona audit_log plugin. As-is, it's not much use to us.

lpjirasync January 23, 2018 at 3:58 PM
**Comment from Launchpad by: monty solomon on: 08-06-2016 18:36:44
Upstream 5.7.13 adds filtering to the audit log.
Audit Log Filtering
https://dev.mysql.com/doc/refman/5.7/en/audit-log-filtering.html
Audit Log Notes
https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-13.html
The audit_log plugin that forms the basis for MySQL Enterprise Audit now supports fine-grained filtering of events. This enables a reduction in the number of log entries written to the audit log file, which increases overall performance due to fewer write operations during log recording. It also simplifies subsequent audit log processing in terms of readability and processing time.
Fine-grained audit log filtering is rule based, implemented using tables that store filter definitions and a set of user-defined functions (UDFs) that enable filter manipulation. To simplify installing the tables and UDFs along with the audit_log plugin, an installation script is now provided. For more information, see Installing or Uninstalling MySQL Enterprise Audit, and Audit Log Filtering.
By default, audit log filtering now logs no auditable events for any users. This differs from the pre-MySQL 5.7.13 legacy audit log, which logs all auditable events for all users. To produce log-everything behavior, see the installation instructions.

lpjirasync January 23, 2018 at 3:58 PM
**Comment from Launchpad by: rcrowley on: 15-04-2016 22:04:23
We'd desperately like audit_log_exclude_accounts and audit_log_include_accounts to be implemented in Percona Server. The audit plugin as-is is sadly pretty useless to online applications.

lpjirasync January 23, 2018 at 3:58 PM
**Comment from Launchpad by: Laurynas Biveinis on: 05-04-2016 06:57:03
What would be the PFS instruments of interest?
Details
Details
Assignee

Reporter

Labels
Time tracking
Priority
Smart Checklist
Open Smart Checklist
Smart Checklist

**Reported in Launchpad by monty solomon last update 28-06-2016 18:42:31
Upstream added the following variables to the Audit Log plugin in 5.6.20
audit_log_connection_policy
audit_log_current_session
audit_log_exclude_accounts
audit_log_include_accounts
audit_log_statement_policy
http://dev.mysql.com/doc/refman/5.6/en/audit-log-plugin-options-variables.html
Please consider adding the new variables to the Percona Audit Log plugin
Thanks.