Back to Stirling Pdf

Audit System Help

app/proprietary/src/main/resources/templates/AUDIT_HELP.md

2.10.01.5 KB
Original Source

Audit System Help

About the Audit System

The Stirling PDF audit system records user actions and system events for security monitoring, compliance, and troubleshooting purposes.

Audit Levels

LevelNameDescriptionUse Case
0OFFMinimal auditing, only critical security eventsDevelopment environments
1BASICAuthentication events, security events, and errorsProduction environments with minimal storage
2STANDARDAll HTTP requests and operations (default)Normal production use
3VERBOSEDetailed information including headers, parameters, and resultsTroubleshooting and detailed analysis

Configuration

Audit settings are configured in the settings.yml file under the premium.proFeatures.audit section:

yaml
premium:
  proFeatures:
    audit:
      enabled: true           # Enable/disable audit logging
      level: 2                # Audit level (0=OFF, 1=BASIC, 2=STANDARD, 3=VERBOSE)
      retentionDays: 90       # Number of days to retain audit logs

Common Event Types

BASIC Events:

  • USER_LOGIN - User login
  • USER_LOGOUT - User logout
  • USER_FAILED_LOGIN - Failed login attempt
  • USER_PROFILE_UPDATE - User or profile operations

STANDARD Events:

  • HTTP_REQUEST - GET requests for viewing
  • PDF_PROCESS - PDF processing operations
  • FILE_OPERATION - File-related operations
  • SETTINGS_CHANGED - System or admin settings operations

VERBOSE Events:

  • Detailed versions of STANDARD events with parameters and results