Foros de discusión

Audit in Liferay 7

thumbnail
Javier Solana, modificado hace 6 años.

Audit in Liferay 7

Junior Member Mensajes: 59 Fecha de incorporación: 26/06/14 Mensajes recientes
Hi, due to Data Protection Law requirements, we need to audit every admin access to our Liferay 7 project.

What we need is to register (for example in a custom table of the database) every access: userId, origin IP, and date time. Idealy, log also every page accessed and every action completed (view, edit, etc.)

I have seen that for Liferay 6 there is a module called Audit (hook and portlet), but could not find it for version 7.

Any advice about where I can find a solution? Or my only alternative is to develop my own module?

Thanks!
thumbnail
David H Nebinger, modificado hace 6 años.

RE: Audit in Liferay 7

Liferay Legend Mensajes: 14916 Fecha de incorporación: 2/09/06 Mensajes recientes
They are still there, Javier, it's just been integrated into the base product. And they still work in a way that is similar to the old way (send audit msg into LSB, listener extracts and persists in the DB ).

For your implementation, I'd do a post login component that checks the user roles to see if they are an admin and can publish the audit msg just as you might have done under 6.








Come meet me at the 2017 LSNA!