OwlCyberSecurity - MANAGER
Edit File: custom_integration.cpython-311.pyc
� �#h� � �� � d Z ddlZddlZddlmZ ddlmZ ddlmZm Z m Z ddlZddlm Z mZ ej e� � Z G d� de� � Z G d � d � � Z G d� de� � 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 <https://www.gnu.org/licenses/>. Copyright © 2019 Cloud Linux Software Inc. This software is also available under ImunifyAV commercial license, see <https://www.imunify360.com/legal/eula> � N)�StrEnum)�Path)�Any�Dict�List)� check_run� nice_iteratorc � � e Zd ZdZdZdS )�PatchmanCustomIntegrationType�file�scriptN)�__name__� __module__�__qualname__�FILE�SCRIPT� � �U/opt/imunify360/venv/lib/python3.11/site-packages/imav/patchman/custom_integration.pyr r # s � � � � � ��D� �F�F�Fr r c �� � e Zd ZdZddd�ddd�dddd�ddd�ddd�dg d�dd �d dd�d�Zded efd�Zed� � � Zed� � � Z de de fd�Zde fd�Zde eeef fd�ZdS )�PatchmanCustomIntegrationa` Patchman custom integration uses pre-defined user files that can be either files with info about users (file integration) or scripts (script integration). This class is designed to retrieve the users and provide them to the DB the same way panels do. More info: https://docs.imunify360.com/Patchman_custom_integration.pdf �stringT)�type�required)r r �nullable�boolean�integer)� � � )r �allowedr �dict)�homedir�email�parent�language� suspended�level�domains�integration_type� metadata_pathc �"