December 2017
Intermediate to advanced
434 pages
10h 14m
English
Server audit specifications define what action groups (events grouped by the scope of action) will be tracked by your audit. To configure the audit specifications use a TSQL or GUI.
CREATE SERVER AUDIT SPECIFICATION [LogonAuditConfig]FOR SERVER AUDIT [LogonAudit]ADD (FAILED_LOGIN_GROUP),ADD (SUCCESSFUL_LOGIN_GROUP)
With this TSQL script, we have configured the audit to collect information about successful and failed login events to a separate file on your SQL Server. You can, of course, add many more action groups to this audit and create more audits on your server. One of my favorite action groups for the auditing is SERVER_ROLE_MEMBER_CHANGE_GROUP, which tracks information about changes in your server roles. ...
Read now
Unlock full access