User Tools

Site Tools


unifiedauditing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
unifiedauditing [2015/07/21 15:18] z0hpvkunifiedauditing [2025/03/08 22:24] (current) – external edit 127.0.0.1
Line 12: Line 12:
  
 ==== Configuration ==== ==== Configuration ====
-Records are written to the SGA queues and then periodically written to tables in the AUDSYS schema.+Records are written to the SGA queues and then periodically written to tables in the AUDSYS schema.\\
 If it is required that the audit details are immediately written to the tables then ... If it is required that the audit details are immediately written to the tables then ...
 <code>BEGIN <code>BEGIN
Line 27: Line 27:
  
 ==== Create Unified Audit Policy ==== ==== Create Unified Audit Policy ====
 +Create and enable an audit policy which will audit the creation of tables and sequences by user IAN.
 +<code>CREATE AUDIT POLICY ian_audit_policy
 +  PRIVILEGES CREATE TABLE, CREATE SEQUENCE
 +  WHEN    'SYS_CONTEXT(''USERENV'', ''SESSION_USER'') = ''IAN'''
 +  EVALUATE PER SESSION
 +  CONTAINER = CURRENT;
 +
 +AUDIT POLICY ian_audit_policy;</code>
 +
 +==== Predefined Audit Policies ====
 +  * ORA_SECURECONFIG (Enabled by default)
 +  * ORA_DATABASE_PARAMETER
 +  * ORA_ACCOUNT_MGMT
  
unifiedauditing.1437491890.txt.gz · Last modified: 2025/03/08 22:23 (external edit)