unifiedauditing
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
unifiedauditing [2015/07/21 14:47] – created z0hpvk | unifiedauditing [2025/03/08 22:24] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Unified Auditing ==== | + | ===== Unified Auditing |
- | === Check if Enabled === | + | ==== Check if Enabled |
< | < | ||
where PARAMETER=' | where PARAMETER=' | ||
- | === Enable === | + | |
+ | ==== Enable | ||
* Shutdown Database | * Shutdown Database | ||
* cd $ORACLE_HOME/ | * cd $ORACLE_HOME/ | ||
* make -f ins_rdbms.mk uniaud_on ioracle | * make -f ins_rdbms.mk uniaud_on ioracle | ||
* set AUDIT_TRAIL = NONE, otherwise both auditing mechanisms will run concurrently | * set AUDIT_TRAIL = NONE, otherwise both auditing mechanisms will run concurrently | ||
+ | * Start Database | ||
+ | |||
+ | ==== Configuration ==== | ||
+ | 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 ... | ||
+ | < | ||
+ | | ||
+ | DBMS_AUDIT_MGMT.AUDIT_TRAIL_UNIFIED, | ||
+ | DBMS_AUDIT_MGMT.AUDIT_TRAIL_WRITE_MODE, | ||
+ | DBMS_AUDIT_MGMT.AUDIT_TRAIL_IMMEDIATE_WRITE); | ||
+ | END;</ | ||
+ | When the database is in READ ONLY mode then audit records are written to $ORACLE_BASE/ | ||
+ | These files can then be later loaded into the database by ... | ||
+ | < | ||
+ | | ||
+ | END;</ | ||
+ | |||
+ | ==== Create Unified Audit Policy ==== | ||
+ | Create and enable an audit policy which will audit the creation of tables and sequences by user IAN. | ||
+ | < | ||
+ | PRIVILEGES CREATE TABLE, CREATE SEQUENCE | ||
+ | WHEN ' | ||
+ | EVALUATE PER SESSION | ||
+ | CONTAINER = CURRENT; | ||
+ | |||
+ | AUDIT POLICY ian_audit_policy;</ | ||
+ | |||
+ | ==== Predefined Audit Policies ==== | ||
+ | * ORA_SECURECONFIG (Enabled by default) | ||
+ | * ORA_DATABASE_PARAMETER | ||
+ | * ORA_ACCOUNT_MGMT | ||
+ |
unifiedauditing.1437490038.txt.gz · Last modified: 2025/03/08 22:23 (external edit)