configAudit.xml 範例
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE EventConfiguration SYSTEM "configAudit.dtd">
<EventConfiguration enabled="true">
<KeyEntry eventKey="*/wt.team.TeamServiceEvent/REMOVE_ROLE" multiObject="true"/>
<KeyEntry eventKey="*/wt.vc.VersionControlServiceEvent/PRE_ROLLUP" multiObject="true"/>
<KeyEntry eventKey="*/wt.audit.AuditServiceEvent/ASSOCIATE" multiObject="true"/>
<KeyEntry eventKey="*/wt.audit.AuditServiceEvent/DISASSOCIATE" multiObject="true"/>
<KeyEntry eventKey="*/wt.audit.AuditServiceEvent/SECURITY_LABEL_DOWNLOAD_ACK" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.ChangeService2Event/" multiObject="true"/>
<KeyEntry eventKey="*/wt.representation.SentToPrintEvent/SENT_TO_PRINT" multiObject="true"/>
<KeyEntry eventKey="*/wt.sandbox.SandboxServiceCheckoutEvent/POST_SB_CHECKOUT_EVENT" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.ChangeIdentitySummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.ChangeLifecycleStateSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.CheckinSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.CheckoutSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.CompleteSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.CopySummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.CreateSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.DeleteSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.ExportSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.ImportSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.MarkupAnnotateSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.ModifyAccessPolicySummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.ModifyContentSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.ModifyObjectAccessSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.ModifyProductStructureSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.ModifySecurityLabelsSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.ModifySummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.ModifyTeamSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.MoveSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.NewViewVersionSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.OneOffVersionSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.ReviseNewVersionSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.ShareSummaryEvent/" multiObject="true"/>
<KeyEntry eventKey="*/wt.events.summary.UndoCheckoutSummaryEvent/" multiObject="true"/>
<!-- specifying a ConfigEntry with no class means that all events will be recorded, regardless of type -->
<ConfigEntry class="" enabled="true">
<!-- The only events audited out of the box -->
<KeyedEventEntry eventKey="*/wt.session.SessionUserAuditEvent/login" enabled="true" handler="wt.audit.configaudit.UserSessionEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.session.SessionUserAuditEvent/logout" enabled="true" handler="wt.audit.configaudit.UserSessionEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.inf.team.ContainerTeamServiceEvent/CONTAINER_LOGIN" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.audit.AuditServiceEvent/CSRF" enabled="true" handler="wt.audit.configaudit.CSRFAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.content.ContentServiceEvent/READ_CONTENT" enabled="true" handler="wt.audit.configaudit.DownloadEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.representation.ViewEvent/VIEW" enabled="true" handler="wt.audit.configaudit.ViewRepresentationsEventRecorder"/>
</ConfigEntry>
<ConfigEntry class="" enabled="false">
<AccessControlEventEntry eventType="NOT_AUTHORIZED" enabled="true" handler="wt.audit.configaudit.NotAuthorizedEventRecorder"/>
<!-- Entries for Change Implementation -->
<KeyedEventEntry eventKey="*/wt.change2.ChangeService2Event/CHANGE_IMPLEMENTATION" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<!-- Needs to be verified -->
<VCEventEntry eventType="POST_ROLLBACK" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/com.ptc.windchill.enterprise.search.server.searchaudit.SearchAuditEvent/SEARCH_AUDIT_EVENT" enabled="true" handler="wt.audit.configaudit.SearchEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.org.OrganizationServicesEvent/PASSWORD_CHANGE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.audit.AuditServiceEvent/ASSOCIATE" enabled="true" handler="wt.audit.configaudit.AssociateDisassociateAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.audit.AuditServiceEvent/DISASSOCIATE" enabled="true" handler="wt.audit.configaudit.AssociateDisassociateAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.audit.AuditServiceEvent/SECURITY_LABEL_DOWNLOAD_ACK" enabled="true" handler="wt.audit.configaudit.SecurityLabelDownloadAckAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.audit.AuditServiceEvent/VIEW_PROPERTIES" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.representation.SentToPrintEvent/SENT_TO_PRINT" enabled="true" handler="wt.audit.configaudit.SentToPrintEventRecorder"/>
<!-- Entries for Archive, Purge, and Restore -->
<KeyedEventEntry eventKey="*/wt.fc.archive.ArchiveServiceEvent/POST_ARCHIVE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.vc.VersionControlServiceEvent/PRE_ROLLUP" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.fc.archive.RestoreServiceEvent/POST_RESTORE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<!-- Entries for new Summary Events, which will apply to all object types out of the box -->
<KeyedEventEntry eventKey="*/wt.events.summary.ChangeIdentitySummaryEvent/" enabled="true" handler="wt.audit.configaudit.ChangeIdentityEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.ChangeLifecycleStateSummaryEvent/" enabled="true" handler="wt.audit.configaudit.ChangeLifecycleStateEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.CheckinSummaryEvent/" enabled="true" handler="wt.audit.configaudit.CheckinEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.CheckoutSummaryEvent/" enabled="true" handler="wt.audit.configaudit.CheckoutEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.CompleteSummaryEvent/" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.CopySummaryEvent/" enabled="true" handler="wt.audit.configaudit.CopyEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.CreateSummaryEvent/" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.DeleteSummaryEvent/" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.ExportSummaryEvent/" enabled="true" handler="wt.audit.configaudit.ExportEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.ImportSummaryEvent/" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.MarkupAnnotateSummaryEvent/" enabled="true" handler="wt.audit.configaudit.MarkupAnnotateEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.ModifyAccessPolicySummaryEvent/" enabled="true" handler="wt.audit.configaudit.ModifyAccessPolicyEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.ModifyContentSummaryEvent/" enabled="true" handler="wt.audit.configaudit.ModifyContentEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.ModifyObjectAccessSummaryEvent/" enabled="true" handler="wt.audit.configaudit.ModifyObjectAccessEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.ModifyProductStructureSummaryEvent/" enabled="true" handler="wt.audit.configaudit.ModifyProdStructureEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.ModifySecurityLabelsSummaryEvent/" enabled="true" handler="wt.audit.configaudit.ModifySecurityLabelsEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.ModifySummaryEvent/" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.ModifyTeamSummaryEvent/" enabled="true" handler="wt.audit.configaudit.ModifyTeamEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.MoveSummaryEvent/" enabled="true" handler="wt.audit.configaudit.MoveEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.NewViewVersionSummaryEvent/" enabled="true" handler="wt.audit.configaudit.VersionEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.OneOffVersionSummaryEvent/" enabled="true" handler="wt.audit.configaudit.VersionEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.ReviseNewVersionSummaryEvent/" enabled="true" handler="wt.audit.configaudit.VersionEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.ShareSummaryEvent/" enabled="true" handler="wt.audit.configaudit.ShareEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.events.summary.UndoCheckoutSummaryEvent/" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
</ConfigEntry>
<ConfigEntry class="" enabled="false">
<KeyedEventEntry eventKey="*/wt.sandbox.SandboxServiceCheckoutEvent/POST_SB_CHECKOUT_EVENT" enabled="true" handler="wt.audit.configaudit.PDMCheckoutEventRecorder"/>
</ConfigEntry>
<ConfigEntry class="wt.org.WTGroup" enabled="false">
<KeyedEventEntry eventKey="*/wt.org.OrganizationServicesEvent/MEMBERSHIP_CHANGE" enabled="true" handler="wt.audit.configaudit.ModifyGroupEventRecorder"/>
</ConfigEntry>
<ConfigEntry class="wt.team.RolePrincipalMap" enabled="false">
<KeyedEventEntry eventKey="*/wt.team.TeamServiceEvent/ADD_ROLE" enabled="true" handler="wt.audit.configaudit.TeamAuditMapEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.team.TeamServiceEvent/REMOVE_ROLE" enabled="true" handler="wt.audit.configaudit.TeamAuditMapEventRecorder"/>
</ConfigEntry>
<ConfigEntry class="wt.inf.container.OrgContainer" enabled="false">
<KeyedEventEntry eventKey="*/wt.inf.team.NmOrganizationServiceEvent/ADD_ROLE" enabled="true" handler="wt.audit.configaudit.OrganizationRoleEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.inf.team.NmOrganizationServiceEvent/REMOVE_ROLE" enabled="true" handler="wt.audit.configaudit.OrganizationRoleEventRecorder"/>
</ConfigEntry>
<ConfigEntry class="wt.inf.team.ContainerTeam" enabled="false">
<KeyedEventEntry eventKey="*/wt.inf.team.ContainerTeamServiceEvent/ADD_ROLE" enabled="true" handler="wt.audit.configaudit.OrganizationRoleEventRecorder"/>
<KeyedEventEntry eventKey="*/wt.inf.team.ContainerTeamServiceEvent/REMOVE_ROLE" enabled="true" handler="wt.audit.configaudit.OrganizationRoleEventRecorder"/>
</ConfigEntry>
<ConfigEntry class="wt.workflow.engine.WfProcess" enabled="false">
<WfEngineEventEntry eventType="PROCESS_STATE_CHANGED" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<WfEngineEventEntry eventType="PROCESS_CONTEXT_CHANGED" enabled="true" handler="wt.audit.configaudit.WfVariableAuditEventRecorder"/>
</ConfigEntry>
<ConfigEntry class="wt.workflow.engine.WfActivity" enabled="false">
<WfEngineEventEntry eventType="ACTIVITY_STATE_CHANGED" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<WfEngineEventEntry eventType="ACTIVITY_CONTEXT_CHANGED" enabled="true" handler="wt.audit.configaudit.WfVariableAuditEventRecorder"/>
</ConfigEntry>
<ConfigEntry class="wt.projmgmt.execution.ExecutionObject" enabled="false">
<!-- State change and owner change need to be verified -->
<ProjectManagementEventEntry eventType="STATE_CHANGE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<ProjectManagementEventEntry eventType="STATUS_CHANGE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<ProjectManagementEventEntry eventType="PERCENT_CHANGE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<ProjectManagementEventEntry eventType="FINISH_CHANGE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<ProjectManagementEventEntry eventType="DEADLINE_CHANGE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<ProjectManagementEventEntry eventType="OWNER_CHANGE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
</ConfigEntry>
<ConfigEntry class="" enabled="false">
<KeyedEventEntry eventKey="*/com.ptc.projectmanagement.plan.ProjectManagementEvent/EPP_FINISH_CHANGE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/com.ptc.projectmanagement.plan.ProjectManagementEvent/EPP_PERCENT_CHANGE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/com.ptc.projectmanagement.plan.ProjectManagementEvent/EPP_OWNER_CHANGE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/com.ptc.projectmanagement.plan.ProjectManagementEvent/EPP_RISK_CHANGE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/com.ptc.projectmanagement.plan.ProjectManagementEvent/EPP_STATUS_CHANGE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
<KeyedEventEntry eventKey="*/com.ptc.projectmanagement.plan.ProjectManagementEvent/EPP_DEADLINE_CHANGE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
</ConfigEntry>
<ConfigEntry class="wt.workflow.forum.DiscussionPosting" enabled="false">
<ForumEventEntry eventType="NEW_DISCUSSION" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
</ConfigEntry>
<ConfigEntry class="wt.workflow.forum.DiscussionTopic" enabled="false">
<ForumEventEntry eventType="NEW_DISCUSSION" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
</ConfigEntry>
<ConfigEntry class="" enabled="false">
<KeyedEventEntry eventKey="*/wt.preference.PreferenceServiceEvent/POST_UPDATE" enabled="true" handler="wt.audit.configaudit.DefaultAuditEventRecorder"/>
</ConfigEntry>
</EventConfiguration>
這是否有幫助?