My Oracle Support Banner

How to audit dropping a procedure (Doc ID 2233153.1)

Last updated on AUGUST 04, 2018

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

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


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