/opt/imunify360/venv/lib/python3.11/site-packages/im360/simple_rpc/__pycache__
� ��.��ܟ� �l � d dl mZ d dlmZ d dlmZ d dlmZmZ d dl m Z G d� dej � � ZdS ) � )�lookup)�Scope)�ControlPanelConfig)�get_advice_notifications�make_advice)�sync_advicesc � � e Zd Zej Z ej dd� � d� � � Z ej dd� � d� � � Z ej dd� � d� � � Z dS ) �SmartAdviceEndpointszsmart-advice� notificationsc � �J K � t j sg S t � � � d {V ��S )N)r �SMART_ADVICE_ALLOWEDr ��selfs �R/opt/imunify360/venv/lib/python3.11/site-packages/im360/simple_rpc/smart_advice.py�smart_advice_notificationsz/SmartAdviceEndpoints.smart_advice_notifications s4 � � � �!�6� ��I�-�/�/�/�/�/�/�/�/�/� zget-optionsc � �8 K � t j t j d�S )N)�mu_plugin_installation�advice_email_notification)r r �ADVICE_EMAIL_NOTIFICATIONr s r �smart_advice_get_optionsz-SmartAdviceEndpoints.smart_advice_get_options s# � � � � '9�&M�);�)U� � � r �syncc � � K � t j sg S t � � � d {V ��}t |� � � d {V ��}|rg S t d� � �)NzFailed to sync advices)r r r r � Exception)r �advices�oks r �sync_smart_advicez&SmartAdviceEndpoints.sync_smart_advice sl � � � �!�6� ��I�#� � �%�%�%�%�%�%����(�(� (� (� (� (� (� (�� � 6��I��4�5�5�5r N)�__name__� __module__�__qualname__r �IM360�SCOPEr �bindr r r � r r r r s� � � � � � ��K�E��V�[���1�1�0� 0� 2�1�0� �V�[���/�/� � � 0�/� � �V�[���(�(�6� 6� )�(�6� 6� 6r r N) �defence360agent.rpc_toolsr �defence360agent.utilsr � defence360agent.contracts.configr �/defence360agent.myimunify.advice.advice_managerr r �9defence360agent.myimunify.advice.hosting_smart_advice_apir � RootEndpointsr r$ r r �<module>r+ s� �� ,� ,� ,� ,� ,� ,� '� '� '� '� '� '� ?� ?� ?� ?� ?� ?�� � � � � � � �� � � � � � 6� 6� 6� 6� 6�6�/� 6� 6� 6� 6� 6r
.
Edit
..
Edit
__init__.cpython-311.opt-1.pyc
Edit
__init__.cpython-311.pyc
Edit
configuration_management.cpython-311.opt-1.pyc
Edit
configuration_management.cpython-311.pyc
Edit
conflicts.cpython-311.opt-1.pyc
Edit
conflicts.cpython-311.pyc
Edit
control_panel.cpython-311.opt-1.pyc
Edit
control_panel.cpython-311.pyc
Edit
countries.cpython-311.opt-1.pyc
Edit
countries.cpython-311.pyc
Edit
csf_imports.cpython-311.opt-1.pyc
Edit
csf_imports.cpython-311.pyc
Edit
custom_lists.cpython-311.opt-1.pyc
Edit
custom_lists.cpython-311.pyc
Edit
disabled_rules.cpython-311.opt-1.pyc
Edit
disabled_rules.cpython-311.pyc
Edit
feature.cpython-311.opt-1.pyc
Edit
feature.cpython-311.pyc
Edit
health.cpython-311.opt-1.pyc
Edit
health.cpython-311.pyc
Edit
hosting_panel.cpython-311.opt-1.pyc
Edit
hosting_panel.cpython-311.pyc
Edit
incidents.cpython-311.opt-1.pyc
Edit
incidents.cpython-311.pyc
Edit
kcarectl.cpython-311.opt-1.pyc
Edit
kcarectl.cpython-311.pyc
Edit
lists.cpython-311.opt-1.pyc
Edit
lists.cpython-311.pyc
Edit
malware.cpython-311.opt-1.pyc
Edit
malware.cpython-311.pyc
Edit
middleware.cpython-311.opt-1.pyc
Edit
middleware.cpython-311.pyc
Edit
proactive.cpython-311.opt-1.pyc
Edit
proactive.cpython-311.pyc
Edit
remote_proxy.cpython-311.opt-1.pyc
Edit
remote_proxy.cpython-311.pyc
Edit
resident_socket.cpython-311.opt-1.pyc
Edit
resident_socket.cpython-311.pyc
Edit
schema.cpython-311.opt-1.pyc
Edit
schema.cpython-311.pyc
Edit
smart_advice.cpython-311.opt-1.pyc
Edit
smart_advice.cpython-311.pyc
Edit
smtp_blocking.cpython-311.opt-1.pyc
Edit
smtp_blocking.cpython-311.pyc
Edit
unavailable_on_freemium.cpython-311.opt-1.pyc
Edit
unavailable_on_freemium.cpython-311.pyc
Edit
uninstall_cleanup.cpython-311.opt-1.pyc
Edit
uninstall_cleanup.cpython-311.pyc
Edit
validate.cpython-311.opt-1.pyc
Edit
validate.cpython-311.pyc
Edit
whitelist_rbl.cpython-311.opt-1.pyc
Edit
whitelist_rbl.cpython-311.pyc
Edit
whitelisted_crawlers.cpython-311.opt-1.pyc
Edit
whitelisted_crawlers.cpython-311.pyc
Edit
whitelisted_domains.cpython-311.opt-1.pyc
Edit
whitelisted_domains.cpython-311.pyc
Edit