Adding an audit action to an existing audit levelModifying the AuditConfig.xml in Workbench to add additional audit actions to an existing audit level. For example, for Level 1 auditing, you want to log when reviewers are added or removed. Level 1 is the name of the audit level. In Workbench, get the ReviewCommentingAndApproval application and edit the /resources/misc/audit/AuditConfig.xml. In AuditConfig.xml, locate the Level 1 entry and add ADD_REVIEWER and REMOVE_REVIEWER. For example, the audit configuration changes are as follows: <?xml version="1.0" encoding="utf-8"?>
<audit_config xmlns="http://adobe.com/solutions/rca/audit/auditconfig">
<audit_levels>
<level name="Level 1" description="only stage review level actions">
<audit_actions>
<action name="STAGE_START" /> <action name="STAGE_COMPLETE" />
<action name="REVIEW_COMPLETE" />
<action name="REVISE_REVIEW" />
<action name="REVOKE_REVIEW" />
<action name="ADD_REVIEWER" />
<action name="REMOVE_REVIEWER />
</audit_actions>
</level>
<level name="Level 2" description="All actions">
<audit_actions>
<action name="STAGE_START" />
<action name="STAGE_COMPLETE" />
<action name="REVIEW_COMPLETE" />
<action name="REVISE_REVIEW" />
<action name="REVOKE_REVIEW" />
<action name="REVIEWER_TASK_ASSIGN" />
<action name="APPROVER_TASK_ASSIGN" />
<action name="APPROVER_TASK_COMPLETE" />
<action name="REVIEWER_TASK_COMPLETE" />
<action name="ADD_REVIEWER" />
<action name="REMOVE_REVIEWER" />
<action name="ADD_APPROVER" />
<action name="REMOVE_APPROVER" />
<action name="UPDATE_DURATION" />
</audit_actions>
</level>
</audit_levels>
</audit_config>
Save the change to the AuditConfig.xml and redeploy the ReviewCommentingAndApproval application. Restart the Review Commenting & Approval Core service for the audit configuration file changes to take effect. |
|
// Ethnio survey code removed