Adding a new audit levelModify the AuditConfig.xml in Workbench to add a new audit level. For example, create audit level named BASIC to log when a review is completed or revoked. 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="BASIC" description="Custom Audit logging for basic logging"> <audit_actions> <action name="REVIEW_COMPLETE" /> <action name="REVOKE_REVIEW" /> </audit_actions> </level> <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" /> </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 ReviewCommentingAndApproval Core Service for the audit configuration file changes to take effect. |
|
// Ethnio survey code removed