15May/100
Basic Auditing in Oracle
To check if auditing is enabled:
SHOW parameter AUDIT;To enable auditing, modify/add the following in your PFILE and restart the database:
audit_trail = db;To audit SELECTs on an object:
AUDIT SELECT ON object;
To list all Audit data on a database:
SELECT * FROM sys.aud$;
Purge/delete entries from the audit table:
DELETE FROM sys.aud$;
To view audit data:
SELECT * FROM sys.aud$;
To disable auditing:
NOAUDIT SELECT ANY TABLE;
Related posts: