wo4h ddlmZddlmZd\ZZGddeZGddeZGdd eZGd d eZ Gd d eZ GddeZ GddZ dS)) HookEvents)Message)startedfinishedceZdZdZdZdZdS)_HookEventBaseNc|d|D}|jjdt|dS)Nc&i|]\}}|dk ||S)DUMP).0kvs Z/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/contracts/hook_events.py z+_HookEventBase.__repr__..s#AAATQQ&[[Aq[[[())items __class__ __qualname__repr)selffiltereds r__repr__z_HookEventBase.__repr__ s?AATZZ\\AAA.-AAXAAAAr)__name__ __module__reventsubtyperr rrrr s2 EGBBBBBrrceZdZejZdS)_AgentN)rrrrAGENTrr rrr!r!s  EEErr!ceZdZejZdS)_LicenseN)rrrrLICENSErr rrr$r$s  EEErr$ceZdZejZdS)_MalwareScanningN)rrrrMALWARE_SCANNINGrr rrr'r'  'EEErr'ceZdZejZdS)_MalwareDetectedN)rrrrMALWARE_DETECTEDrr rrr+r+r)rr+ceZdZejZdS)_MalwareCleanupN)rrrrMALWARE_CLEANUPrr rrr.r."s  &EEErr.c&eZdZGddeZGddeZGddeZGddeZGd d eZ Gd d e Z Gd de Z Gdde ZGddeZGddeZdS) HookEventceZdZeZdS)HookEvent.AgentStartedNrrrSTARTEDrr rr AgentStartedr3'rr6ceZdZdZdS)HookEvent.AgentMisconfig misconfigNrrrrr rrAgentMisconfigr9*srr<ceZdZdZdS)HookEvent.LicenseExpiredexpiredNr;r rrLicenseExpiredr>-rr@ceZdZdZdS)HookEvent.LicenseExpiringexpiringNr;r rrLicenseExpiringrC0rrEceZdZdZdS)HookEvent.LicenseRenewedrenewedNr;r rrLicenseRenewedrH3rArrJceZdZeZdS) HookEvent.MalwareScanningStartedNr4r rrMalwareScanningStartedrL6r7rrMceZdZeZdS)!HookEvent.MalwareScanningFinishedNrrrFINISHEDrr rrMalwareScanningFinishedrO9rrRceZdZdZdS)!HookEvent.MalwareDetectedCriticalcriticalNr;r rrMalwareDetectedCriticalrU<rFrrWceZdZeZdS)HookEvent.MalwareCleanupStartedNr4r rrMalwareCleanupStartedrY?r7rrZceZdZeZdS) HookEvent.MalwareCleanupFinishedNrPr rrMalwareCleanupFinishedr\BrSrr]N)rrrr!r6r<r$r@rErJr'rMrRr+rWr.rZr]r rrr1r1&sv(!1"2"2rr1N) defence360agent.contracts.configr"defence360agent.contracts.messagesrr5rQrr!r$r'r+r.r1r rrr`sk877777666666)BBBBBWBBB^~(((((~((((((((~((('''''n'''r