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!

Audit all SELECTs and DMLs by any user on a table

York35Nov 30 2017 — edited Dec 2 2017

DB version: 11.2.0.4

AUDIT_TRAIL is set to DB in my database.

If I am not mistaken ,  below is the command to audit all SELECTs and DMLs by any user on a table (say scott.emp).

SQL> show parameter audit_trail

NAME                                 TYPE        VALUE

------------------------------------ ----------- ------------------------------

audit_trail                          string      DB

SQL>

SQL> AUDIT SELECT, INSERT, DELETE, UPDATE

ON scott.emp

WHENEVER SUCCESSFUL;

Audit succeeded.

Now, Which dictionary view can I use to see what tables have fine grained auditing enabled ? The above audit command enabled Fine grained auditing on SCOTT.EMP table . Similarly, I want to know what are the other tables where fine grained auditing is enabled.  DBA_FGA_AUDIT_TRAIL view didn't provide this info .

SQL> select OBJECT_NAME from dba_fga_audit_trail;

no rows selected

This post has been answered by Stefan Abraham on Nov 30 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 28 2017
Added on Nov 30 2017
4 comments
3,125 views