6h@\dZddlZd\ZZZd\ZZZZdZ dZ dZ dZ dZ dZdZd Zd Zd ZdS) u  This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program.  If not, see . Copyright © 2019 Cloud Linux Software Inc. This software is also available under ImunifyAV commercial license, see N)notifycleanupcleanup_on_schedule)nonedayweekmonthicfd}|S)Nc"||S|SN)valuecoerces @/opt/imunify360/venv/share/imunify360/config_schema/antivirus.pyfznullable..f*s =Lve}}r)rrs` rnullabler)s# Hrcjtjds|Sd|vr |dsd|d<|S)zA To prevent turning off MyImunify if feature flag exists z'/var/imunify360/myimunify-freemium.flagenableT)ospathexists) myimunifys rmyimunify_rulesr2sF 7>>C D D9Yx%8" ( rcbidddtdddddd dd d d id d dddd dtddddid ddiddd d ddttttgdddd d dddd dddd dddd dddd dddd ddddddddd ddd ddd dt tddd!d"dtd#d$d%dtd&d$d'dtd&d$d(dd ddd)dd d ddd dddd dddd ddd*id d+ddt t ttgtd,dtd-d.d/d0dtd-d1d-d0dtdd2dd0d3id d4ddtdd1td0dtdd1td0dtd5tddtdd1d6d0dtdd1d6d0dtd5d5dd7id d8ddd d dtdd9dd:id d;ddtdd1td0dtdd1td0dtddd?ddd iid d@dd?ddd iid dAddBdCdid gdDdd dddEid dFdd?dd d iid dGdddddddddddd ddd ddddd ddd d ddd d dHdIdd dddd d ddJ id dKdddLd ddMd dd d dNid dOddddPdQdtt fdd d ddRd dSidTdUddVddd iid dWddXdd d iid S)YNBACKUP_RESTOREdictintegerZ)typermindefaultbooleanTr#r%F)max_days_in_backupcl_backup_allowedcl_on_premise_backup_allowedr#schemar%MALWARE_CLEANUP)trim_file_instead_of_removalkeep_original_files_daysMALWARE_SCANNINGtry_restore_from_backup_firstdefault_actionstring)r#r%allowednotify_on_detectenable_scan_inotifyoptimize_realtime_scanenable_scan_modsecsends_file_for_analysisenable_scan_pure_ftpdscan_modified_files)r#r%rcloud_assisted_scan rapid_scanr#rr%,rapid_scan_rescan_unchanging_files_frequency)r#rrr%max_signature_size_to_scani)r#rr%max_cloudscan_size_to_scani@max_mrs_upload_file detect_elf hyperscan)enable_scan_cpanelcrontabsdetect_admin_toolsMALWARE_SCAN_SCHEDULE)r#r5r%r)r#rr$maxr%)intervalhour day_of_week day_of_monthMALWARE_SCAN_INTENSITYir )cpuioram user_scan_cpu user_scan_io user_scan_ramMALWARE_DATABASE_SCAN)r db_timeoutRESOURCE_MANAGEMENTr ) cpu_limitio_limit ram_limitERROR_REPORTINGrSEND_ADDITIONAL_DATAADMIN_CONTACTSlistr#)r#r,rr%)emailsenable_icontact_notificationsPATCHMAN PERMISSIONSuser_override_pd_rules)r#rr%r) support_formadvisoruser_ignore_listupgrade_buttonallow_malware_scanuser_override_malware_actionsuser_override_proactive_defense*allow_local_malware_ignore_list_managementuse_plesk_service_planLOGGERi)max_log_file_size backup_countsyscall_monitor SECURE_SITErreadonlyr# MY_IMUNIFY3https://{{ your billing system host }}:?{{ port }}/rpurchase_page_urlr#rr,r% CONTROL_PANELgeneric_user_notifications WORDPRESSsecurity_plugin_enabled)intCLEANUPNOTIFYCLEANUP_ON_SCHEDULErNONEDAYWEEKMONTHDEFAULT_INTENSITY_CPUDEFAULT_INTENSITY_IODEFAULT_INTENSITY_RAM%DEFAULT_RESOURCE_MANAGEMENT_CPU_LIMIT$DEFAULT_RESOURCE_MANAGEMENT_IO_LIMIT%DEFAULT_RESOURCE_MANAGEMENT_RAM_LIMITrrrrrget_root_configr=sY &!! ''&#&& &$11 %  Y * &#11 &!! --    +Y J ^/%$22^ !$& &1DE## ^#%$%%^&%#((^$)%#++%^,%%#''-^4*%#,,5^<(%#**=^D&%# $((E^N&%#((O^V% %#W^`?%&smm $# AAa^l-%!&//m^v-%!(//w^@&%!(((A^J% %#K^T% %$U^`& %#'' & %# & %#''s^^^~Cb b KY P % $c47# &! &!   &! !!)8=" " QY P !&!4 &!3 &!4 &! ""&! !!&!# ""G))TY-# -# QY l &$ &!!   " " mY L &!D &!C &!D ,1  MY @ )!E!EF  AY J %#  ! ! KY ^ #%x0 %! & %#22    _Y @ %$    A Y T & $#!! & $# & $$%% & %### & $$'' & %$22 & %$6 44& %#?? & %$++U//`e3 3 U Y | &'&& & !! -6%#H#H    } Y \    ] Y h _-&$ %M&&    i Y J ,%#//    K Y ^ )%$,,    _ Y Yrc ddddddddiiddd dtttgdd d ddd d iddddddttfd ddd dddidddd ddd iiddS)Nrr(r Tc$|ot|Sr)r)xs rz%get_non_root_config..s c!ffrr!)r#rrr$r%r+r4)r#r%r5rr&r?)r3r2ryFr'r|r}rr)rr1rxr{r)rrrrrrrrget_non_root_configrs#$% $44# ''   %# &1DE $ ##& $#22    "%)dFKK_-&$ %M&&    $,% $#//   c< < <r)__doc__rrrrrrrrrrrrrrrrrrrrrrs* ($$ 8c4()%'($(+%   ZZZz =====r