I want to enable auditing on some column in a table. I have tested the SYS, Schema and Table level auditing. Guide me or refer me some document to enable auditing on column level.
Field Level Auditing in Oracle 11g R2
auditoracleoracle-11g-r2
auditoracleoracle-11g-r2
I want to enable auditing on some column in a table. I have tested the SYS, Schema and Table level auditing. Guide me or refer me some document to enable auditing on column level.
Best Answer
Check that auditing is enabled:
If
audit_trail
is not set (NONE
), turn auditing on (asSYSDBA
):... then restart the database.
I'll create a test table to use:
Now, I'll create an example of an FGA auditing policy that uses the above table. This will audit any SQL that contains a row with a value greater that 100 in its resultset. The parameters speak for themselves.
Test:
Note I've done my test on 12c, but this test will work perfectly on 11.2 too.