How to audit dropping a procedure (Doc ID 2233153.1)

Last updated on FEBRUARY 24, 2017

Applies to:

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

Symptoms

Is it possible to audit the DROP PROCEDURE command? When i try to enable this (via AUDIT DROP PROCEDURE), i get an ORA-956: missing or invalid auditing option. Further, when i query the stmt_audit_option_map, I don't see DROP PROCEDURE listed. I do see DROP ANY PROCEDURE, but not DROP PROCEDURE. Our security folks want me to enable this option and they seem to think AUDIT DROP PROCEDURE should work, so i'm trying to figure out why it doesn't.

Changes

 Customer had a mandate to introduce auditing to catch any alterations to procedures including drop of a procedure

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