SentinelOne, Cove, DNSFilter etc.
Written By Mikel from Gorelo
Last updated 5 months ago
Custom client fields can be used in scripts to install software with client specific info (keys, tokens etc.).
In this example, we'll use SentinelOne.
Step 1: Create the client custom field
Navigate to Settings -> CRM-> Custom Fields
Add custom field with the following details
Name: SentinelOne Site Token
Variable: s1token

Step 2: Populate the 'SentinelOne Site Token' for each client
Navigate to a specific Client
Click on Custom Fields
Edit 'SentinelOne Site Token'
Enter the Site Token retrieved from SentinelOne
You can retrieve your SentinelOne Site Token from https://<DomainName>.sentinelone.net/dashboard -- navigate to a Site, then to the 'Site Info' tab

Step 3: Create the installer file
Navigate to Settings -> Asset -> Files
Add a File with the following details:
File: Upload the latest MSI installer
Variable: S1Installer
Step 4: Create the script
Navigate to Scripts
Create a script with the following details:
Name: ➕Install-SentineOne
Content:
Example#Silently install SentinelOne
if($gorelo:client.s1token){
$S1Service = get-service -Name 'Sentinel Agent' -ErrorAction SilentlyContinue
if($S1Service -eq $null){
msiexec /i $gorelo:file.S1Installer SITE_TOKEN=$gorelo:client.s1token /quiet /norestart
}
}
Step 5: Deploy the script via a policy
Navigate to Policies
Edit an existing policy that covers the assets you want SentinelOne installed on
Add the '➕Install-SentineOne' script and set to repeat daily at your preferred time
Distribute the policy