AUDIT Plugin for MySQL. See wiki and readme for description. If you find the plugin useful, please star us on GitHub. We love stars and it's a great way to show your feedback.
Other
239
stars
57
forks
source link
User Whitelist fails for Users greater than 20 #192
When setting the audit_whitelist_users for users with names longer than 20 characters, the user is not whitelisted.
This seems to be because of #define MAX_USER_CHAR_NUMBERS 20 in /include/audit_handler.h which is inconsistent with the limit of 32 characters in MySql and the length of the user returned from MySql.
In addition, it would be useful to be able to whitelist users using wildcards.
When setting the audit_whitelist_users for users with names longer than 20 characters, the user is not whitelisted.
This seems to be because of #define MAX_USER_CHAR_NUMBERS 20 in /include/audit_handler.h which is inconsistent with the limit of 32 characters in MySql and the length of the user returned from MySql.
In addition, it would be useful to be able to whitelist users using wildcards.