Open utdrmac opened 9 years ago
Can you provide an example of a query and the resulting json log entry. On Jun 17, 2015 5:52 PM, "Matthew" notifications@github.com wrote:
If a query is executed with a table that is derived, an * is recorded in the audit event. As this isn't too helpful in a real audit, FR for a setting to ignore/don't-log these.
{ "db" : "", "name" : "*", "obj_type" : "TABLE" }
— Reply to this email directly or view it on GitHub https://github.com/mcafee/mysql-audit/issues/114.
SELECT * FROM (SELECT * FROM foo) a;
{"msg-type":"activity","date":"1434557705062","thread-id":"16728373","query-id":"446961855","user":"percona","priv_user":"percona","host":"localhost","cmd":"select","objects":[{"db":"","name":"*","obj_type":"TABLE"},{"db":"percona","name":"foo","obj_type":"TABLE"}],"query":"SELECT * FROM (SELECT * FROM foo) a"}
If a query is executed with a table that is derived, an * is recorded in the audit event. As this isn't too helpful in a real audit, FR for a setting to ignore/don't-log these.