Skip to main content

Webinar

Oracle 12c Unified Auditing Webinar

Applies to
  • DB 12c

Download PDF (1.0 MB)

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_SECURECONFIG policy, 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_OPERATIONS and AUDIT_SYSLOG_LEVEL, and in 12.1 stores audit records in the new AUDSYS schema using Oracle SecureFiles, with no syslog; a database can revert to Mixed Mode.
  • Audit settings become policies, created with CREATE AUDIT POLICY and enabled with AUDIT POLICY, whose WHEN conditions 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 on OE.ORDERS for one CLIENT_IDENTIFIER; DBMS_FGA still configures fine-grained auditing.
  • Of the five policies installed by default, only ORA_SECURECONFIG, the same as default 11g auditing, is enabled, leaving ORA_ACCOUNT_MGMT, ORA_DATABASE_PARAMETER and two RAS policies off; the new AUDIT_ADMIN and AUDIT_VIEWER roles 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, ALTER and DROP AUDIT POLICY, AUDIT, NOAUDIT, Database Vault configurations, the DBMS_FGA and DBMS_AUDIT_MGMT packages, and ALTER TABLE attempts on the AUDSYS audit 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_USERS rather than DBA_USERS, are logged in the unified audit trail.