<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Audit log folder access in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/audit-log-folder-access/m-p/144769#M38402</link>
    <description>&lt;P&gt;Ok - thanks a lot for clearifying this&lt;/P&gt;</description>
    <pubDate>Mon, 10 May 2021 10:41:04 GMT</pubDate>
    <dc:creator>akring</dc:creator>
    <dc:date>2021-05-10T10:41:04Z</dc:date>
    <item>
      <title>Audit log folder access</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/audit-log-folder-access/m-p/144767#M38400</link>
      <description>&lt;P&gt;I cannot see audit log entries for folder access of normal users (user access to &lt;STRONG&gt;content nodes&lt;/STRONG&gt; is available in the audit logs). I am using the following audit settings:&lt;/P&gt;&lt;PRE&gt;audit.alfresco-access.enabled=true
audit.filter.alfresco-access.default.enabled=true
audit.filter.alfresco-access.transaction.path=/app:company_home/st:sites/.*
audit.filter.alfresco-access.default.path=/app:company_home/st:sites/.*&lt;/PRE&gt;&lt;P&gt;apart from these default setting provided by the &lt;FONT face="courier new,courier"&gt;repository.properties&lt;/FONT&gt; file:&lt;/P&gt;&lt;PRE&gt;# Audit configuration
audit.enabled=true
audit.tagging.enabled=true
audit.alfresco-access.enabled=false
audit.alfresco-access.sub-actions.enabled=false
audit.cmischangelog.enabled=false
audit.dod5015.enabled=false
# Setting this flag to true will force startup failure when invalid audit configurations are detected
audit.config.strict=false
# Audit map filter for AccessAuditor - restricts recorded events to user driven events 
audit.filter.alfresco-access.default.enabled=false
audit.filter.alfresco-access.transaction.user=~System;~null;.*
audit.filter.alfresco-access.transaction.type=cm:folder;cm:content;st:site
audit.filter.alfresco-access.transaction.path=~/sys:archivedItem;~/ver:;.*&lt;/PRE&gt;&lt;P&gt;As I understand it the setting above should ensure that user access to folders is audit logged, but doing a&lt;/P&gt;&lt;PRE&gt;$ curl -X GET -u admin:admin 'http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/a9099aa6-25eb-4b2d-98c3-f234ceaed2b8/audit-entries?maxItems=100'&lt;/PRE&gt;&lt;P&gt;where a9099aa6-25eb-4b2d-98c3-f234ceaed2b8 is the nodeId of a folder just returns a single entry which is a result of the creation of the node by the admin user. The following calls from the network tab in the browser inspector reveals that the folder node actually has been visited by a normal user (username = bruce):&lt;/P&gt;&lt;PRE&gt;https://some.domain/alfresco/api/-default-/public/alfresco/versions/1/nodes/a9099aa6-25eb-4b2d-98c3-f234ceaed2b8?fields=isFile%2CparentId%2Cid&lt;BR /&gt;https://some.domain/alfresco/api/-default-/public/alfresco/versions/1/nodes/a9099aa6-25eb-4b2d-98c3-f234ceaed2b8?include=path%2Cproperties%2CallowableOperations%2Cpermissions%2CaspectNames&lt;BR /&gt;https://some.domain/alfresco/api/-default-/public/alfresco/versions/1/nodes/a9099aa6-25eb-4b2d-98c3-f234ceaed2b8/children?maxItems=2147483647&amp;amp;orderBy=isFolder%20desc%2Cname%20asc&amp;amp;include=path%2Cproperties%2CallowableOperations%2Cpermissions%2CaspectNames&amp;amp;includeSource=true&lt;/PRE&gt;&lt;P&gt;So I am a bit puzzled why the above folder access from the user bruce is not shown in the audit log. Any ideas why this could be?&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 12:00:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/audit-log-folder-access/m-p/144767#M38400</guid>
      <dc:creator>akring</dc:creator>
      <dc:date>2021-05-06T12:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Audit log folder access</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/audit-log-folder-access/m-p/144768#M38401</link>
      <description>&lt;P&gt;Regular read access to nodes is not logged via alfresco-access - neither for content nor folders. The only read-access that is logged is an explicit content access, which obviously only applies to nodes of type content or which have any other type/aspect defining a content property. In the audit entry this content access should be appropriately be listed as a "readContent" action / event, not to be confused with a metadata / listing read access.&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 07:52:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/audit-log-folder-access/m-p/144768#M38401</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2021-05-07T07:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Audit log folder access</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/audit-log-folder-access/m-p/144769#M38402</link>
      <description>&lt;P&gt;Ok - thanks a lot for clearifying this&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 10:41:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/audit-log-folder-access/m-p/144769#M38402</guid>
      <dc:creator>akring</dc:creator>
      <dc:date>2021-05-10T10:41:04Z</dc:date>
    </item>
  </channel>
</rss>

