<?php

return [
    'retention_days' => (int) env('AUDIT_RETENTION_DAYS', 365),
    'log_page_views' => (bool) env('AUDIT_LOG_PAGE_VIEWS', false),
    'allow_permanent_purge' => (bool) env('AUDIT_ALLOW_PERMANENT_PURGE', false),
    // Configure this as an object-lock/versioned disk in production (for example S3 Object Lock).
    'archive_disk' => env('AUDIT_ARCHIVE_DISK'),
    'archive_prefix' => env('AUDIT_ARCHIVE_PREFIX', 'audit-worm'),
    'require_archive_before_retention' => (bool) env('AUDIT_REQUIRE_ARCHIVE', true),
];
