Database Administration (MOSC)

MOSC Banner

How to exclude certain table from unified Audit policy

Hi.

I have Oracle 12.2.0.1 unified audit policy for developers:

CREATE AUDIT POLICY dev_dml_audit_policy

 ACTIONS DELETE, INSERT, UPDATE  

 WHEN  'SYS_CONTEXT(''USERENV'', ''SESSION_USER'') in (''DEV1'',''DEV2'',''DEV3'') '

 EVALUATE PER statement;

This police auditing all DML for all tables in database for users: ''DEV1'',''DEV2'',''DEV3'' .

I need exclude from auditing certain tables, for example: user1.table1, user2.table2

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center