Last active
November 26, 2025 16:04
-
-
Save mikepage/b5afeab21ad95c5ea013d903af269ffd to your computer and use it in GitHub Desktop.
Imunify360 optimal config for DirectAdmin with CSF uninstalled
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Admin contact | |
| imunify360-agent config update '{"ADMIN_CONTACTS": {"emails": ["[email protected]"]}}' | |
| # General config with CSF not installed (CSF integration false) | |
| imunify360-agent config update '{"AUTO_WHITELIST": {"timeout": 1440}}' | |
| imunify360-agent config update '{"CONTROL_PANEL": {"compromised_user_admin_notification": true, "generic_user_notifications": true}}' | |
| imunify360-agent config update '{"CSF_INTEGRATION": {"catch_lfd_events": false}}' | |
| # Malware scanning | |
| imunify360-agent config update '{"MALWARE_SCANNING": {"detect_admin_tools": true, "notify_on_detect": true}}' | |
| imunify360-agent config update '{"MALWARE_SCAN_SCHEDULE": {"day_of_month": 1, "hour": 4, "interval": "day"}}' | |
| # Enable OSSEC | |
| imunify360-agent config update '{"OSSEC": {"active_response": true}}' | |
| # Enable Webshield | |
| imunify360-agent config update '{"WEBSHIELD": {"enable": true}}' | |
| # Enable PAM | |
| imunify360-agent config update '{"PAM": {"enable": true}}' | |
| imunify360-agent config update '{"PAM": {"exim_dovecot_protection": true}}' | |
| imunify360-agent config update '{"PAM": {"exim_dovecot_native": false}}' | |
| # Notifications -> Default emails + From | |
| imunify360-agent notifications-config update '{"admin": {"default_emails": [], "locale": "en", "notify_from_email": "immunify360@HOSTNAME"}}' | |
| # Notifications -> Custom malware scan | |
| imunify360-agent notifications-config update '{"rules": {"CUSTOM_SCAN_MALWARE_FOUND": {"ADMIN": {"admin_emails": ["default"], "enabled": true}, "SCRIPT": {"enabled": false, "scripts": []}}}}' | |
| # Notifications -> Realtime malware scan | |
| imunify360-agent notifications-config update '{"rules": {"REALTIME_MALWARE_FOUND": {"ADMIN": {"admin_emails": ["default"], "enabled": true, "period": 86400}, "SCRIPT": {"enabled": false, "period": 86400, "scripts": []}}}}' | |
| # Notifications -> Script blocked | |
| imunify360-agent notifications-config update '{"rules": {"SCRIPT_BLOCKED": {"ADMIN": {"admin_emails": ["default"], "enabled": true, "period": 86400}, "SCRIPT": {"enabled": false, "period": 86400, "scripts": []}}}}' | |
| # Notifications -> User malware scan | |
| imunify360-agent notifications-config update '{"rules": {"USER_SCAN_MALWARE_FOUND": {"ADMIN": {"admin_emails": ["default"], "enabled": true}, "SCRIPT": {"enabled": false, "scripts": []}}}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment