To check the auditing mode in Oracle Database 19c, query V$OPTION for Unified Auditing. A value of TRUE means pure unified auditing; FALSE means mixed mode, not that auditing is off.
Before you run the check
This read-only check is for a self-managed Oracle Database 19c container database (CDB). Open SQL*Plus or another SQL client using a connection to the intended CDB root, with an account already authorized to query V$OPTION. The SQL below is untested; it does not change any settings.
Run the query and record the result
- Confirm that your connection points to the intended CDB root, not an application PDB. Record the target with the result so it can be checked later.
- Run the query documented in Oracle’s 19c Security Guide:
SELECT VALUE FROM V$OPTION WHERE PARAMETER = 'Unified Auditing'; - Look for a value in the
VALUEcolumn.TRUEmeans traditional auditing is disabled and the database uses pure unified auditing.FALSEmeans the unified and traditional audit facilities coexist in mixed mode.
If the query fails or the audit trail looks empty
If the view is inaccessible, have an authorized DBA run the check instead of adding broad privileges. If you get no row, verify the connection and the spelling and case of Unified Auditing before drawing a conclusion. The Oracle Database 19c reference for V$OPTION documents the view’s columns.
The result identifies the mode; it does not establish which policies are enabled or whether an event was captured. The root and each PDB have their own unified audit trail. If you are looking for a specific event, verify which container handled it and have an authorized audit reader check the relevant trail. See Unified Auditing in a Multitenant Environment.
If the next task is to decide which administrative actions should be logged and who should review them, see privileged access management for Oracle Database for control-design context, not for 19c configuration steps.
Once you have verified which Oracle audit trail is active, decide how events will be collected, retained and reviewed. Logging and Log Management covers those decisions, including how to correlate events across systems. Use the Oracle 19c documentation for database-specific configuration.

Anton Chuvakin, Kevin Schmidt and Christopher Phillips
View on Amazon (paid link)
