Generative Data Intelligence

Comodo One. Understanding Procedures

Date:

Comodo OneReading Time: 17 minutes

Comodo One. Understanding Procedures

How to filter procedures

Step 1: Go to ITSM > CONFIGURATION TEMPLATES > ‘Procedures’ and click Filter icon


Step 2: Fill the form expanding from Filter icon (** User can fill any of the fields in the form and apply for filter the procedure)

1. Name – complete name or partial name of the procedure you would like to filter

Step 3: Select an appropriate value from the Type drop-down

1. All – The result includes all type of procedures
2. Custom – The result includes only the procedures which are created by users
3. Predefined – The result includes only the predefined procedures which are packed with ITSM

Step 4: Select appropriate value from the Status drop-down

1. All – Filters all available status of procedures
2. Created – The result includes only the procedures which are just created
3. Edited – The result includes only the procedures which are just edited
4. Ready to Review – The result includes all procedures which are ready for review
5. Approved – The result includes all approved procedures
6. Declined – The result includes all declined procedures

Step 5: Select appropriate value from the Content Type drop-down

1. All – both ‘script’ and ‘patch’ type of procedures become in the result
2. Script – ‘script’ procedures be filtered
3. Patch – ‘patch’ procedures only be filtered


Step 6: Fill the rest of the fields one by one and click “Apply” button from the form to get the result that matches the applied parameters

1. Created By – enter email id of the user who created the procedure
2. Created On – enter the date when the procedure was created
3. Last Modified By – enter email id of the user who lastly modified the procedure
4. Updated at – enter the date when the procedures was modified recently
5. Description – enter text to explain about the procedure
6. Script – enter any content that parts of the body of the script or code to filter out the contained procedures

How to create and run script procedure in devices?

Comodo python procedures are available in ‘Predefined Procedures’ Folder. Additionally, ITSM User can create custom python procedure and run the same over enrolled devices.

Step1: Go to “Configuration Templates” > “Procedures” > “Create” > “Create Script Procedure” and fill the form

  1. 1. Procedure name – Type procedure name
  2. 2. Description – Type description of the procedure
  3. 3. Folder – Choose folder from the drop-down [Default value is My Procedure]
  4. 4. Click Create button – To submit the form

Step 2: Go to “View Procedure” tab and Click the ‘Edit’ icon.

  1. 1. Paste or type your python script using the text editor
  2. 2. User can also use the existing procedure with the new procedure by the steps below
    1. a. Click Add Existing Script button
    2. b. Type the name of the existing script
    3. c. Choose the script and Click Add button
    4. d. Once the script gets loaded into the text editor, modify and save the procedure
  3. 3. Click Save button to save the script

Step 3. Review and Approve the procedure by Clicking Ready to Review and Approve icon one after another.

Step 4: To run the procedure over “Selected Devices” or “All devices”, follow the steps below.

  1. A) Go to ‘Configuration Templates’ > ‘Procedures’ and Choose the procedure from the list
  2. B) Click ‘Run’ icon
  3. C) Choose “All devices” to run the procedure over all devices or Choose Selected Devices to execute the procedure over selected devices.
  4. D) Select “Run as system user’ to run the procedure as ITSM user (Administrator privilege) or Select ‘Run as logged in user’ to run the procedure as logged in user from the local machine.
  5. E) Click ‘Run’ button to apply the procedure for the devices.
  6. F) To Check procedure logs, follow the below steps.
    1. a. Go to “Execution Log” tab
    2. b. Click ‘Details’ link for more details for the specific log
    3. c. Click (…) the Expand icon to view complete output of the execution

Step 5: To run the procedure from the specific device, follow the steps below,

  1. A) Go to “Devices” > “Device List”
  2. B) Click the specific device from the table
  3. C) Click “Run Procedure” button

  1. D) Once the popup form presents, Type and Choose required procedure from the search box.
  2. E) Select “Run as system user’ to run the procedure as ITSM user (Complete privilege) or Select ‘Run as logged in user’ to run the procedure as logged in user of the local machine.
  3. F) Click ‘Run’ to apply the procedure over devices.

  1. G) Technician can view procedure logs from the navigation “Devices” > “Device list” and by the
    1. a. Select the specific Device
    2. b. Click Procedure Logs

