Try OpenEdge Now
skip to main content
Programming Interfaces
Data Management : Auditing : Developing auditing tools : Custom audit configuration tools : Accessing the Audit Policy Maintenance APIs
 
Accessing the Audit Policy Maintenance APIs
The rules for configuring and managing audit policies directly in the audit policy tables are complex. As an aid to following these rules, OpenEdge provides a set of Audit Policy Maintenance APIs that you can use to properly manage these tables. These APIs rely on standard data definitions for ABL temp-tables and ProDataSets that are used as intermediate audit policy storage. They also support remote client access to API services hosted on an AppServer.
OpenEdge uses these APIs to implement the Audit Policy Maintenance tool, and the source code for the tool is installed with OpenEdge. You can thus use this tool as a working sample application for writing your own audit policy configuration tools. You can find all the source code for the APIs, including the Audit Policy Maintenance main procedure (_apmt.p) in the following OpenEdge installation directory:
OpenEdge_install_dir\src\auditing
For a description of the individual API procedure files, see AuditPolicy Maintenance APIs.