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 04, 2018

Applies to:

Oracle Server - Enterprise Edition - Version: 11.2.0.1 and later   [Release: 11.2 and later ]
Information in this document applies to any platform.

Symptoms

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


AUDIT <audit option> BY <proxy user> ON BEHALF OF ANY BY ACCESS;
ORA-00933: SQL command not properly ended




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.

Cause

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.