Commit a5d9924
committed
Bug#23541550 AUDIT API PROVIDE CONNECTION_TYPE FOR MYSQL_AUDIT_CONNECTION_CONNECT EVENT ONLY
Problem: ======== Connection type field is available for the connect event only of the connection class. Due to lack of filtering mechanism, all 3 events were always available in the audit log file, so anyone could track connection_type by checking connect event only. By that time audit log filtering mechanism was introduced and one can create a filter that will log disconnect or chage user events. In this case, connection_type information is not available. Additionally, a filter that filters connection_type of the disconnect or change user events could not be created. Fix: Connection type field is available in connect/disconnect/change_user events of the connection class. Reviewed-by: ============ Arun Kuruvila <arun.kuruvila@oracle.com> Kristofer Pettersson <kristofer.pettersson@oracle.com>1 parent 8809635 commit a5d9924
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
| 398 | + | |
402 | 399 | | |
403 | 400 | | |
404 | 401 | | |
| |||
0 commit comments