Generate Event

Sends a user-defined event to Novell Audit or Sentinel.

Fields

ID

ID of the event. The provided value must result in an integer in the range of 1000-1999 when parsed using the parseInt method of java.lang.Integer. Supports variable expansion. For more information, see Variable Expansion.

Level

Level of the event.

Level

Description

log-emergency

Events that cause the Metadirectory engine or driver to shut down.

log-alert

Events that require immediate attention.

log-critical

Events that can cause parts of the Metadirectory engine or driver to malfunction.

log-error

Events describing errors that can be handled by the Metadirectory engine or driver.

log-warning

Negative events not representing a problem.

log-notice

Events (positive or negative) that an administrator can use to understand or improve use and operation.

log-info

Positive events of any importance.

log-debug

Events of relevance for support or engineers to debug the operation of the Metadirectory engine or driver.

Strings

Specify user-defined string, integer, and binary values to include with the event. These values are provided using the Named String Builder.

Tag

Description

target

The object being acted upon.

target-type

Integer specifying a predefined format for the target. Predefined values for target-type are currently:

  • 0 = None

  • 1 = Slash Notation

  • 2 = Dot Notation

  • 3 = LDAP Notation

subTarget

The subcomponent of the target being acted upon.

text1

Text entered here is stored in the text1 event field.

text2

Text entered here is stored in the text2 event field.

text3

Text entered here is stored in the text3 event field.

value

Any number entered here is stored in the value event field.

value3

Any number entered here is stored in the value3 event field.

data

Data entered here is stored in the blob event field.

Remarks

The Novell Audit or Sentinel event structure contains a target, a subTarget, three strings (text1, text2, text3), two integers (value, value3), and a generic field (data). The text fields are limited to 256 bytes, and the data field can contain up to 3 KB of information, unless a larger data field is enabled in your environment.

Example

The example has four rules that implement a placement policy for User objects based on the first character of the Surname attribute. It generates both a trace message and a custom Novell Audit or Sentinel event. The Generate Event action is used to send Novell Audit or Sentinel an event. The policy name is Policy to Place by Surname and is available for download from the Novell Support Web site. For more information Downloading Identity Manager Policies in Understanding Policies for Identity Manager 3.5.1 . To view the policy in XML, see 001-Placement-BySurname.xml.

Placement policy for users by last name
Generate event

The following is an example of the Named String Builder, used to provide the strings argument.

Named String Builder

Generate Event is creating an event with the ID 1000 and displaying the text that is generated by the local variable of LVUser1. The local variable LVUser1 is the string of User:Operation Attribute “cn” +” added to the “+”Training\Users\Active\Users1”+” container”. The event reads User:jsmith added to the Training\Users\Active\Users1 container.