All About Oracle Auditing – Everything You Need to Know
Presentation - Database Specialists
Presentation - Database Specialists
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Fine Grained <strong>Auditing</strong> (FGA)Audit all updates <strong>to</strong> the SALARY column of EMPLOYEE ifmade by anyone other than MIKEbeginDBMS_FGA.ADD_POLICY(object_schema => 'MIKE',object_name => 'EMPLOYEE',policy_name => 'salary_change',audit_column => 'SALARY',audit_condition =>'SYS_CONTEXT(''USERENV'',''SESSION_USER'') ''MIKE'' ',enable => TRUE,statement_types => 'UPDATE’audit_trail => DBMS_FGA.DB);end;/