Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

groupserver/Products.GSAuditTrail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Products.GSAuditTrail

The audit-trail for GroupServer

Author: Michael JasonSmith
Contact: Michael JasonSmith <mpj17@onlinegroups.net>
Date: 2015-02-16
Organization: GroupServer.org
Copyright: This document is licensed under a Creative Commons Attribution-Share Alike 4.0 International License by OnlineGroups.Net.

Introduction

The audit trail system in GroupServer is a variant of a structured log file, kept in an SQL database table. A base class provides a very basic system for mapping audit-objects to rows in a relational database

Table

The audit_event table defines the information about each event.

id:
A unique identifier for the event, for potential linking of the event to other tables.
event_date:
The date and time of the event.
subsystem:
The subsystem related to the event (eg. email, profile, group).
event_code:
The event code (eg. notification, bounce, verification request, verified). This is subsystem specific.
user_id:
The ID of the actor initiating the event. This may be null if it is the system acting.
instance_user:
The ID of the user being acted upon. This may be null if the ID cannot be identified (for example, a bounce for an unknown email address).
site_id:
-- The site ID related to the event, if applicable.
group_id:
The group ID related to the event, if applicable.
instance_datum:
Data that may be required to assist in distinguishing this specific instance of the event. For example, the email address being sent a verification_request.
supplementary_datum:
Data related to the event, that may prove useful as part of the log. For example, the actual bounce email in the event of a bounce, or a message entered by the administrator explaining a user ban.

Base class

The Products.GSAuditTrail.BasicAuditEvent provides a basic class that more specific audit-event class.

Resources

About

The Audit Trail system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages