My Oracle Support Banner

UNIFIED AUDIT POLICY ENABLED DOES NOT AUDIT UPDATE STATEMENT WHEN EXECUTED IN LOOP VIA PL/SQL PROCEDURE (Doc ID 2966848.1)

Last updated on OCTOBER 06, 2023

Applies to:

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

Symptoms

Using Audit Policy with "EVALUATE PER STATEMENT ONLY TOPLEVEL" clause enabled and condition, does not captures UPDATE statement when run in a Loop, even when in Policy is enabled. Normal UPDATE statement gets audited.

Policy example:


Is this an expected behavior or has an explanation or requires troubleshooting?

Changes

 None. It is Unified Audit Policy enabled with a condition and Update statement is passed in a loop.

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!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.