I was wondering if anyone knew if the logging capabilities of SQL Server extended to tracking user attempts to query information on which they do not have access. For example, if a user attempts to query an object or schema on which he lacks permissions, the logs capture the attempt when he receives an error similar to below:
Msg 229, Level 14, State 5, Procedure SProc, Line 1
The EXECUTE permission was denied on the object 'SProc', database 'DB', schema 'SCHEMA'.
Any advice would be greatly appreciated, thanks in advance