Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unified auditing 19c - audit all CREATE/ALTER/DROP TABLE operations

Luis Cabral-BGC5 days ago

Hello

I want to audit whenever any user creates/alters/drops any table in the database. I created the policy below but it does not seem to audit anything, i.e. I can create/alter/drop a table and nothing is audited:

CREATE AUDIT policy table_pol actions DROP TABLE, CREATE TABLE, ALTER TABLE container = ALL;
AUDIT policy table_pol;

Is this possible to be achieved? I can see the policy in audit_unified_enabled_policies when I am connected to the PDB. Am I missing something? I am using 19c in a PDB database in OCI and we just upgraded the DB to unified auditing so probably!

Thanks

Luis

This post has been answered by Raju Dudlawar on Jun 2 2026
Jump to Answer
Comments
Post Details
Added 5 days ago
2 comments
39 views