@@ -2,6 +2,19 @@
|
||||
|
||||
return [
|
||||
|
||||
'malware' => [
|
||||
'scanner' => env('MALWARE_SCANNER', 'clamd'),
|
||||
'host' => env('CLAMD_HOST', '127.0.0.1'),
|
||||
'port' => (int) env('CLAMD_PORT', 3310),
|
||||
'timeout_seconds' => (int) env('CLAMD_TIMEOUT_SECONDS', 120),
|
||||
'max_signature_age_hours' => (int) env('CLAMD_MAX_SIGNATURE_AGE_HOURS', 48),
|
||||
'max_file_bytes' => (int) env('CLAMD_MAX_FILE_BYTES', 20971520),
|
||||
'max_stream_bytes' => (int) env('CLAMD_MAX_STREAM_BYTES', 26214400),
|
||||
'max_decompressed_bytes' => (int) env('CLAMD_MAX_DECOMPRESSED_BYTES', 104857600),
|
||||
'max_archive_entries' => (int) env('CLAMD_MAX_ARCHIVE_ENTRIES', 1000),
|
||||
'max_attempts' => (int) env('MALWARE_SCAN_MAX_ATTEMPTS', 3),
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Third Party Services
|
||||
|
||||
Reference in New Issue
Block a user