|
The SQL Auditing page is displayed when SQL Server is selected from the Auditing task list in the navigation pane of the Administration Tasks tab. From this page you can start the SQL Auditing wizard to specify the SQL instances and the operations to audit. You can also edit existing templates and remove templates that are no longer being used.
NOTE: Authorization to use the administration tasks on the Administrations Tasks tab is defined using the Application User Interface page under the Configuration task list. If you are denied access to the tasks on this page, refer to the Change Auditor User Guide for more information on how to gain access. |
The SQL Auditing page contains an expandable view of all the SQL Auditing templates that have been defined. Initially, only the Best Practice SQL Auditing template will be listed on this page. To add a new template to this list, click the Add tool bar button. Once added, the following information is provided for each template:
For instruction on how to assign the default Best Practices SQL Auditing template to an agent configuration, see Getting Started.
2 |
Click Auditing. |
3 |
Select SQL Server (under the Applications heading in the Auditing task list) to open the SQL auditing page. |
4 |
Click Add to start a wizard which steps you through the process of creating a SQL auditing template. |
• |
Select the Default option to audit the default instance. Select Add to add it to the SQL Instance list. |
• |
Select the Named option to audit a named instance. Select the browse button, select a SQL instance from the list displayed and click OK to close the dialog. Click Add to add the SQL instance to the auditing list. |
• |
Select All Instances to audit all the SQL instances on the server. Click Add to add it to the SQL Instance list. |
• |
Use the Add | Add This Event button to add individual events. |
• |
Use the Add | Add All Events in Facility option to add all events in the selected facility. |
• |
In the Filter where fields, enter the operator and value to use in the filter. In the first field (left) use the drop-down menu to select the operator (e.g., Like or Not Like; =, !=, <= or >=). The operators listed are based on the entry selected in the Filters list above. In the second field (right) enter the value or string to use in the filter. |
• |
Click Add to add it to the Filter list. |
NOTE: To add multiple filters, select the column filter row after which the new filter is to be added, and then use the Filter where fields to specify the new criteria. By default, when multiple filters are specified these filters are ‘ANDed’ together and all filters must be met in order to be considered a match. To use the ‘OR’ operator instead, click in the left-most column of a column filter row and select OR from the drop-down. When filters are ‘ORed’ together, then only one of the filters must be met in order to be considered a match.
|
9 |
To create the template and assign it to an agent configuration, expand Finish and select Finish and Assign to Agent Configuration. |
• |
Select a configuration, then select the template, click in the corresponding Assigned cell and click Yes. |
• |
On the Agent Configuration page, select the agents assigned to use the modified agent configuration and click Refresh Configuration to ensure the agents are using the latest configuration. |
3 |
1 |
• |
Place your cursor in the Status cell for the template to be disabled, click the arrow control and select Disabled. |
2 |
To re-enable the auditing template, use the Enable option in either the Status cell or right-click menu. |
• |
Place your cursor in the Status cell for the SQL instance to be disabled, click the arrow control and select Disabled. |
2 |
To re-enable the auditing of a SQL instance, use the Enable option in either the Status cell or right-click menu. |
1 |
On the SQL auditing, select the template to be deleted and click Delete | Delete Template. |
1 |
On the SQL auditing, select the SQL instance to be deleted and click Delete | Delete SQL Instance. |
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center