Skip to main content

SentinelOne Agent Deployment

Summary

This document describes how to deploy the SentinelOne agent with an agent token set at either the Global, Client, or Script level.

Sample Run

Sample Run 1

  • Running in this manner without a token will result in the script attempting to use the client-level token edf value. If this is not set, it will grab the System property token value to process the request.

Sample Run 2

  • Adding a token to the Token parameter will override all client-level tokens and global property tokens, using the provided token as the means to process the request.

Dependencies

Implementation

Global Parameter Set Instructions:

  1. Sync the following script: CWM - Automate - Script - Property - Set.
  2. Run CWM - Automate - Script - Property - Set with the following parameters:
    • Name: SentinelOneDefaultToken
    • Type: Global
    • Value: [Your Default SentinelOne Token]
    • Overwrite can be left blank or changed to 1 if you believe you may already have a SentinelOneDefaultToken global parameter.
  3. Sync and run this script.

Client Level Tokens

Client level tokens can be set in the following client edf location:

Client EDF Location

Exclusions

Exclusions can be set in the following locations:

Exclusion Location 1

Exclusion Location 2

Variables

NameDescription
S1SiteTokenVariable holder for a site token from either the client level edf or the system property.
ComputerExcludeVariable holder to check for a computer-level exclusion to the installation.
LocationExcludeVariable holder to check for a location-level exclusion to the installation.

User Parameters

NameExampleRequiredDescription
TokenSometokenhereFalseUse this parameter to bypass Client edf tokens and global property tokens for this installation.

Process

  1. Ensure the software is not already installed; exit if it is.
  2. Determine the necessary token:
    1. Check the client-level edf first; this takes precedence over the global set parameter.
    2. If a client-level edf is not set, get the global set parameter.
    3. If that is not set, then exit with an error.
  3. Check for any computer-level exclusion; if one exists, exit with an error.
  4. Check for any location-level exclusion; if one exists, exit with an error.
  5. Download the installer to the C:/Windows/ltsvc/SentinelOne folder.
  6. Verify the download; if not downloaded, exit with an error.
  7. Install SentinelOne.
  8. Verify installation success; if not successful, then exit with an error.

Output

  • Script log