Auditorias

cancel
Showing results for 
Search instead for 
Did you mean: 
leticiafloresfr
Member II

Auditorias

Hola:
Leí en la wiki sobre habilitar autoria.

Se agrego la siguiente linea a el archivo de configuración
global.properties.

audit.alfresco-access.enabled=true

Ahora la pregunta es si en el log de Alfresco y catalina podre observar
algún dato sobre los usuarios que inicien sesión ???

Gracias por sus comentarios.

5 Replies
angelborroy
Alfresco Employee

Re: Auditorias

Para que los datos de auditoría aparezcan en el log, tendrás que añadir las siguientes líneas en el log4j.properties de la webapp alfresco

<javascript>
log4j.appender.File.Threshold=debug
log4j.logger.org.alfresco.repo.audit.access.AccessAuditor=debug
</javascript>

O puedes acceder a los datos de auditoría mediante Alfresco Repo (http://localhost:8080/alfresco), seleccionado la plantilla <CODE>show_audit.ftl</CODE> en la previsualización de un archivo. Finalmente, también puedes acceder mediante Alfresco Share (http://localhost:8080/share) instalando un addon específico (https://github.com/share-extras/audit-dashlet).
Hyland Developer Evangelist
leticiafloresfr
Member II

Re: Auditorias

Hola Angel.
Gracias.
Tambien lei algo sobre habilitar este archivo.

<alf_home>\tomcat\shared\classes\alfresco\extension\audit\alfresco-audit-example-login.xml

You will need to remove the ".sample" extension to make the file available. Please note this requires a restart of the server. Once you make that change you can then be able to access the auditing information. The easiest way to access it is to use curl.

http://curl.haxx.se/docs/manpage.html

You might already have curl installed in your rhel server. Type in the following command to get information on who's logged in.

curl -u admin:admin "http://localhost:8080/alfresco/service/api/audit/query/AuditExampleLogin1?verbose=true"

For further details please read the following wiki:

https://wiki.alfresco.com/wiki/Auditing_%28from_V3.4%29#Worked_Examples

Probare tambien con lo que sugieres en mi ambiente de pruebas, te comentare mi resultado.

Gracias por tu respuesta.
Saludos.
leticiafloresfr
Member II

Re: Auditorias

Hola Angel.
En efecto al agregar las dos lineas que me indicas he resuelto lo que se necesitaba.
Muchas gracias.
jonvargas
Active Member

Re: Auditorias

Hola,

También existe:

http://fcorti.com/alfresco-audit-analysis-reporting/

Por si quieres echar un vistazo. Es una solución más completa.

Saludos.
leticiafloresfr
Member II

Re: Auditorias

Gracias Jon !!
echare un vistazo
Saludos.