Use Kaseya VSA 10 to install or remove the Cylance agents
Kaseya
VSA 10 to install or remove the Cylance
agentsYou can follow the steps below to use
Kaseya
VSA 10 to install the CylancePROTECT Desktop
or CylanceOPTICS
agent on Windows
or macOS
devices, or to remove the agent from devices. Note that this method requires use of the Multi-Tenant Console
. Kaseya
VSA 10 does not support deployments to Linux
devices.- Verify that devices meet the requirements to install the CylancePROTECT Desktop agent or the CylanceOPTICS agent.
- Note that you must install theCylancePROTECT Desktopagent on devices before you install theCylanceOPTICSagent.
- Log in to BlackBerry myAccount and navigate to the software downloads section (Product Resources > Software Downloads > Cylance Tools) to download a package ofKaseyascripts and workflows for theCylanceagents (Cylance_Kaseya_<version>.zip). Extract the contents of the .zip file.
- In theMulti-Tenant Console:
- Record the tenant ID and installation token for each target tenant.
- InKaseyaVSA 10, create a Custom Field with the following variables. For all variables, disable expiration.For more information about creating a Custom Field, see Kaseya VSA 10: Custom fields.NameContextVariable TypeDescriptionCylance_Application_IdGlobal (Read Only)textSpecify the application ID.Cylance_Application_KeyGlobal (Read Only)textSpecify the application secret.Cylance_Tenant_IDAny of:
- Global
- Organization
- Site
- Agent Group
textSpecify the tenant ID from theMulti-Tenant Console.Cylance_RegionGlobal (Read Only)textSpecify the appropriate region:- United States = us (default)
- Asia Pacific SE/Australia = au
- European Union = eu
- Asia Pacific NE/Japan = jp
- South America/Sao Paulo = sp
Cylance_Install_TokenAny of:- Global
- Organization
- Site
- Agent Group
textSpecify the installation token from theMulti-Tenant Console.Cylance_Uninstall_KeyAny of:- Global
- Organization
- Site
- Agent Group
textIf you configured the CylancePROTECT Desktop and CylanceOPTICS agents to require a user to enter a password to uninstall, specify the uninstall password from theCylanceconsole.Cylance_Download_TokenAny of:- Organization
- Site
- Agent Group
textA workflow-only variable to pass a download token from one script to another. Leave the value blank.Cylance_Product_TypeAny of:- Organization
- Site
- Agent Group
- System
textSpecify one of the following values to select the agent that you want to install or remove:- protect
- optics
The default value is protect. - Navigate toAutomation > Scripts.
- Create a folder namedCylance.
- In theCylancefolder, create the following scripts with the specified inputs and outputs. The inputs map to the variables that you created in step 1. Copy and paste the body of each script from theCylance_Kaseya_<version>package that you downloaded.Script nameInputsOutputsCylance_Is_Installedc_product_typec_is_installedType: NumberDefault value: 0Cylance_Get_Download_Tokenc_app_idc_app_keyc_regionc_tenant_idc_product_typedownload_tokenType: TextDefault value: -1Cylance_Get_Installerc_download_tokenc_install_tokenc_regionc_product_typepost_action_checkType: NumberDefault value: 0Cylance_Uninstallc_product_typec_uninstall_passcodepost_action_checkType: NumberDefault value: 0
- InAutomation > Workflows, useActions > Import Workflowto import the following workflows (.wfl) from the scripts folder of theCylance_Kaseya_<version>package. You must import the workflows in the following order:
- Cylance_Windows_Install.wfl
- Cylance_MacOS_Install.wfl
- Cylance_Install_Workflow.wfl
- Cylance_Uninstall_Workflow.wfl
- Set the status of each imported workflow toActive.
- Validate the following for each workflow using the workflow condition type. If the values do not resolve to those specified below, manually reset to the expected outcome.WorkflowScript or Custom Field variableExpected valueCylance_Windows_Install.wflScript: Cylance_Is_Installedc_is_installed = 0Script: Cylance_Get_Download_Tokendownload_token ≠ -1Cylance_MacOS_Install.wflScript: Cylance_Is_Installedc_is_installed = 0Script: Cylance_Get_Download_Tokendownload_token ≠ -1Cylance_Install_Workflow.wflCustom Field variable: Cylance_Download_Token≠ -1Script: Cylance_Get_Installerpost_action_check = 0Cylance_Uninstall_Workflow.wflScript: Cylance_Is_Installedc_is_installed = 0
Assign the Custom Field values to an endpoint (Organization, Site, or Agent Group), setting the value of Cylance_Product_Type to “protect” or “optics”, and run the appropriate workflow to install or remove the
CylancePROTECT Desktop
or CylanceOPTICS
agent. It is a best practice to test the installation or removal on a small number of devices first.