You are viewing limited content. For full access, please sign in.

Discussion

Discussion

Are all events generated by a custom SDK script recorded in Audit Trail (on prem, v11)?

posted two days ago

I was running some workflow tests earlier using a custom SDK script to export documents from a search to a Windows folder. Looking through the audit logs though I can only see that logon and logoff are showing, despite the events being configured to be recorded in the LF Admin Console.

As a test, I logged into the desktop client and exported some documents as the same user configured for workflow and I then do see the export events appear?

Workflow Custom SDK Export:



Windows Client Export:

0 0
replied two days ago

When an application using the SDK retrieves document data, the Laserfiche server is able to record that as a read or view event. However, the Laserfiche server has no way of knowing what that application does with the document. So if the application sends that data outside its control, it is responsible for reporting the export event. In the simplest case, the code would look something like:

AuditEvent myAuditEvent = new AuditEvent(AuditEventType.ExportDocument, sess);
myAuditEvent.ReportAuditEvent(doc);

Note that there are additional properties where you can set page ranges, audit reasons, file formats, and watermarks, if any of that is relevant to you.

3 0
replied two days ago

Thanks Brian, that's good to know if the need arises. Not an issue for now though but thanks for the clarification.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.