Filtering by sql_command for audit plugin
Description
===========
- add option `audit_
- add option `audit_
exclude from logging.
Example:
,----
| SET GLOBAL audit_log_
| SET GLOBAL audit_log_
`----
List of commands:
,----
| mysql> select name from setup_instruments where name like "statement/sql/%" order by name;
| +------
| | name |
| +------
| | statement/
| | statement/
| | statement/
| | statement/
| | statement/
| | statement/
| | statement/
| | statement/
| | statement/
| | statement/
| | statement/
|
| ...
`----
*NOTE*
Invocation of stored procedure has `sql_command' field
"call_procedure". All statemets within the procedure have
`sql_command' "call_procedure" as well.
Blueprint information
- Status:
- Complete
- Approver:
- Laurynas Biveinis
- Priority:
- Undefined
- Drafter:
- Sergei Glushchenko
- Direction:
- Needs approval
- Assignee:
- Sergei Glushchenko
- Definition:
- New
- Series goal:
- Accepted for 5.6
- Implementation:
- Implemented
- Milestone target:
- 5.6.32-78.0
- Started by
- Sergei Glushchenko
- Completed by
- Sergei Glushchenko
Related branches
Related bugs
Bug #1455430: Allow to log only DDL or only DML queries in audit log plugin | Fix Released |