Nicolas Raoul
Nicolas Raoul

Reputation: 60203

Audit Alfresco Share previews

Obsolete Alfresco documentation says:

the download or preview of content are recorded as a single read

However, with Alfresco 5+ preview does not generate any audit event (I just tried).

QUESTION: How to make Alfresco log an audit event when someone previews a document on Alfresco Share? I am not too worried about thumbnails, but at least for the "Document Details" page:

Alfresco Share Document Details preview

Here is my audit application configuration:

audit.alfresco-access.enabled=true
audit.tagging.enabled=false
audit.filter.alfresco-access.default.enabled=true
audit.filter.alfresco-access.transaction.type=cm:folder;cm:content
audit.filter.alfresco-access.transaction.action=CREATE|READ|UPDATE CONTENT|CHECK IN|DELETE|COPY|MOVE
audit.audit-custom.enabled=true
audit.audit-custom.sub-actions.enabled=false

Upvotes: 2

Views: 334

Answers (1)

Younes Regaieg
Younes Regaieg

Reputation: 4156

Your filter for actions is not set right, Please note that you should be using ; for separating multiple possible values, not |. So, I think you should be able to get previews and downloads audited with:

audit.filter.alfresco-access.transaction.action=CREATE;READ;UPDATE CONTENT;CHECK IN;DELETE;COPY;MOVE

Please note also that you might want to audit one extra action : READCONTENT

Upvotes: 1

Related Questions