05-20-2009 08:18 AM
05-20-2009 04:23 PM
05-21-2009 12:26 PM
<?xml version='1.0' encoding='UTF-8'?>
<!– Default Audit Configuration –>
<Audit xmlns="http://www.alfresco.org/model/audit/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" enabled="true" auditInternal="false" mode="all">
<!– –>
<!– Global options –>
<!– –>
<!– Do not record any additional information –>
<RecordOptions>
<recordPath>false</recordPath>
<recordFilters>false</recordFilters>
<recordSerializedReturnValue>false</recordSerializedReturnValue>
<recordSerializedExceptions>false</recordSerializedExceptions>
<recordSerializedMethodArguments>false</recordSerializedMethodArguments>
<recordSerializedKeyPropertiesBeforeInvocation>false</recordSerializedKeyPropertiesBeforeInvocation>
<recordSerializedKeyPropertiesAferInvocation>false</recordSerializedKeyPropertiesAferInvocation>
</RecordOptions>
<!– –>
<!– Specific service options –>
<!– –>
<Service name="ServiceRegistry" mode="none" enabled="false"/>
<!– The action service –>
<Service name="ActionService" mode="none">
<Method name="executeAction" mode="all" auditInternal="true"/>
<Method name="saveAction" mode="all"/>
<Method name="removeAction" mode="all"/>
<Method name="removeAllActions" mode="all"/>
</Service>
<!– The COCI Service –>
<Service name="CheckoutCheckinService">
<Method name="getWorkingCopy" mode="none"/>
</Service>
<!– The DictionaryService –>
<!– There are no audtiable methods in the data dictionary service –>
<Service name="DictionaryService" mode="none" enabled="false"/>
<!– The Lock Service –>
<Service name="LockService">
<Method name="getLockStatus" mode="none"/>
<Method name="getLockType" mode="none"/>
<Method name="getLocks" mode="none"/>
</Service>
<!– The File/Folder Service –>
<Service name="FileFolderService" mode="none">
<Method name="rename" mode="all"/>
<Method name="move" mode="all"/>
<Method name="copy" mode="all" auditInternal="true"/>
<Method name="create" mode="all"/>
<Method name="delete" mode="all"/>
<Method name="makeFolders" mode="all"/>
<Method name="getWriter" mode="all"/>
<Method name="getReader" mode="all"/>
</Service>
<Service name="ContentService" mode="none">
<Method name="getWriter" mode="all"/>
<Method name="transform" mode="all"/>
<Method name="getReader" mode="all"/>
</Service>
<Service name="CopyService" mode="none">
<Method name="copy" mode="all" auditInternal="true"/>
</Service>
<!– The MimetypeService –>
<!– There are no audtiable methods in the mime type service –>
<Service name="MimetypeService" mode="none" enabled="false"/>
<!– The ContentFilterLanguagesService –>
<Service name="ContentFilterLanguagesService" mode="none" >
<Method name="getFilterLanguages" mode="all"/>
<Method name="getMissingLanguages" mode="all"/>
<Method name="getDefaultLanguage" mode="all"/>
</Service>
<Service name="NodeService" mode="none">
<Method name="createStore" mode="all"/>
<Method name="createNode" mode="all"/>
<Method name="moveNode" mode="all"/>
<Method name="setChildAssociationIndex" mode="all"/>
<Method name="setType" mode="all"/>
<Method name="addAspect" mode="all"/>
<Method name="removeAspect" mode="all"/>
<Method name="deleteNode" mode="all"/>
<Method name="addChild" mode="all"/>
<Method name="removeChild" mode="all"/>
<Method name="setProperties" mode="all"/>
<Method name="setProperty" mode="all"/>
<Method name="createAssociation" mode="all"/>
<Method name="removeAssociation" mode="all"/>
<Method name="restoreNode" mode="all"/>
</Service>
<Service name="ScriptService" auditInternal="true"/>
<Service name="TemplateService" auditInternal="true">
<Method name="getTemplateProcessor" mode="none"/>
</Service>
<Service name="RuleService" mode="none" auditInternal="true">
<Method name="disableRules" mode="all"/>
<Method name="enableRules" mode="all"/>
<Method name="disableRule" mode="all"/>
<Method name="enableRule" mode="all"/>
<Method name="createRule" mode="all"/>
<Method name="saveRule" mode="all"/>
<Method name="removeRule" mode="all"/>
<Method name="removeAllRules" mode="all"/>
</Service>
<Service name="CategoryService" mode="none">
<Method name="createClassifiction" mode="all"/>
<Method name="createRootCategory" mode="all"/>
<Method name="createCategory" mode="all"/>
<Method name="deleteClassification" mode="all"/>
<Method name="deleteCategory" mode="all"/>
</Service>
<Service name="SearchService" mode="none" enabled="false"/>
<Service name="AuthenticationService" mode="none">
<Method name="createAuthentication" mode="all"/>
<Method name="updateAuthentication" mode="all"/>
<Method name="setAuthentication" mode="all"/>
<Method name="deleteAuthentication" mode="all"/>
<Method name="setAuthenticationEnabled" mode="all"/>
<Method name="authenticate" mode="all"/>
<Method name="authenticateAsGuest" mode="all"/>
<Method name="authenticationExists" mode="all"/>
<Method name="invalidateUserSession" mode="all"/>
<Method name="invalidateTicket" mode="all"/>
<Method name="validate" mode="all"/>
<Method name="clearCurrentSecurityContext" mode="all"/>
</Service>
<Service name="AuthorityService" mode="none">
<Method name="createAuthority" mode="all"/>
<Method name="addAuthority" mode="all"/>
<Method name="removeAuthority" mode="all"/>
<Method name="deleteAuthority" mode="all"/>
</Service>
<Service name="OwnableService" mode="none">
<Method name="setOwner" mode="all"/>
<Method name="takeOwnership" mode="all"/>
</Service>
<Service name="PermissionService" mode="none">
<Method name="deletePermissions" mode="all"/>
<Method name="clearPermission" mode="all"/>
<Method name="deletePermission" mode="all"/>
<Method name="setPermission" mode="all"/>
<Method name="setInheritParentPermissions" mode="all"/>
</Service>
<Service name="PersonService" mode="none">
<Method name="setCreateMissingPeople" mode="all"/>
<Method name="setPersonProperties" mode="all"/>
<Method name="createPerson" mode="all"/>
<Method name="deletePerson" mode="all"/>
</Service>
<Service name="VersionService" mode="none">
<Method name="createVersion" mode="all"/>
<Method name="revert" mode="all"/>
<Method name="restore" mode="all"/>
<Method name="deleteVersionHistory" mode="all"/>
</Service>
<Service name="ExporterService"/>
<Service name="ImporterService"/>
<Service name="RepositoryExporterService"/>
<Service name="DescriptorService" mode="none" enabled="false"/>
<Service name="LicenseService" mode="none" enabled="false"/>
<Service name="NamespaceService" mode="none" enabled="false"/>
<Service name="TransactionService" mode="none" enabled="false"/>
<Service name="WorkflowService" auditInternal="true">
<Method name="isDefinitionDeployed" mode="none"/>
<Method name="getDefinitions" mode="none"/>
<Method name="getDefinitionById" mode="none"/>
<Method name="getDefinitionByName" mode="none"/>
<Method name="getActiveWorkflows" mode="none"/>
<Method name="getWorkflowPaths" mode="none"/>
<Method name="getTasksForWorkflowPath" mode="none"/>
<Method name="getTaskById" mode="none"/>
<Method name="getAssignedTasks" mode="none"/>
<Method name="getPooledTasks" mode="none"/>
</Service>
</Audit>
select fact.timestamp, convert(prop.string_value using utf8)
from alf_audit_fact fact
join alf_audit_source source
on fact.audit_source_id = source.id
and (
(source.service = 'ContentService' and source.method = 'getReader')
or (source.service = 'FileFolderService' and source.method = 'getReader')
)
join alf_node_status ns on ns.guid = fact.node_uuid
join alf_node_properties prop
on ns.node_id = prop.node_id
and prop.qname = '{http://www.alfresco.org/model/content/1.0}name'
where
fact.user_id = 'admin'
and fact.timestamp > ADDDATE(now(), -7)
Failed to execute SQL : SQL select fact.timestamp, convert(prop.string_value using utf8) from alf_audit_fact fact join alf_audit_source source on fact.audit_source_id = source.id and ( (source.service = 'ContentService' and source.method = 'getReader') or (source.service = 'FileFolderService' and source.method = 'getReader') ) join alf_node_status ns on ns.guid = fact.node_uuid join alf_node_properties prop on ns.node_id = prop.node_id and prop.qname = '{http://www.alfresco.org/model/content/1.0}name' where fact.user_id = 'admin' and fact.timestamp > ADDDATE(now(), -7) [b]failed : Table 'alfresco.alf_node_status' doesn't exist[/b]
select convert(prop.string_value using utf8)
from alf_audit_fact fact
right outer join alf_node_properties prop on fact.user_id = prop.string_value
where prop.qname = '{http://www.alfresco.org/model/content/1.0}userName'
and fact.user_id is null
05-27-2009 08:17 AM
select convert(prop.string_value using utf8)
from alf_audit_fact fact
right outer join alf_node_properties prop on fact.user_id = prop.string_value
where prop.qname_id = 44
and fact.user_id is null
select fact.timestamp, convert(prop.string_value using utf8)
from alf_audit_fact fact
join alf_audit_source source
on fact.audit_source_id = source.id
and (
(source.service = 'ContentService' and source.method = 'getReader')
or (source.service = 'FileFolderService' and source.method = 'getReader')
)
join alf_node node on node.uuid = fact.node_uuid
join alf_node_properties prop
on node.id = prop.node_id
and prop.qname_id = 14
where
fact.user_id = 'username'
and fact.timestamp > ADDDATE(now(), -7)
05-27-2009 10:41 AM
09-27-2010 08:27 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.