gdZddlmZddlmZddlmZddlmZm Z m Z ddl m Z ee ZGddee 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)ScopecxeZdZejjZejZ dZ dZ e e jdefdZdS) PostActionc KdSN)selfloops M/opt/imunify360/venv/lib/python3.11/site-packages/imav/plugins/post_action.py create_sinkzPostAction.create_sink(s  cK||_dSr )_sink)rrsinks r create_sourcezPostAction.create_source+s rmessageczK|dd}|sdS||d|jd{VdS)N post_actionscan_id)rr)popr)rrrs rprocess_post_actionzPostAction.process_post_action.s\kk-66   Fk')"44:FFFFFFFFFFFFrN)__name__ __module__ __qualname__rProcessingOrder POST_ACTIONPROCESSING_ORDERr IM360SCOPErrrrMalwareCleanuprrrrrr r $s"2> KE    VK &''GGGG('GGGrr N)__doc__loggingrtypingr"defence360agent.contracts.messagesr!defence360agent.contracts.pluginsrrrdefence360agent.utilsr rloggerr rrrr.s*:::::: (''''' 8  GGGGGmGGGGGr