![]() Previous |
![]() Next |
Next, enable auditing for SELECT statements on the OE.CUSTOMERS table.
To enable auditing of SELECT statements for the OE.CUSTOMERS table:
Ensure that the sample user sec_admin exists.
Log on as SYSTEM, and then from the Database Control home page, click Server to display the Server subpage. Select Users under Security, and check the list of accounts for sec_admin. "Step 1: Create a Security Administrator Account" explains how to create the sec_admin security administrator account. If you still have Oracle Database Vault enabled, then you must recreate the account using the Database Vault Account Manager account.
In SQL*Plus, log in as user OE and then grant sec_admin the SELECT privilege on the OE.CUSTOMERS table.
sqlplus oe
Enter password: password
Connected.
SQL> GRANT SELECT ON CUSTOMERS TO sec_admin;
Log in to Database Control as user SYS with the SYSDBA privilege.
Click Server to display the Server subpage.
In the Security section, click Audit Settings.
The Audit Settings page appears.
Select the Audited Objects subpage.
Click
Add.
The Add Audited Object page appears.
Enter the following information:
Object Type: Select Table.
Table: Enter OE.CUSTOMERS.
Available Statements: Select SELECT, and then click Move to move it to the Selected Statements list.
Click OK.
Log out of Database Control.