ADD_POLICY:
exec DBMS_FGA.ADD_POLICY(
object_schema => 'apps',
object_name => 'fga_test',
policy_name => 'fga_test',
audit_condition => 'name = ''ab'' ',
audit_column => 'name',
statement_types => 'insert,update,delete,select');
DISABLE_POLICY:
exec DBMS_FGA.DISABLE_POLICY(
object_schema =>'apps',
object_name =>'fga_test',
policy_name =>'fga_test' );
DROP_POLICY:
exec DBMS_FGA.DROP_POLICY(
object_schema =>'apps',
object_name =>'fga_test',
policy_name =>'fga_test' );
select * from dba_audit_policy_columns
select * from dba_fga_audit_trail
No comments:
Post a Comment