관리-도구
편집 파일: aibolit_result_scan.cpython-311.pyc
� ��g/ � �� � d Z ddlZddlZddlZddlZddlZddlmZ ddlm Z ddl mZ ddlm Z ddlmZ ddlmZ dd lmZmZ dd lmZmZ ej e� � 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)�suppress)�MessageType)� MessageSource)�MalwareScanType)�parse_report_json)� ScanResult)�Inotify�Watcher)�create_task_and_log_exceptions�Scopec � � e Zd ZdZej ZdZ ej d� � Z d� Zd� Zd� Z d� Zd� Zd ed efd�Zd efd�Zd efd�Zd� Zd� Zd� ZdS )�AibolitResultsScanz� Plugin to handle generated ai-bolit scan reports. Checks the contents of the *RESULT_SCAN_DIR* for the presence ai-bolit report files that match the *REPORT_FILE_MASK* pattern processes and deletes them. z$/var/imunify360/aibolit/resident/outz!^(?P<uuid>[0-9a-f-]{36})\.report$c �"