My Oracle Support Banner

Declaring Auditing Categories With 'ON BEHALF OF' Clause Not Working With 'BY ACCESS' or 'BY SESSION' (Doc ID 1357829.1)

Last updated on AUGUST 17, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.


While enabling auditing for a proxy user the following error occurs:

Running the AUDIT statement with 'ON BEHALF OF' clause does not work with 'BY ACCESS'
or 'BY SESSION' clauses. When AUDIT is issued without 'BY ACCESS' or 'BY SESSION' clause, the actions are audited by session.




To view full details, 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 a vibrant support community of peers and Oracle experts.