Slides from a webinar for auditors and IT security professionals on Oracle 12c Unified Auditing, which consolidates the separate audit trails into a single view, and its two modes, Mixed Mode and Pure Mode.
Unified Auditing, introduced with Oracle 12c, changes how Oracle database logging and auditing is done. Earlier releases kept a separate audit trail for each component; Unified Auditing consolidates all auditing into a single view, SYS.UNIFIED_AUDIT_TRAIL.
These slides, for auditors and IT security professionals, review its two modes, Mixed Mode and Pure Mode, and its new audit policies, with a brief look at Real Application Security (RAS), another new 12c feature, and how it interacts with Unified Auditing. They also present our log and audit framework and how to implement it with Unified Auditing. Readers can then judge the impact of 12c on their logging, auditing and monitoring. Additional information is in our whitepaper on 12c Unified Auditing.
Key Points
- Mixed Mode, the default in Oracle 12c (12.1, now desupported), keeps traditional auditing, which Oracle desupported in 23ai (now 26ai) in favor of Unified Auditing, working as before, and fills the unified audit trail in parallel through the default
ORA_SECURECONFIGpolicy, which can be disabled or its records purged (Doc ID 1624051.1). - Pure Mode, not the default but "the future", needs a kernel re-link, stops populating the traditional audit sources, ignores
AUDIT_TRAIL,AUDIT_FILE_DEST,AUDIT_SYS_OPERATIONSandAUDIT_SYSLOG_LEVEL, and in 12.1 stores audit records in the newAUDSYSschema using Oracle SecureFiles, with no syslog; a database can revert to Mixed Mode. - Audit settings become policies, created with
CREATE AUDIT POLICYand enabled withAUDIT POLICY, whoseWHENconditions are evaluated per statement, session or instance, for example to audit SQL*Plus logons as APPS from hosts other than the production database servers, or deletes onOE.ORDERSfor oneCLIENT_IDENTIFIER;DBMS_FGAstill configures fine-grained auditing. - Of the five policies installed by default, only
ORA_SECURECONFIG, the same as default 11g auditing, is enabled, leavingORA_ACCOUNT_MGMT,ORA_DATABASE_PARAMETERand two RAS policies off; the newAUDIT_ADMINandAUDIT_VIEWERroles separate maintaining audit policies from viewing audit data, and auditing runs in the SGA with negligible overhead, queued-write by default. - Always-on mandatory auditing covers SYS and the SYSDBA, SYSOPER, SYSASM, SYSBACKUP, SYSDG and SYSKM privileges, and changes to auditing itself:
CREATE,ALTERandDROP AUDIT POLICY,AUDIT,NOAUDIT, Database Vault configurations, theDBMS_FGAandDBMS_AUDIT_MGMTpackages, andALTER TABLEattempts on theAUDSYSaudit trail. - With the Multitenant option, a separate license, audit policies are local to the current pluggable database (PDB) by default, and common policies, available to all PDBs, should be enabled only for common users on common objects; RAS users, defined in
DBA_XS_USERSrather thanDBA_USERS, are logged in the unified audit trail.
