Oracle9i Supplied PL/SQL Packages and Types Reference Release 2 (9.2) Part Number A96612-01 |
|
DBMS_FGA , 2 of 2
Subprogram | Description |
---|---|
Creates an audit policy using the supplied predicate as the audit condition |
|
Drops an audit policy |
|
Enables an audit policy |
|
Disables an audit policy |
This procedure creates an audit policy using the supplied predicate as the audit condition.
DBMS_FGA.ADD_POLICY( object_schema VARCHAR2, object_name VARCHAR2, policy_name VARCHAR2, audit_condition VARCHAR2, audit_column VARCHAR2, handler_schema VARCHAR2, handler_module VARCHAR2, enable BOOLEAN );
fga_log$
when the monitored condition becomes TRUE.PROCEDURE <fname> ( object_schema VARCHAR2, object_name VARCHAR2, policy_name VARCHAR2 ) AS ...
where fname
is the name of the procedure, schema
is the schema of the table audited, table
is the table audited, and policy
is the policy being enforced.This procedure drops an audit policy.
DBMS_FGA.DROP_POLICY( object_schema VARCHAR2, object_name VARCHAR2, policy_name VARCHAR2 );
Parameter | Description |
---|---|
object_schema |
The schema of the object to be audited |
object_name |
The name of the object to be audited |
policy_name |
The unique name of the policy |
The DBMS_FGA
procedures cause current DML transactions, if any, to commit before the operation. However, the procedures do not cause a commit first if they are inside a DDL event trigger. With DDL transactions, the DBMS_FGA
procedures are part of the DDL transaction.
This procedure enables an audit policy.
DBMS_FGA.ENABLE_POLICY( object_schema VARCHAR2 := NULL, object_name VARCHAR2, policy_name VARCHAR2, enable BOOLEAN := TRUE);
This procedure disables an audit policy.
DBMS_FGA.DISABLE_POLICY( object_schema VARCHAR2, object_name VARCHAR2, policy_name VARCHAR2 );
Parameter | Description |
---|---|
object_schema |
The schema of the object to be audited |
object_name |
The name of the object to be audited |
policy_name |
The unique name of the policy |
|
Copyright © 2000, 2002 Oracle Corporation. All Rights Reserved. |
|