<?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 How to check the audit configuration ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-check-the-audit-configuration/m-p/126669#M89100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to write a specific AuditComponent so as to make use of audit facts before sending them to the database. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have studied for hours the code about auditing services in alfresco (org.alfresco.repo.audit and its subpackages) but I still don't understand where exactly in the code it is specifies to audit an entry if the auditConfig.xml file specifies to do so. With my AuditComponent implementation, every audit entry annotated as @Auditable in the classes is been auditing, and that is too much information for me (actually the default auditConfig.xml file would be a fine auditing configuration, if only I could apply it !)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If someone knows about auditing services and could explain me that particular point, I would be grateful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Damien&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2007 07:45:44 GMT</pubDate>
    <dc:creator>dcram</dc:creator>
    <dc:date>2007-10-15T07:45:44Z</dc:date>
    <item>
      <title>How to check the audit configuration ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-check-the-audit-configuration/m-p/126669#M89100</link>
      <description>Hi, I am trying to write a specific AuditComponent so as to make use of audit facts before sending them to the database. I have studied for hours the code about auditing services in alfresco (org.alfresco.repo.audit and its subpackages) but I still don't understand where exactly in the code it is sp</description>
      <pubDate>Mon, 15 Oct 2007 07:45:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-check-the-audit-configuration/m-p/126669#M89100</guid>
      <dc:creator>dcram</dc:creator>
      <dc:date>2007-10-15T07:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the audit configuration ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-check-the-audit-configuration/m-p/126670#M89101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The config is in auditConfig.xml. The method interceptor will pick up all methods with the annotation - for read access nothing should be audited.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you saying you see all this information in the audit tables?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See auditImpl in AuditComponentImpl and how it works out the the audit mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 09:55:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-check-the-audit-configuration/m-p/126670#M89101</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2007-10-23T09:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the audit configuration ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-check-the-audit-configuration/m-p/126671#M89102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, the information in the audit tables are the one defined in auditConfig.xml, as exepcted. I was trying to catch the audit states before they go into db, but I had actually added my code at the wrong place. Now, it is in the auditImpl method of AuditComponentImpl and it works fine, thanks &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But there are other points that I may have not understood well about auditing the repository services:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - I have read that the "auditInternal" attrubute is not yet used (&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Audit" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Audit&lt;/A&gt;&lt;SPAN&gt;), but I don't understand what this attribute is intended to…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Could you also explain me the difference between AuditInfo and AuditState? I am a bit confused that a variable "auditInfo" is sometimes declared as an AuditState.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Damien&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 10:50:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-check-the-audit-configuration/m-p/126671#M89102</guid>
      <dc:creator>dcram</dc:creator>
      <dc:date>2007-10-23T10:50:57Z</dc:date>
    </item>
  </channel>
</rss>

