Setting Up the Development Environment
To set up your development environment, you must first download the Oracle Database Security Central SDK, and then set up the operating system environment.
To set up your environment for developing collection plug-ins you must follow these steps to download the SDK, and then configure the operating system folders, environment variables, and paths.
To download the SDK, do the following:
-
Log in to the Oracle Database Security Central console as an administrator.
-
Click the Settings tab.
-
Click the System tab in the left navigation menu.
-
Click the Plug-ins link under the Monitoring section on the main page.
-
In the Plug-ins dialog, click Download SDK.
-
Unzip the SDK into an empty directory.
-
Set the
AV_SDK_HOMEvariable to the directory to which you extracted the SDK.For example:
$ export AV_SDK_HOME=/home/username/avsdk -
Set the
PATHenvironment variable tobindirectory of the Audit Vault Server.For example:
$ export PATH=$AV_SDK_HOME/bin:$PATHThis setting enables you to use existing scripts during the development cycle.
-
Set the
CLASSPATHenvironment variable to include the$AV_AGENT_HOME/av/jlib/agentre.jarfor your collection plug-in project.For example:
$ export CLASSPATH=$AV_SDK_HOME/av/jlib/av.jar:$AV_SDK_HOME/av/jlib/av-common.jar:$AV_AGENT_HOME/av/jlib/agentre.jar -
Create directories as necessary.
-
If you are using Java, ensure that the environment is set to point to the appropriate JDK (
PATHandJAVA_HOMEvariables).Compile your classes with
JDKby setting the-targetoption of thejavaccompiler to the same version. Refer to theJDKdocumentation for details.
Related Topics