.s8 d Z ddlmZ ddlmZ ddlmZ ddlmZm Z m
Z
ddlmZ ee
Z G d dee Zd S )
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
) getLogger)Dict)MessageType)MessageSink
MessageSourceexpect)Scopec x e Zd Zej j Zej Z d Z
d Z ee
j defd ZdS )
PostActionc
K d S N )selfloops M/opt/imunify360/venv/lib/python3.11/site-packages/imav/plugins/post_action.pycreate_sinkzPostAction.create_sink( s c K || _ d S r
)_sink)r r sinks r
create_sourcezPostAction.create_source+ s
r messagec z K | dd }|sd S ||d | j d {V d S )Npost_actionscan_id)r r )popr )r r r s r process_post_actionzPostAction.process_post_action. s\ kk-66 F k')"44:FFFFFFFFFFFFr N)__name__
__module____qualname__r ProcessingOrderPOST_ACTIONPROCESSING_ORDERr IM360SCOPEr r r r MalwareCleanupr r r r r r r $ s "2>KE
VK&''G G G G ('G G Gr r N)__doc__loggingr typingr "defence360agent.contracts.messagesr !defence360agent.contracts.pluginsr r r defence360agent.utilsr r loggerr r r r r. s * : : : : : :
( ' ' ' ' ' 8 G G G G Gm G G G G Gr