관리-도구
편집 파일: hooks.cpython-311.pyc
� IMg� � � � d dl Z d dlZd dlmZmZ d dlmZ d dlmZ G d� d� � Z G d� de� � Z G d � d e� � ZdS )� N)�Config�Core)�CachedConfigReader)�antivirus_modec � � e Zd Zed� � � Zedd�� � Zedd�� � Zed� � � Zed� � � Zed� � � Z ed � � � Z ed � � � Zed� � � Zedd �� � Z edd�� � Zedd�� � ZdS )�Schemac � � d| i d�S )N�dict)�type�schema�default� )�datas �T/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/contracts/hooks.pyr zSchema.dict s � � ��� � � � Nc �$ � dddi| rd| ini �dg d�S )N�listr �string�regexF�r r �nullabler r )r s r �list_of_stringszSchema.list_of_strings s? � � ����',�4�G�U�#�#�"�� �� � � r Tc �B � | rdnd}t � |� � S )Nz^.+@(.+\.)+.+|default$z^.+@(.+\.)+.+$)r r )�default_enabledr s r �list_of_emailszSchema.list_of_emails s. � � *9�O�%�%�>O� � �%�%�e�,�,�,r c � � ddt ddd�iS )N�period�integer� )r �coerce�minr )�intr r r r z Schema.period% s'