How to schedule the procedure using profiles

Technicians can schedule script procedures in profiles and apply it on desired devices.

Step 1: To schedule procedure, Go to “ITSM” > “Configuration Templates” > “Profiles”

  1. A) select the profile which you wish to schedule script procedure

Step 2: If “Procedure” tab not available in profile follow the step otherwise go to Step 3.

  1. A) Click ‘Add Profile Section’ icon and select “Procedures” menu from the drop down list

Step 3: Click “Add” button from “Procedures” tab. A popup screen will appear to add existing script procedure.

Step 4:

  1. A) Choose the script procedure from the search box Procedure Name, select the date from the Start Date field, select the value from Schedule drop-down, Select the time from the Scheduled Time and Select ‘End Date’ from Finish Date and Choose the date from the field next to Finish Date.
  2. B) Select “Run as system user’ to run the procedure as ITSM User (Administrator Privilege) or Select ‘Run as logged in user’ to run the procedure as Logged in User of the local machine.

Step 5: Click ‘Add’ button to successfully complete schedule of the procedure.

Once the steps are completed, the scheduled procedure will be run automatically on devices where the profile is applied.

How to use script categories and keep them organized?

Step 1: Go to ITSM -> Configuration Templates and then click “Procedures” menu.

Step 2: ITSM has two folder categories:

1. My Procedures folder – The Custom patch Procedures or Custom script procedure can be saved in this folder.
2. Predefined Procedures folder – Built-in patch procedure or script procedures were stored in this folder.

Step 3: Click Expand Icon to View the Sub-folders.

Example 1: Main Folder – My Procedures

Sub-folder – The My Procedures folder has inbuilt sub-folders namely
1. Ready For Review

Example 2: Main Folder – Predefined Procedures

Sub-folder – The Predefined procedure folder has inbuilt sub-folders namely:
1. Application
2. System
3. File Operations
4. Task Scheduler
5. Log Collection
6. Patch deployment.

Step 4: A User can add, delete, edit the sub-folder in “My Procedure folder”.

Note: The User cannot the edit the predefined procedures and its sub-folder, but he can clone the procedure.

Step 5: To add a sub-folder to “My Procedure folder”, click the Add button.

1. Give a name for sub-folder and then click the add button.
Example: Log Script is added as a sub-folder for My Procedures.

Step 6: Click Edit icon to rename the sub-folder.

Step 7: Click delete icon to remove the sub-folder.

Step 8: Click the folder name to view the saved procedures.

Example: Click ” Ready for Review” Folder, the procedures which are be reviewed will be saved here.

Step 9: While creating a new procedure, follow below steps

1. [*=1]Click create procedure button and fill the form by providing a name and a description.
In the folder drop-down, choose the category folder to which the user want to add the procedure.

Example: Procedure Name: Restarts Service
Description: Service that has been stopped can be restarted.
Folder: To add the procedure to Service Child folder, select services from the drop down.

Step 10: For existing procedures, Click the name of the procedure and click edit button set,

1. Change the folder by clicking the drop down.

2. Choose the appropriate folder and save.

Example: “Network” child folder is being chosen from the drop down.

Save

How to create and apply patch procedures to devices

Create a custom patch procedure

Step 1: Go to ITSM -> “Configuration Templates” menu and select “Procedures”.

Step 2: Click on the “Create” icon and click “Create Patch Procedure”.

Step 3: Click ”Add Profile Section” icon and select “Procedures” from the drop-down.

  1. 1. Patch procedure name – Enter the patch procedure name.
  2. 2. Description – Enter the description.
  3. 3. Folder – Select the folder to added the procedure under that folder.

