![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to audit select statements on a column for everyone except JohnDoe who works in the HR dept. How do I create the correct audit_condition?? BEGIN * * DBMS_FGA.ADD_POLICY( * * * * *object_schema => 'HR' * * * * ,object_name => 'EMPLOYEES' * * * * ,policy_name => 'PAYROLL_INFO' * * * * ,audit_condition => 'DBUser NOT = 'JohnDoe' * * * * ,audit_column => 'SALARY' * * * * ,handler_schema => NULL * * * * ,handler_module => NULL * * * * ,enable => TRUE * * * * ,statement_types => 'SELECT' * * * * ,audit_trail => DBMS_FGA.DB_EXTENDED * * * * ,audit_column_opts => DBMS_FGA.ANY_COLUMNS * * ); END; / |
#3
| |||
| |||
|
|
I am trying to audit select statements on a column for everyone except JohnDoe who works in the HR dept. How do I create the correct audit_condition?? BEGIN * * DBMS_FGA.ADD_POLICY( * * * * *object_schema => 'HR' * * * * ,object_name => 'EMPLOYEES' * * * * ,policy_name => 'PAYROLL_INFO' * * * * ,audit_condition => 'DBUser NOT = 'JohnDoe' * * * * ,audit_column => 'SALARY' * * * * ,handler_schema => NULL * * * * ,handler_module => NULL * * * * ,enable => TRUE * * * * ,statement_types => 'SELECT' * * * * ,audit_trail => DBMS_FGA.DB_EXTENDED * * * * ,audit_column_opts => DBMS_FGA.ANY_COLUMNS * * ); END; / |
![]() |
| Thread Tools | |
| Display Modes | |
| |