audit_log

Overview

The audit log object is used to store audit trail logs that are triggered by user actions in the administrator (or any other actions you wish to track).

Object name audit_log
Table name psys_audit_log
Path /preside-objects/admin/audit/audit_log.cfc

Properties

property name="detail"     type="string"  dbtype="longtext"                required=true;
property name="action"     type="string"  dbtype="varchar"  maxLength=100  required=true  indexes="action";
property name="type"       type="string"  dbtype="varchar"  maxLength=100  required=true  indexes="type";
property name="record_id"  type="string"  dbtype="varchar"  maxLength=100  required=false indexes="record_id";
property name="uri"        type="string"  dbtype="varchar"  maxLength=2083 required=true;
property name="user_ip"    type="string"  dbtype="varchar"  maxLength=255  required=true;
property name="user_agent" type="string"  dbtype="varchar"  maxLength=1024 required=false;

property name="user" relationship="many-to-one" relatedTo="security_user" required="true" indexes="user";

property name="datecreated" indexes="logged";