Tags
manually deploy Comodo EDR agent parent process multiple ticket selection selected tickets security events folder transfer discoveries network management remote folder TLS TLS1.2 pci dss pci compliance ITarian Portal Endpoint Manager vdi environment vdi clone environment instant clone documentation vendor notice security dashboard events resolution remote tool partner onboard itarian unknown file hunter TLS Encryption procedure parameters pass profiles history performance metrics real time remote endpoints download browse Subscriptions service URL Security Components system Global Software Inventory 2 minutes Integrate intagrate Active Directory Portable Interception SSL enable reporting Rule Threat Protection Rule Advance spam Customize archived outgoing incoming administrator validate domains add Antispam type PCI data loss Location Network information start software session extensions appoinments resource connection computers Comodo Rescue Disk infected opportunity opportunities custom relationship management quote COMODO-CRM protect mac device email notifications registry COM Quarantined point system restore msi contained applications processes security client events Release date department registration particular os section Two Factor Authentication Login interface dashboard report generate Direct Download Link One drive Google drive HIPS mode cleanup automatic suspicious suspicious certificates shellcode injection detect Elevated Access system user access default charging groups move current malware list store push IP address ip installer acronis auto-remediation server machine icon Product Logos Rebrand backup Device Control data Chromoting WebRTC ports Protocol skip offline manual time entries ticket assignee Help Guide Tour schedule Reschedule appointment unknown application protection virtual desktop Local Verdict server manage calculation cost configuration charging SD contract prepaid hours products classification inventory analyze Device list OS patches global search bar Tool bar Windows Defender Security Center file group white Citrix record SPF work billable time onsite email template template variables emails Gmail SMTP disable Add collaborators admin action Audit logs feature requests submit vote remotely Reset proxy swg secure web gateway dome error disk ticket detail page thread section tickets section internal notes Sub-help topic help topic features Application control white_list Patch Management child parent scheduled customized get to headers columns company restrict customer technician remote access list iOS devices field Reports iOS device APN Certificate MAC OS X options Linux block Comodo Client Communication (CCC) allow Comodo Client Security (CCS) network zones active component tray icon hide show packages additional install block port baseline installation package bulk implement restrict firewall endpoints security and communication global export virus import Database folders files define exclusions change staff admin rating check reassign assign permissions new role create for user of device enroll associated use how profile specific Removing Devices Uninstall windows profile Configuration templates latest version clients comodo file ratings monitoring script procedure custom All Devices Ratings Track widgets Agent valkyrie malware files Kill chain report automated establishing endpoint remote session Users prevent Android organization windows assets Mac OS billing identified threats Sort Closed inside Program executed containment service desk remote control Locally runs update scan antivirus SLA Business Hours control CCS Password access Client Auto Specific Device Response Application Third party Status View Logs intended devices alert fails Company Information Configure Verdict Patch Procedures Executable Comodo Internet Security ITSM Analysis Command Line Heuristic Filter Unrecognized Trusted File Rate Malicious Purge Calendar Device Exclusion USB Admin Panel Settings ticket Default system-wide Specific Path Details Monitor Multi Set Currency Connected Who Quick Actions Comparison Version Enterprise Managed Service Provider C1 Portal Remote management Comodo Remote Control ticket management staff panel assign tickets
More

Custom Module Documentation

Release Time
01/08/2019
Views
none
Category
Endpoint Manager features
Tags

CONTENT OVERVIEW:

  • Introduction
  • Hosted model script
  • Best practices for writing scripts with custom library
  • Limitations

 

INTRODUCTION:

This document is prepared in the way to convey that we have a method to include custom library files to make it work with the Endpoint manager i.e through Script. Customer don't need to be a script writer, we make our customer's to develop a new script to import the modules they want to work with. So far, we are supporting all Python 2.7.13 standard libraries addition with the modules listed below by default.

gyp-0.1
markerlib
PyZDDE
tcl8
tcl8.5
tix 8.4.3
tk8.5
reg1.2 (tclreg12.dll)
pip-7.1.2
setuptoost-18.2

Our embedded library files are available at "HOMEPATH\COMODO\Comodo ITSM\Lib\site-packages" in the endpoint once Endpoint Manager agent is installed. 

 

HOSTED MODEL SCRIPT:

Here is an example script link for the custom module implementation: https://scripts.itarian.com/frontend/web/topic/custom-module-implementation

 

BEST PRACTICES FOR WRITING SCRIPT WITH CUSTOM LIBRARY:

To import and avail custom library packages with the Endpoint manager, we offer a way to our customer to write the scripts on own to experience the performances instead of achieving through manual operations or through Endpoint manager. We feel proud to make our customer to be a code writer. Let's join your hands and walk through with below mentioned hits:

  • Host a complete module with all relevant packages as zip file.
  • Download the hosted module on the Endpoint.
  • Extract the zip and copy the matters.
  • Import the module.

 

HOST A MODULE:

It's always a good deal to host any matters on any space and get it anywhere by using the custom URL. With that hope we hosted a module as an example for your view to perform the same.

In the above displayed script we have used an hosted URL (https://drive.google.com/uc?export=download&id=1h3nvQ7hRD68FeRsP5qWjEi1phHAeiL5L) which has module called "PATHLIB" as zip file.

 

DOWNLOAD MODULE:

Python allows an easy method to download from custom URL using magic browser. This browser eliminates user interactions, suppresses UAC prompt etc. The download function takes arguments as URL and FileName. It reads a file present in the URL, writes the same matters by opening a file in the Endpoint with the same extension. Another choice from our Endpoint manager is, download action can be performed as Administrator or Logged in user.

Supported modules are: urllib & ssl

Below content in the script is to download the hosted module.

 

 

EXTRACT ZIP:

We do advise our customer that the hosted module package should be hosted as zip file. Since, zip performs complete compress methods to avoid files or packages escape from the regular space.

Supported modules are: zipfile

Below content is to extract the zip file at the locations: "HOMEPATH\COMODO\Comodo ITSM\Lib\site-packages".

 

 

IMPORT MODULE:

Before step to import the downloaded and extracted module, we should select the OS of an Endpoint to occupy a valid path. Once, path is selected an import module will be called which has download and extract functions integrated to it and copy the extracted file to the Endpoint manager location.

Below content in the script is to Import the hosted module.

 

Example module which has been demonstrated in this script is "PATHLIB"

 

RESULT CASE for above example script.

 

 

LIMITATIONS:


It is important to know that the method we are explaining here to support custom python library would work only if the corresponding library doesn't have dependency problem with other library files.

Ensure that the module doen't initiate UAC prompt to need user input.

Thus this work flawless only if the module support this method.