Audit Collection Plug-in Directory Structure

Learn about the Oracle Audit Vault collection plug-in directory structure, the development environment, and how to stage plug-in manifest.xml files.

General Directory Structure

To create your own collection plug-ins, review the general directory structure for Oracle Audit Vault collections.

The following figure shows a general directory structure.

Example 1 General Directory Structure

STAGE_DIR_ROOT
plugin-manifest.xml
      templates
          mapper.xml
       jars
          mycoll.jar
          myjdbc-lib.jar
       config
          mycoll.properties
       bin
          mycoll.exe
       patches
          p3653288_GENERIC.zip

Explanation of General Directory Structure Components

In the example of a general directory structure, the STAGE_DIR_ROOT directory is the root directory where you stage your collection plug-in files. Place the plugin-manifest.xml directly in this directory. Under the STAGE_DIR_ROOT directory, create the following directories:

Related Topics

Audit Collection Plug-In Directory Structure

Learn about the structure of a stage directory for a collection plug-in for Oracle Database Security Central.

For a collection plug-in, place all mapper files in the templates directory, as shown in this example. This placement directs the collection plug-in to load the relevant template file based on the information that the file contains.

Example 2 Directory Structure For Collection Plug-In

STAGE_DIR_ROOT
plugin-manifest.xml
       templates
          mycoll-template.xml
       config
          mycoll.properties
       patches
          p3653288_GENERIC.zip

Related Topics

Java-Based Collection Plug-in Directory Structure

The structure of Java-based Collection plug-ins for Oracle Database Security Central is very similar to the general directory structure.

The following example shows the structure of a stage directory for Java-based Collection plug-ins.

Example 3 Directory Structure for Java-Based Collection Plug-in

STAGE_DIR_ROOT
plugin-manifest.xml
       jars
          mycoll.jar
          myjdbc-lib.jar
       config
          mycoll.properties
       bin
          mycoll.exe
       patches
          p3653288_GENERIC.zip

Staging a plugin-manifest.xml File

You must stage the plugin-manifest.xml file directly under the STAGE_DIR_ROOT directory.

The plugin-manifest.xml file for Oracle Database Security Central is a core XML file that describes the collection plug-in, and defines its attributes. The location where you place the plugin-manifest.xml file depends on which operating system your server is running.

Locations for Staging a plugin-manifest.xml File

See Also:

About Mapper Files

Mapper files are XML files that mainly contain information about which target fields you must collect from the audit trail, and how these target fields map to Oracle Audit Vault Server fields.

Mapper files are specific to a target type, and contains target information, such as securedTargetType, securedTargetVersion, and so on.

Mapper files cover these details:

Package the mapper files as part of the collection plug-in. Place mapper files in the templates folder during the plug-in packaging process.

Related Topics

Description of Plug-in Manifest File

The plugin-manifest.xml file is a core XML file that describes the collection plug-in.

The plugin-manifest.xml defines the following elements and attributes:

See Also: