Configuring auditing for a class
For each class you want to audit, you must configure an audit definition. The audit definition specifies the events to be audited and other auditing options.
An audit definition includes the following elements:
- The system or custom event to audit.
- The option to record the source objects (the modified, post-event object and the original, pre-event object) in the audit record.
- The option to apply a filter expression to the source object of the event. The filter expression determines whether the event is audited. For example, a filter expression can test if a property on the source object has changed; if not, the event is not audited. Filter expressions are applied only for successful operations.
- The option to name an audit definition to associate it with a given audit processing client or client function.
- The option to disable an audit definition that is no longer of interest to an audit processing client.
You can place multiple audit definitions for the same event type on a class, for example, two audit definitions set on the Document class, both for the update event. For more information about how Content Engine determines which audit definition to use, see Configuring Multiple Audit Definitions for the Same Event.
See Guidelines for configuring auditing for some guidelines to consider when you create an audit definition.
To configure a new class for auditing
- In Enterprise Manager, right-click on a class folder to start the Create a
Class wizard.
- On the Configure Auditing page, select and configure the events to be audited from the Event list. See Configure auditing for more information.
- Complete the wizard.
All future instances of the class will contain the audit definitions that
you specified in the class.
To configure or modify an existing class for auditing
- Right-click the class and select Properties.
- Select the Audit
Definitions tab and add, remove, or modify the audit events as necessary. See Class properties (Audit Definitions tab) for more information.
- Click OK.
New audit entries will reflect the changes that you make to the audit definition; existing audit entries are not affected.