Step 4: Select the patch procedure, to set and apply settings

  1. 1. General section – Modify Name, Description and folder and define the alert setting.
  2. 2. Exception options – Select your desired update option for your procedure from “choose the Microsoft software update”.
  3. 3. Restart Control – The “Restart Control ” provides three restart options, they are:
    1. i. “Force the reboot in” – The reboot operation will be applied to the device at the mentioned time without user’s permission. Example – 5 minutes.
    2. ii. “Suppress the reboot” – The reboot operation will be suppressed.
    3. iii. “Warn about the reboot and let users postpone it” – The warning message will be sent to user’s device and the reboot operation will be performed by his desire.
  4. Set the reboot options as per required.
  5. 4. Schedule – The list of profiles will be displayed if the procedure is being scheduled on that profile
  6. 5. Execution Log – The result of the procedure output are displayed in this section.

Apply patch procedures to Devices

You can run a patch procedure on a device in three different ways,

Apply patch procedures to Device via “Procedures” :

Step 1: Go to “Configuration Templates” and select “Procedures” menu.

Step 2: Select the checkbox of the patch procedure for which you want to apply to the device and click “Run” button.

Step 3: A ‘Run Procedure’ dialog box appears, choose appropriate options and click “Run” button.

  1. i) All Devices -The procedure will be applied to all enrolled devices.
  2. ii) Selected Devices – To add a device, enter the name of the device in which you want to apply the procedures. To remove the added devices click the x mark of the system.
  3. iii) Run as system user – The procedure will run as System user.
  4. iv) Run as logged in user – The Procedure will run as Logged in user.

Step 4: The patch procedure will be sent and executed in that devices. Go to “Execution Log” tab and click “Details” link to view the result.

Apply patch procedures to Device via “Device List”:

Step 1: Go to “Devices” and select the “Device List” menu.

Step 2: Select the device, in which you want to run the patch procedure.

Step 3:

  1. 1.Click the “Run Procedure” button, “Run Procedure” dialog box appears.
  2. 2.Type the patch procedure name in the text field and choose the procedure.
  3. 3.Choose either “Run as system user” or “Run as logged in user” based on the rights and Click “Run” button.

Step 4: The procedure will be sent to that device and executed.

Apply patch procedures to Device via “Profiles”:

A patch procedure can be scheduled to run on the devices using profiles. Thus the patch procedure run on the devices under that profile at the mentioned time. It saves the time of the user.
Step 1: Go to ‘Configuration Templates’ -> ‘Profiles’.

Step 2: Select the profile to which you want to add the profiles from the list.

Step 3: Click “Add Profile Section Icon” and Select “Procedures” from the drop-down.

Step 4: Add the procedure to the “Procedures” section of the profile by clicking the “Add” icon button. The “Add Existing Procedure Dialog” box appears. Fill the form:

  1. 1. Procedure name – Type the name of the patch procedure that you want to add to the profile.
  2. 2. Start Date – Give the start date of the schedule.
  3. 3. Schedule – Define the schedule frequency.
  4. 4. Scheduled Time – Set a time at which the procedure need to be run.
  5. 5. Run as system user – The procedure will run as System user
  6. 6. Run as logged in user – The Procedure will run as Logged in user and click the “Add” button.

Step 5: Click Save button in the “Procedures” tab. The procedure will be added to the profiles then the patch procedure will execute in the devices as scheduled.

How to generate an alert when patch procedure fails to execute as intended

In ITSM alert can be configured for scheduled procedures in profiles. Alert will be triggered when procedure fails to execute as expected.

Step 1: Go to ITSM -> “Configuration Templates” and click “Procedures”.

Step 2: Click existing patch procedure name to which you want to add the alert settings from the list. Example: “Windows Update” patch procedure.

Step 3: Go to “General” tab and click “Edit” button.

Step 4:

  1. 1. Select the checkbox of “Use alert settings when the procedure fails” option
  2. 2. Type the name of the alert that you want to trigger when the procedure fail in the text box below the “Use alert settings when the procedure fails” option
  3. 3. Select the procedure from the drop-down and click save button. Example: “Update Failed” Alert

Note: Only the existing alerts can be added to the procedure.

Step 5: The changes will be applied to the procedure. Thus the user will receive the alert based on the alert setting, if a patch procedure fails.

How to import, export and clone procedures

