Harden quarantine provisioning; enforce strict permissions and update Ansible and docs
This commit is contained in:
43
examples/upload-logger.json
Normal file
43
examples/upload-logger.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"modules": {
|
||||
"flood": true,
|
||||
"mime_sniff": true,
|
||||
"base64_detection": true,
|
||||
"quarantine": true,
|
||||
"archive_inspect": true
|
||||
},
|
||||
"paths": {
|
||||
"quarantine_dir": "./quarantine",
|
||||
"state_dir": "./state",
|
||||
"allowlist_file": "./allowlist.json"
|
||||
},
|
||||
"limits": {
|
||||
"max_size": 52428800,
|
||||
"raw_body_min": 512000,
|
||||
"sniff_max_bytes": 8192,
|
||||
"sniff_max_filesize": 2097152,
|
||||
"hash_max_filesize": 10485760,
|
||||
"flood_max_uploads": 40,
|
||||
"archive_max_entries": 200,
|
||||
"archive_max_inspect_size": 52428800
|
||||
},
|
||||
"ops": {
|
||||
"block_suspicious": false,
|
||||
"quarantine_enabled": true,
|
||||
"archive_block_on_suspicious": false,
|
||||
"log_user_agent": true,
|
||||
"trusted_proxy_ips": ["127.0.0.1", "::1"]
|
||||
},
|
||||
"allowlists": {
|
||||
"base64_uris": [],
|
||||
"ctypes": []
|
||||
},
|
||||
"detectors": {
|
||||
"content": {
|
||||
"sniff_max_bytes": 8192,
|
||||
"sniff_max_filesize": 2097152,
|
||||
"allow_xml_eval": false,
|
||||
"custom_patterns": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user