Platform Explorer / Nuxeo Platform LTS 2015 7.10

Extension point event

This service registers auditable events.

Registered events are dummy strings for now.

This service is used to filter auditable events from the JMS topic based on their names. The following XML snipset give figures out how the default event types are selected for auditing.

Contribution Descriptor

Existing Contributions

  • nuxeo-drive-core-7.10-HF07.jar /OSGI-INF/nuxeodrive-listeners.xml
    <extension point="event" target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService">
        <event name="rootRegistered"/>
        <event name="rootUnregistered"/>
      </extension>
  • nuxeo-annot-contrib-7.10.jar /OSGI-INF/annotations-audit-contrib.xml
    <extension point="event" target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService">
        <documentation>Log after annotation events</documentation>
        <event name="annotationCreated"/>
        <event name="annotationUpdated"/>
        <event name="annotationDeleted"/>
      </extension>
  • nuxeo-platform-webapp-base-7.10-HF07.jar /OSGI-INF/user-registration-contrib.xml
    <extension point="event" target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService">
        <event name="registrationSubmitted"/>
        <event name="registrationAccepted"/>
        <event name="registrationValidated"/>
      </extension>
  • nuxeo-platform-collections-core-7.10-HF03.jar /OSGI-INF/collection-audit-contrib.xml
    <extension point="event" target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService">
        <event name="addedToCollection"/>
        <event name="removedFromCollection"/>
      </extension>
  • nuxeo-routing-core-7.10-HF07.jar /OSGI-INF/routing-audit-contrib.xml
    <extension point="event" target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService">
        <event name="auditLogRoute"/>
        <event name="workflowTaskAssigned"/>
        <event name="workflowTaskReassigned"/>
        <event name="workflowTaskCompleted"/>
        <event name="workflowCanceled"/>
        <event name="workflowTaskDelegated"/>
        <event name="afterWorkflowStarted">
          <extendedInfos>
            <extendedInfo expression="${message.properties.modelId}" key="modelId"/>
            <extendedInfo expression="${message.properties.modelName}" key="modelName"/>
            <extendedInfo expression="${message.properties.workflowInitiator}" key="workflowInitiator"/>
            <extendedInfo expression="${message.properties.workflowVariables}" key="workflowVariables"/>
          </extendedInfos>
        </event>
        <event name="afterWorkflowFinish">
          <extendedInfos>
            <extendedInfo expression="${message.properties.modelId}" key="modelId"/>
            <extendedInfo expression="${message.properties.modelName}" key="modelName"/>
            <extendedInfo expression="${message.properties.workflowInitiator}" key="workflowInitiator"/>
            <extendedInfo expression="${message.properties.timeSinceWfStarted}" key="timeSinceWfStarted"/>
            <extendedInfo expression="${message.properties.workflowVariables}" key="workflowVariables"/>
          </extendedInfos>
        </event>
        <event name="beforeWorkflowCanceled">
          <extendedInfos>
            <extendedInfo expression="${message.properties.modelId}" key="modelId"/>
            <extendedInfo expression="${message.properties.modelName}" key="modelName"/>
            <extendedInfo expression="${message.properties.workflowInitiator}" key="workflowInitiator"/>
            <extendedInfo expression="${message.properties.pendingNodes}" key="pendingNodes"/>
            <extendedInfo expression="${message.properties.workflowVariables}" key="workflowVariables"/>
          </extendedInfos>
        </event>
        <event name="afterWorkflowTaskCreated">
          <extendedInfos>
            <extendedInfo expression="${message.properties.modelName}" key="modelName"/>
            <extendedInfo expression="${message.properties.modelId}" key="modelId"/>
            <extendedInfo expression="${message.properties.workflowInitiator}" key="workflowInitiator"/>
            <extendedInfo expression="${message.properties.taskName}" key="taskName"/>
            <extendedInfo expression="${message.properties.taskActor}" key="taskActor"/>
            <extendedInfo expression="${message.properties.actors}" key="actors"/>
            <extendedInfo expression="${message.properties.nodeVariables}" key="nodeVariables"/>
            <extendedInfo expression="${message.properties.workflowVariables}" key="workflowVariables"/>
            <extendedInfo expression="${message.properties.timeSinceWfStarted}" key="timeSinceWfStarted"/>
          </extendedInfos>
        </event>
        <event name="afterWorkflowTaskEnded">
          <extendedInfos>
            <extendedInfo expression="${message.properties.modelName}" key="modelName"/>
            <extendedInfo expression="${message.properties.workflowInitiator}" key="workflowInitiator"/>
            <extendedInfo expression="${message.properties.taskName}" key="taskName"/>
            <extendedInfo expression="${message.properties.taskActor}" key="taskActor"/>
            <extendedInfo expression="${message.properties.data}" key="data"/>
            <extendedInfo expression="${message.properties.action}" key="action"/>
            <extendedInfo expression="${message.properties.nodeVariables}" key="nodeVariables"/>
            <extendedInfo expression="${message.properties.workflowVariables}" key="workflowVariables"/>
            <extendedInfo expression="${message.properties.timeSinceTaskStarted}" key="timeSinceTaskStarted"/>
            <extendedInfo expression="${message.properties.timeSinceWfStarted}" key="timeSinceWfStarted"/>
          </extendedInfos>
        </event>
        <event name="afterWorkflowTaskReassigned">
          <extendedInfos>
            <extendedInfo expression="${message.properties.modelName}" key="modelName"/>
            <extendedInfo expression="${message.properties.modelId}" key="modelId"/>
            <extendedInfo expression="${message.properties.workflowInitiator}" key="workflowInitiator"/>
            <extendedInfo expression="${message.properties.taskName}" key="taskName"/>
            <extendedInfo expression="${message.properties.taskActor}" key="taskActor"/>
            <extendedInfo expression="${message.properties.actors}" key="actors"/>
            <extendedInfo expression="${message.properties.comment}" key="comment"/>
            <extendedInfo expression="${message.properties.timeSinceWfStarted}" key="timeSinceWfStarted"/>
            <extendedInfo expression="${message.properties.timeSinceTaskStarted}" key="timeSinceTaskStarted"/>
          </extendedInfos>
        </event>
        <event name="afterWorkflowTaskDelegated">
          <extendedInfos>
            <extendedInfo expression="${message.properties.modelName}" key="modelName"/>
            <extendedInfo expression="${message.properties.modelId}" key="modelId"/>
            <extendedInfo expression="${message.properties.workflowInitiator}" key="workflowInitiator"/>
            <extendedInfo expression="${message.properties.taskName}" key="taskName"/>
            <extendedInfo expression="${message.properties.taskActor}" key="taskActor"/>
            <extendedInfo expression="${message.properties.delegatedActors}" key="delegatedActors"/>
            <extendedInfo expression="${message.properties.comment}" key="comment"/>
            <extendedInfo expression="${message.properties.timeSinceWfStarted}" key="timeSinceWfStarted"/>
            <extendedInfo expression="${message.properties.timeSinceTaskStarted}" key="timeSinceTaskStarted"/>
          </extendedInfos>
        </event>
      </extension>
  • nuxeo-platform-publisher-core-contrib-7.10.jar /OSGI-INF/publisher-audit-contrib.xml
    <extension point="event" target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService">
    
        <event name="documentPublished"/>
        <event name="documentUnPublished"/>
        <event name="documentSubmitedForPublication"/>
        <event name="documentPublicationRejected"/>
        <event name="documentPublicationApproved"/>
        <event name="documentWaitingPublication"/>
    
      </extension>
  • nuxeo-platform-audit-core-7.10-HF01.jar /OSGI-INF/nxaudit-service.xml
    <extension point="event" target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService">
        <documentation>
          Those default auditable events match Nuxeo core base events.
          <p/>
          If you are sending new Nuxeo core events and want them audited, this is
          the place to declare them NXAudit side.
        </documentation>
    
        <event name="documentCreated"/>
        <event name="documentCreatedByCopy"/>
        <event name="documentDuplicated"/>
        <event name="documentMoved"/>
        <event name="documentRemoved"/>
        <event name="documentModified"/>
        <event name="documentLocked"/>
        <event name="documentUnlocked"/>
        <event name="documentSecurityUpdated"/>
        <event name="lifecycle_transition_event"/>
        <event name="loginSuccess"/>
        <event name="loginFailed"/>
        <event name="logout"/>
        <event name="documentCheckedIn"/>
        <event name="versionRemoved"/>
        <event name="documentProxyPublished"/>
        <event name="sectionContentPublished"/>
        <event name="documentRestored"/>
        <event name="download"/>
      </extension>
  • nuxeo-platform-user-registration-web-7.10-HF06.jar /OSGI-INF/user-registration-contrib.xml
    <extension point="event" target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService">
        <event name="registrationSubmitted"/>
        <event name="registrationAccepted"/>
        <event name="registrationValidated"/>
      </extension>
  • nuxeo-elasticsearch-audit-7.10.jar /OSGI-INF/es-audit-search-contrib.xml
    <extension point="event" target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService">
    		<event name="search">
    			<extendedInfos>
    				<extendedInfo expression="${message.properties.searchDocumentModelAsJson}" key="searchDocumentModel"/>
    				<extendedInfo expression="${message.properties.aggregates}" key="aggregates"/>
    				<extendedInfo expression="${message.properties.aggregatesMatches}" key="aggregatesMatches"/>
    				<extendedInfo expression="${message.properties.effectiveQuery}" key="effectiveQuery"/>
    				<extendedInfo expression="${message.properties.pageIndex}" key="pageIndex"/>
    				<extendedInfo expression="${message.properties.resultsCountInPage}" key="resultsCountInPage"/>
    				<extendedInfo expression="${message.properties.resultsCount}" key="resultsCount"/>
    				<extendedInfo expression="${message.properties.pageProviderName}" key="pageProviderName"/>
    				<extendedInfo expression="${message.properties.queryParams}" key="queryParams"/>
    				<extendedInfo expression="${message.properties.params}" key="params"/>
    				<extendedInfo expression="${message.properties.executionTimeMs}" key="executionTimeMs"/>
    				<extendedInfo expression="${message.properties.searchFields}" key="searchFields"/>										
    			</extendedInfos>
    		</event>
    	</extension>
  • nuxeo-platform-signature-web-7.10.jar /OSGI-INF/audit-contrib.xml
    <extension point="event" target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService">
        <documentation>Log signing events</documentation>
        <event name="documentSigned"/>
      </extension>
  • nuxeo-platform-relations-web-7.10-HF05.jar /OSGI-INF/audit-contrib.xml
    <extension point="event" target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService">
        <documentation>Log after relation events</documentation>
        <event name="afterRelationCreation"/>
        <event name="afterRelationModification"/>
        <event name="afterRelationRemoval"/>
      </extension>