Audit

Using the database module, provides an audit framework for tracking changes

Technology

The audit module provides a comprehensive audit framework for Project Forge applications. It enables detailed tracking of user actions, data changes, and system events with minimal performance overhead.

Overview

This module provides enterprise-grade audit logging capabilities that integrate seamlessly with your application’s existing data models and workflows.

Key Features: - Change Tracking: Automatic diff generation for object modifications - Action Logging: High-level user action tracking with metadata - Performance Optimized: Asynchronous logging with minimal latency impact - Flexible Storage: Works with any database supported by the database module - Web Interface: Built-in admin interface for viewing and managing audit logs

Core Components

Audit Records

Service Layer

Web Interface

Package Structure

Controllers

Libraries

Dependencies

Required Modules: - database - Provides database connectivity and migrations

Recommended Modules: - export - Enables audit logs in generated code - user - Provides user context for audit entries

Configuration

The audit module automatically creates the necessary database tables during application startup. No additional configuration is required for basic functionality.

Source Code

See Also