Skip to main content

Configuring event actions

To configure an event action to interface with an ODBC-based database, you must write a configuration file. Modify the sample script included in the samples directory and copy it to the \<instance>\script\ directory. If you cannot find the sample file, try re-running setup to modify your installation. Sample files are automatically installed with complete (typical) installations. You can select them in custom installations.

When you configure an event, you enter the program name or, as of Bravura Security Fabric version 7.0, the target ID you set up in earlier. In both cases, pxcasd looks for the default script with the matching name.

You can write an alternative .cfg file; for example when you have multiple targets of the same type. When you configure an event, you specify the file using the -cfg parameter; for example:

  • pxodbc.exe -cfg myfile.cfg

  • pxodbc-32.exe -cfg myfile.cfg

    or

  • <targetid> -cfg myfile.cfg

Requirements

If you do not use a ticket target to configure events, you must define the variables shown in the table below in every ODBC script.

Table 1. Required variables for ODBC

Variable

Description of the value

server

The Windows DSN for the desired ODBC connection.

adminid

The user ID of a user with permissions to perform all desired operations.

adminpwd

The password for the above user.