Procedures can be exported from ITSM application to a local computer. Similarly, a procedure can be imported from the local computer to ITSM application hence the both way helps the user to easily create a procedure on ITSM. Also as ITSM user, you can clone a procedure from a procedure that already exists in the ITSM so that user can use the existing procedure so quickly and easily.

Step 1: Launch ITSM and go to ‘CONFIGURATION TEMPLATES’ -> ‘Procedures’.

To Export a Procedure

Step 2: Select any procedure from the Procedure List Table and click ‘Export’ icon

Step 3: Click the Save button with choosing of the respective location

Step 4: A JSON file will be saved in the location you have chosen

To Import a Procedure

Step 2: Click the “Import” icon

Step 3: Click the ‘Save’ button with choosing of the respective location.

Step 4: A JSON file will be saved in the location you have chosen.

To Import a Procedure

Step 2: Click the “Import” icon.

Step 3: Click the ‘Browse’ button from the ‘Import Procedure’ popup window.

Step 4: Select a Script file (JSON) from the local computer and click the button “Open”.

Step 5: Check whether you have chosen the right file from the ‘Import Procedure’ window and click “Import” button

Step 6: Check the ‘Procedures’ List Table whether you have the Script file on the top of the list.

To Clone a Procedure

Step 2: Choose any procedure from the ‘Procedures’ Table List and click ‘Clone’ icon.

Step 3: Fill the ‘Clone Procedure’ form then click the button “Clone”.

You can change the name of the procedure, description, and folder while cloning a procedure otherwise keep the default values on the fields.

Step 4: Check the ‘Procedures’ List Table whether you have the Script on the top of the List.

How to combine procedures to build broader procedures

The guide explains and instructs that as an administrator, how I can combine more than one procedures suppose they collect data (to generate a whole report without having user interaction) and when they perform actions (to do some tasks silently) and to do etc in the endpoint

Step 1: Launch ITSM


Step 2: Go to ‘CONFIGURATION TEMPLATES’ -> ‘Procedures’.

Here is the two cases are available such as combining with selecting Existing Procedure and combining with new procedure.

If the user selects existing procedure then the steps below are followed.

Condition: Clone the existing procedure that you want to select is a safe idea suppose if you have any exception on combination.

Example Scenario: As a user, I would like to combine the script “Check and Fix Default Disk Problem” to another existing script “Copy and Install specific MSI package from valid Network Location”

Step 3: Select Existing Procedure from the table.

Example: Copy and Install specific MSI package from valid Network Location.

Step 4: Click ‘View Procedure’ tab.


Step 5: Click ‘Edit’ button.

Step 6: Click ‘Add Existing Procedure’.

Step 7: Type the specific Procedure Name you want to combine with the Procedure.

Step 8: Select the script from the drop down and click the ‘Add’ button.

Repeat the steps 6, 7 and 8 if you would like to add more scripts here.
As per the example scenario, you have the code for both the procedure now.

Step 9: Click ‘Save’ button to update the script and Run the script to get the desired outcome.

If the user create new procedure to combine the existing procedures then follow the steps below.

Example Scenario: As a user, I would like to combine the scripts “Check and Fix Default Disk Problem” and “Copy and Install specific MSI package from valid Network Location” in a new procedure.

Step 10: Click Create icon and Select “Create Script Procedure” from the drop down


Step 11: Fill the fields from the pop-up forms such as Name, Description, and Folder and click ‘Create’ button.

Step 12: Click ‘View Procedure’ tab.

Step 13: Click ‘Edit’ button.

Step 14: Click ‘Add Existing Procedure’ from the Editor.

Step 15: Select the Script you want to add here and click ‘Add’ button.

Repeat the steps 14 and 15 if you would like to add more scripts here.

Step 16: Click ‘Save’ button to save the script and Run the script to get the desired outcome.

TEST YOUR EMAIL SECURITY GET YOUR INSTANT SECURITY SCORECARD FOR FREE Source: https://blog.comodo.com/it-management/comodo-one-understanding-procedures/

spot_img

Latest Intelligence

spot_img

Chat with us

Hi there! How can I help you?