掲示板

Audit trail on documents

7年前 に Fabricio Alvarez によって更新されました。

Audit trail on documents

New Member 投稿: 4 参加年月日: 08/02/01 最新の投稿
Hello,

We would need to know the actions of users in Liferay site , in the handling of documents. For example:
- If a document was downloaded, which user, IP , at what time , etc.
- If a document was locked, by which user, etc.
- Also, knowing when a user enters the site , at which point , IP , etc.

We are evaluating the EE version (Liferay DXP 7.0) to purchase the subscription. The Audit Trail hook found that covers access to resources, but only for managing users and pages ( user login , access to pages , etc. )
That we not found and want to know if it is possible to have audit for actions on documents .

Thanks since now,
regards
Fabricio
thumbnail
7年前 に David H Nebinger によって更新されました。

RE: Audit trail on documents

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
Yes Audit can be used for docs too. The provided Audit framework is given as a template that you can use to add additional auditing.

For your example you'd want to add additional model listeners to trap the add/update events, maybe a service wrapper to trap lock events, and likely either a JSP hook or struts action override to trap downloads.

For the "knowing when user enters the site", this kind of info should already be trapped by the current post login hook implemented in the Auditing framework.







Come meet me at the LSNA!
7年前 に Fabricio Alvarez によって更新されました。

RE: Audit trail on documents

New Member 投稿: 4 参加年月日: 08/02/01 最新の投稿
Thanks David for the quick answer! Ok, but this functionality (audit trail for documents) is not included out of the box (even in EE version) ? , we dont want (and have no time in the project) to develop some custom hooks or write custom code (we thought it was a specific configuration in document & library for example) ...
thumbnail
7年前 に David H Nebinger によって更新されました。

RE: Audit trail on documents

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
Sorry, but the audit framework is just that, a framework.

It isn't completely flushed out because, honestly, every organization that would use auditing has their own set of requirements for what to capture and how much. They couldn't really develop a "one size fits all" solution, so Liferay provides a framework that you can use to implement your audit requirements.

Sorry it's not exactly what you're looking for, but you might try approaching Liferay sales or one of the Liferay partners. All of these entities would be able to help you implement your auditing requirements using the Audit framework, allowing you to focus on your business deliverables instead of the necessary Audit custom coding.





Come meet me at the LSNA!
7年前 に Fabricio Alvarez によって更新されました。

RE: Audit trail on documents

New Member 投稿: 4 参加年月日: 08/02/01 最新の投稿
Ok, I fully understand now, thanks David again for your answer!
Best regards,
Fabricio
thumbnail
6年前 に Denis Signoretto によって更新されました。

RE: Audit trail on documents

Expert 投稿: 375 参加年月日: 09/04/21 最新の投稿
Hi David,

for Liferay DXP version I didn't find any specific documentation. Can you tell me if exist documentation about all "audit hooks" available OOTB or whether the Audit Hooks reported in the related Wiki page is valid for Liferay DXP as well?.

Thanks,
Denis.
thumbnail
6年前 に David H Nebinger によって更新されました。

RE: Audit trail on documents

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
Some of the implementation stuff has changed slightly, Denis, but for the most part everything you find on my wiki page applies still to DXP. In fact, the audit module for DXP contains the same old audit message builder classes that I covered too.
thumbnail
6年前 に Denis Signoretto によって更新されました。

RE: Audit trail on documents

Expert 投稿: 375 参加年月日: 09/04/21 最新の投稿
Hi David,
thanks for your reply. To avoid misunderstanding "your" wiki page is the same I've linked or you are meaning a different one?
thumbnail
6年前 に David H Nebinger によって更新されました。

RE: Audit trail on documents

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
Sorry, Dennis, I didn't check the link. I originally authored https://web.liferay.com/community/wiki/-/wiki/Main/Adding+Auditing+Functionality+to+Portlets.

In either one, though, all of the concepts still pretty much apply to DXP and will help you understand Liferay auditing.
thumbnail
6年前 に Aldo De Vleeschauwer によって更新されました。

RE: Audit trail on documents

Junior Member 投稿: 35 参加年月日: 11/03/09 最新の投稿
Hi Denis,

I was also looking for more information and found the following:



Both articles by Antonio Musarra, very detailed, complete and have accompanying sample code. I found the first article only in Italian, probably not an issue for you. Google Translate is my friend emoticon

Aldo.