a.N d Z ddlZddlmZ ddlmZmZ ddlmZ ddl m
Z
mZmZ ddl
mZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZmZ dd
lmZ erddlmZ ddlmZ ee Z G d de
e Z dS )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) getLogger)
TYPE_CHECKINGAny)MessageType)MessageSink
MessageSourceexpect)Scope)get_imunify_patch_id)VulnerabilityPatchTask)ImunifyPatchSubscriptionAPI)VulnerabilityHitStatus)ImunifyPatchSubscriptionVulnerabilityHit) user_list)ImunifyPatchUserId)RefreshImunifyPatchSubscriptionc e Zd Zej Zd Zd ZddZde de
f fdZ ee
j dd
ZdeddfdZd
ee ddfdZdS )ImunifyPatchSubscriptionPluginc
K d S N )selfloops g/opt/imunify360/venv/lib/python3.11/site-packages/imav/malwarelib/plugins/imunify_patch_subscription.pycreate_sinkz*ImunifyPatchSubscriptionPlugin.create_sink6 s c K || _ d S r )_sink)r r sinks r
create_sourcez,ImunifyPatchSubscriptionPlugin.create_source9 s
r returnNc 6 t j | _ d S r )asyncioLock_lock)r s r __init__z'ImunifyPatchSubscriptionPlugin.__init__<