Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

DBMS_FGA , 2 of 5


ADD_POLICY Procedure

This procedure creates an audit policy using the supplied predicate as the audit condition.

Syntax

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  );

Parameters

Table 15-2 ADD_POLICY Parameters
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 

audit_condition 

A condition in a row that indicates a monitoring condition 

audit_column 

The column to be checked for access. The default is all columns. 

handler_schema 

The schema that contains the event handler. The default is the current schema. 

handler_module 

The function name of the event handler; includes the package name if necessary. This is fired only after the first row that matches the audit condition is processed in the query. If the procedure fails with exception, the user SQL statement will fail as well. The default is NULL. 

enable 

Enables the policy if TRUE, which is the default. 

Usage Notes


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback