Unable To Purge All Unified_audit_trail Records where UNIFIED_AUDIT_POLICIES is null and action_name='LOGOFF BY CLEANUP'; (Doc ID 1944147.1)

Last updated on OCTOBER 22, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms


Audit entries from UNIFIED_AUDIT_TRAIL having a NULL value for UNIFIED_AUDIT_POLICIES  null and  ACTION_NAME equal to 'LOGOFF BY CLEANUP'  are not deleted by dbms_audit_mgmt.


The issue can be reproduced at will with the following steps:


1. Install RDBMS 12.1.0.2.0, configured it in mixed mode or unified auditing only
2. Open a session with the user SCOTT and kill it using alter system kill session
3. Check that there is a row created using:

 

 

5. Check the contents of UNIFIED_AUDIT_TRAIL once again.



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms