How to Configure Cloud Detect Policies

20 min. readlast update: 12.02.2026

ThreatLocker Cloud Detect policies monitor specific activity captured from integrations set up within your organization. Each policy consists of a source that determines which logs are evaluated, conditions that specify what to look for, and policy actions that define what ThreatLocker should do when those conditions are met.

Cloud Detect policies can monitor activity such as sign-ins, directory changes, and email activity from a variety of different sources.

In this article, we will walk through creating a Cloud Detect policy and using it to monitor your organization.

Navigating to Detect Policies

To create a new Detect policy, hover over the 'Detect' tab on the left-hand side of the ThreatLocker Portal. Then, select the 'Detect Policies' button from the pop-out menu.

On the Detect Policies page, navigate to the top-left corner and select the "Create New Cloud Detect Policy" button.

Selecting this button will open the Create Cloud Detect Policy sidebar.

Note: Cloud Detect policies require an integration for the data source you want to monitor. Sources without the required integration will appear grayed out.

Creating a Cloud Detect Policy

Once the sidebar is opened, there will be 5 different sections available to help configure your policy: Policy Info, Source, Policy Conditions, Policy Actions, and Policy Expiration.

Policy Info

  1. Policy Name – The name of your policy. This field is required.
  2. Icon – The icon displayed next to your policy on the Detect Policies page. By default, the 'crosshairs' icon is selected.
  3. Description – A description of the policy's purpose.
  4. Labels – Tags used to organize your policy, such as MITRE ATT&CK technique IDs.
  5. Policy Active – A toggle that determines whether the policy is active. This toggle is on by default.

Source

The Source section for Cloud Detect policies replaces the Applies To section for Endpoint Detect. This section determines which logs the policy will be evaluating. Source options also change the available conditions in the Policy Conditions section, so each set of conditions will differ based on the selected source. Each Connector will also require a Log Type, and in some cases, a Log Subtype. The following options will appear for the chosen Connector:

  • Google Workspace – Requires the Google Workspace integration.
    • Drive
    • Gmail
    • Login
  • Microsoft Graph – Requires the Office 365 Connector integration. Please ensure that your tenant has consented to Microsoft Graph within the integrations page.
    • Directory Audit
    • Risk Detection
    • Security Alert
    • SignIn
  • Office 365 Management – Requires the Office 365 Connector integration. Please ensure that your tenant has consented to Office 365 Management within the integrations page.
    • Audit
      • Exchange
      • General
      • Microsoft Entra ID
      • SharePoint
    • DLP
      • All
  • Syslog Ingestion – Requires a Syslog Ingester to be set up in your organization. For information on how to set up the ingester, please refer to the following article: How to Install the Syslog Ingester | ThreatLocker Help Center 
    • Network
      • All
      • BigIP
      • FortiGate
      • GeneralSyslog
      • Meraki
      • Palo Alto
      • SonicWall
      • Sophos Firewall (XG/XGS)
      • SophosUTM
    • Other
  • ThreatLocker Advanced Analytics – Requires the Office 365 Connector integration.
    • Impossible Travel
    • Irregular Country Login
  • ThreatLocker Logs
    • System Audit

Note: The Policy Conditions and Policy Actions sections will remain grayed out until you complete the Source section.

Policy Conditions

Policy conditions tell ThreatLocker what activity to look for, and the conditions are split into two groups:

  • If ALL conditions are true – Every condition in this group must be met for the policy to match.
  • If ANY conditions are true – At least one condition in this group must be met for the policy to match.
    • You must have at least one condition in the If ALL conditions are true section in order to create a policy. Because Action Type is required, this field can be used to fulfill the requirement.

When both groups contain conditions, the policy matches only when all conditions in the first group AND at least one condition in the second group are met. Use the green '+' button to add a condition row and the red '-' button to remove one.

The following conditions will populate based on the chosen connector:

Google Workspace
  • Drive 
    • Actor.Email
    • Events.Name
    • ID.ApplicationName
    • ID.Time
    • IPAddress
    • ResourceDetails.Title
  • Gmail
    • Actor.Email
    • Events.Name
    • Events.Type
    • ID.Time
    • IPAddress
  • Login
    • Actor.Email
    • Events.Name
    • Events.Type
    • ID.Time
    • IPAddress

 

Microsoft Graph
  • Directory Audit
    • ActivityDateTime
    • ActivityDisplayName
    • AdditionalDetails.@odata.type
    • Category
    • CorrelationId
    • Id
    • InitiatedBy.App.AppId
    • InitiatedBy.App.DisplayName
    • InitiatedBy.App.ServicePrincipalId
    • InitiatedBy.App.ServicePrincipalName
    • InitiatedBy.User.DisplayName
    • InitiatedBy.User.Id
    • InitiatedBy.User.IpAddress
    • InitiatedBy.User.UserPrincipalName
    • LoggedByService
    • OperationType
    • Result
    • ResultReason
    • TargetResources.DisplayName
    • TargetResources.GroupType
    • TargetResources.Id
    • TargetResources.ModifiedProperties.DisplayName
    • TargetResources.ModifiedProperties.NewValue
    • TargetResources.ModifiedProperties.OldValue
    • TargetResources.Type
    • TargetResources.UserPrincipalName
  • Risk Detection
    • Activity
    • ActivityDateTime
    • AdditionalInfo
    • CorrelationId
    • DetectedDateTime
    • DetectionTimingType
    • Id
    • IpAddress
    • LastUpdatedDateTime
    • Location.City
    • Location.CountryOrRegion
    • Location.GeoCoordinates.Altitude
    • Location.GeoCoordinates.Latitude
    • Location.GeoCoordinates.Longitude
    • Location.State
    • RequestId
    • RiskDetail
    • RiskEventType
    • RiskLevel
    • RiskState
    • Source
    • TokenIssuerType
    • UserDisplayName
    • UserId
    • UserPrincipalName
  • Security Alert
    • ActorDisplayName
    • AdditionalData.@odata.type
    • AlertWebUrl
    • AssignedTo
    • Category
    • Classification
    • Comments.@odata.type
    • Comments.Comment
    • Comments.CreatedByDisplayName
    • Comments.CreatedDateTime
    • CreatedDateTime
    • Description
    • DetectionSource
    • DetectorId
    • Determination
    • Evidence.@odata.type
    • Evidence.CreatedDateTime
    • Evidence.DetailedRoles
    • Evidence.RemediationStatus
    • Evidence.RemediationStatusDetails
    • Evidence.Roles
    • Evidence.Tags
    • Evidence.Verdict
    • FirstActivityDateTime
    • Id
    • IncidentId
    • IncidentWebUrl
    • LastActivityDateTime
    • LastUpdateDateTime
    • MitreTechniques
    • ProductName
    • ProviderAlertId
    • RecommendedActions
    • ResolvedDateTime
    • ServiceSource
    • Severity
    • Status
    • SystemTags
    • TenantId
    • ThreatDisplayName
    • ThreatFamilyName
    • Title
  • SignIn
    • Agent.AgentType
    • Agent.ParentAppId
    • AppDisplayName
    • AppId
    • AppliedConditionalAccessPolicies.ConditionsNotSatisfied
    • AppliedConditionalAccessPolicies.ConditionsSatisfied
    • AppliedConditionalAccessPolicies.DisplayName
    • AppliedConditionalAccessPolicies.EnforcedGrantControls
    • AppliedConditionalAccessPolicies.EnforcedSessionControls
    • AppliedConditionalAccessPolicies.Id
    • AppliedConditionalAccessPolicies.Result
    • AppliedEventListeners.DisplayName
    • AppliedEventListeners.Id
    • AppliedEventListeners.Status
    • AppliedEventListeners.Type
    • AppOwnerTenantId
    • AppTokenProtectionStatus
    • AuthenticationAppDeviceDetails.AppVersion
    • AuthenticationAppDeviceDetails.ClientApp
    • AuthenticationAppDeviceDetails.DeviceId
    • AuthenticationAppDeviceDetails.DeviceName
    • AuthenticationAppDeviceDetails.OperatingSystem
    • AuthenticationAppPolicyEvaluationDetails.EvaluationResult
    • AuthenticationAppPolicyEvaluationDetails.PolicyId
    • AuthenticationAppPolicyEvaluationDetails.PolicyName
    • AuthenticationAppPolicyEvaluationDetails.Status
    • AuthenticationContextClassReferences.Detail
    • AuthenticationContextClassReferences.Id
    • AuthenticationDetails.AuthenticationMethod
    • AuthenticationDetails.AuthenticationMethodDetail
    • AuthenticationDetails.AuthenticationStepDateTime
    • AuthenticationDetails.AuthenticationStepRequirement
    • AuthenticationDetails.AuthenticationStepResultDetail
    • AuthenticationDetails.Succeeded
    • AuthenticationMethodsUsed
    • AuthenticationProcessingDetails.Key
    • AuthenticationProcessingDetails.Value
    • AuthenticationProtocol
    • AuthenticationRequirement
    • AuthenticationRequirementPolicies.Detail
    • AuthenticationRequirementPolicies.RequirementProvider
    • ClientAppUsed
    • ClientCredentialType
    • ConditionalAccessStatus
    • CorrelationId
    • CreatedDateTime
    • CrossTenantAccessType
    • DeviceDetail.Browser
    • DeviceDetail.DeviceId
    • DeviceDetail.DisplayName
    • DeviceDetail.IsCompliant
    • DeviceDetail.IsManaged
    • DeviceDetail.OperatingSystem
    • DeviceDetail.TrustType
    • FederatedCredentialId
    • GlobalSecureAccessIpAddress
    • HomeTenantId
    • HomeTenantName
    • Id
    • IncomingTokenType
    • IpAddress
    • IsInteractive
    • Location.City
    • Location.CountryOrRegion
    • Location.GeoCoordinates.Altitude
    • Location.GeoCoordinates.Latitude
    • Location.GeoCoordinates.Longitude
    • Location.State
    • NetworkLocationDetails.NetworkNames
    • NetworkLocationDetails.NetworkType
    • OriginalRequestId
    • PrivateLinkDetails.PolicyId
    • PrivateLinkDetails.PolicyName
    • PrivateLinkDetails.ResourceId
    • PrivateLinkDetails.ResourceName
    • ProcessingTimeInMilliseconds
    • ResourceDisplayName
    • ResourceId
    • ResourceTenantId
    • RiskDetail
    • RiskEventTypes
    • RiskEventTypesV2
    • RiskLevelAggregated
    • RiskLevelDuringSignIn
    • RiskState
    • ServicePrincipalCredentialKeyId
    • ServicePrincipalId
    • ServicePrincipalName
    • SessionId
    • SignInEventTypes
    • SignInIdentifier
    • SignInIdentifierType
    • Status.AdditionalDetails
    • Status.ErrorCode
    • Status.FailureReason
    • TokenIssuerName
    • TokenIssuerType
    • TokenProtectionStatusDetails.DeviceBindingStatus
    • TokenProtectionStatusDetails.SignInSessionStatus
    • UniqueTokenIdentifier
    • UserAgent
    • UserDisplayName
    • UserId
    • UserPrincipalName

 

Office 365 Management
  • Audit
    • Exchange
      • AppId
      • ClientAppId
      • ClientInfoString
      • ClientIP
      • ClientIPAddress
      • ClientRequestId
      • CreationTime
      • ExternalAccess
      • Id
      • InternalLogonType
      • Item.Attachments
      • Item.Id
      • Item.InternetMessageId
      • Item.IsRecord
      • Item.ParentFolder.Id
      • Item.ParentFolder.Path
      • Item.SizeInBytes
      • Item.Subject
      • LogonType
      • LogonUserSid
      • MailboxGuid
      • MailboxOwnerSid
      • MailboxOwnerUPN
      • ModifiedProperties
      • Operation
      • OrganizationId
      • OrganizationName
      • OriginatingServer
      • RecordType
      • ResultStatus
      • UserId
      • UserKey
      • UserType
      • Version
      • Workload
    • General
      • Actor.ID
      • Actor.Type
      • ActorContextId
      • ActorIpAddress
      • ApplicationId
      • AzureActiveDirectoryEventType
      • ClientIP
      • CreationTime
      • DeviceProperties.Name
      • DeviceProperties.Value
      • ErrorNumber
      • ExtendedProperties.Name
      • ExtendedProperties.Value
      • Id
      • InterSystemsId
      • IntraSystemId
      • ObjectId
      • Operation
      • OrganizationId
      • RecordType
      • ResultStatus
      • SupportTicketId
      • Target.ID
      • Target.Type
      • TargetContextId
      • UserId
      • UserKey
      • UserType
      • Version
      • Workload
    • Microsoft Entra ID
      • Actor.ID
      • Actor.Type
      • ActorContextId
      • ActorIpAddress
      • ApplicationId
      • AzureActiveDirectoryEventType
      • ClientIP
      • CreationTime
      • DeviceProperties.Name
      • DeviceProperties.Value
      • ErrorNumber
      • ExtendedProperties.Name
      • ExtendedProperties.Value
      • FirstLoginIp
      • Id
      • InterSystemsId
      • IntraSystemId
      • ModifiedProperties
      • ObjectId
      • Operation
      • OrganizationId
      • RecordType
      • ResultStatus
      • RiskType
      • SecondLoginIp
      • Source IP
      • SupportTicketId
      • Target.ID
      • Target.Type
      • TargetContextId
      • UserId
      • UserKey
      • UserType
      • Version
      • Workload
    • SharePoint
      • Actor.ID
      • Actor.Type
      • ActorContextId
      • ActorIpAddress
      • ApplicationId
      • AzureActiveDirectoryEventType
      • ClientIP
      • CreationTime
      • DeviceProperties.Name
      • DeviceProperties.Value
      • ErrorNumber
      • ExtendedProperties.Name
      • ExtendedProperties.Value
      • Id
      • InterSystemsId
      • IntraSystemId
      • ObjectId
      • Operation
      • OrganizationId
      • RecordType
      • ResultStatus
      • SupportTicketId
      • Target.ID
      • Target.Type
      • TargetContextId
      • UserId
      • UserKey
      • UserType
      • Version
      • Workload
  • DLP
    • All
      • Actor.ID
      • Actor.Type
      • ActorContextId
      • ActorIpAddress
      • ApplicationId
      • AzureActiveDirectoryEventType
      • ClientIP
      • CreationTime
      • DeviceProperties.Name
      • DeviceProperties.Value
      • ErrorNumber
      • ExtendedProperties.Name
      • ExtendedProperties.Value
      • Id
      • InterSystemsId
      • IntraSystemId
      • ObjectId
      • Operation
      • OrganizationId
      • RecordType
      • ResultStatus
      • SupportTicketId
      • Target.ID
      • Target.Type
      • TargetContextId
      • UserId
      • UserKey
      • UserType
      • Version
      • Workload

 

Syslog Ingestion

The same conditions will be listed no matter the selected Log Type or Log Subtype.

  • Action Type
  • Application
  • Canary File Path
  • Category
  • Certificates
  • CMD Line Parameters
  • Country
  • Created By Process
  • Creator ProcessId
  • Current Built-In Threat Level
  • Current Threat Level
  • Data
  • Destination Domain
  • Destination IP Address
  • Destination Port
  • Device Type
  • Effective Action
  • Elevation Status
  • Encryption Status
  • Event Log Description
  • Event Log ID
  • Event Log Keywords
  • Event Log Level
  • Event Log Message
  • Event Log Name
  • Event Log Opcode
  • Event Log Task Category
  • File Size (Bytes)
  • Full Path
  • Full Path With CmdLine
  • Hostname
  • Linux Agent Version
  • macOS Agent Version
  • Monitor Only
  • Monitor: TL DB File
  • Network Direction
  • Occurrence Frequency
  • Occurrences
  • Parent Process: Application
  • Parent Process: Certificate
  • Parent Process: File Size (Bytes)
  • Parent Process: SHA256
  • Parent Process: ThreatLocker Hash
  • Policy
  • Policy Action
  • Policy Name
  • Previously Matched Policies
  • Process File Size
  • Process Path
  • Process Path With CmdLine
  • Registry Key Change
  • Risk
  • Serial Number
  • SHA256
  • Source IP Address
  • System Log Category
  • System Log Format String
  • System Log Message
  • System Log Process
  • System Log Sender
  • System Log Subsystem
  • System Log Type
  • Thread Start Address
  • ThreadId
  • ThreatLocker Hash
  • Total Bytes
  • Total Bytes Frequency
  • Transport Layer
  • Username
  • Windows Agent Version

 

ThreatLocker Advanced Analytics
  • Impossible Travel
    • AddressPair
    • AssetNamePair
    • EventDescription
    • FirstLoginIp
    • LoginData.FirstLogin.ASN
    • LoginData.FirstLogin.ASNName
    • LoginData.FirstLogin.AssetName
    • LoginData.FirstLogin.City
    • LoginData.FirstLogin.Country
    • LoginData.FirstLogin.CountryCode
    • LoginData.FirstLogin.CreatedDate
    • LoginData.FirstLogin.Latitude
    • LoginData.FirstLogin.Longitude
    • LoginData.FirstLogin.PostalCode
    • LoginData.FirstLogin.Region
    • LoginData.FirstLogin.RegionCode
    • LoginData.FirstLogin.SourceIp
    • LoginData.FirstLogin.UserAgent
    • LoginData.SecondLogin.ASN
    • LoginData.SecondLogin.ASNName
    • LoginData.SecondLogin.AssetName
    • LoginData.SecondLogin.City
    • LoginData.SecondLogin.Country
    • LoginData.SecondLogin.CountryCode
    • LoginData.SecondLogin.CreatedDate
    • LoginData.SecondLogin.Latitude
    • LoginData.SecondLogin.Longitude
    • LoginData.SecondLogin.PostalCode
    • LoginData.SecondLogin.Region
    • LoginData.SecondLogin.RegionCode
    • LoginData.SecondLogin.SourceIp
    • LoginData.SecondLogin.UserAgent
    • LoginInformation.ASN
    • LoginInformation.ASNName
    • LoginInformation.AssetName
    • LoginInformation.City
    • LoginInformation.Country
    • LoginInformation.CountryCode
    • LoginInformation.CreatedDate
    • LoginInformation.Latitude
    • LoginInformation.Longitude
    • LoginInformation.PostalCode
    • LoginInformation.Region
    • LoginInformation.RegionCode
    • LoginInformation.SourceIp
    • LoginInformation.UserAgent
    • Operation
    • Resultstatus
    • RiskType
    • SecondLoginIp
    • UserName
    • Workload
  • Irregular Country Login
    • Country

 

ThreatLocker Logs
  • System Audit
    • Action
    • DateTime
    • Details
    • EffectiveAction
    • IPAddress
    • OrganizationId
    • SystemAuditId
    • UserId
    • Username

At the bottom of the Policy Conditions section, the Occurrences fields determine how often the conditions must be met before the policy is triggered:

  • Occurrences greater than or equal to – The number of times the conditions must be met.
  • Within – The timeframe the occurrences must happen in. You can choose between Minutes and Hours.

Operators

The Operator specifies how the Condition's value is compared to the value entered. Each condition might have different operators, and the following is a list of ones that can appear when creating a policy:

  • Matches
  • Does not match
  • Condtains
  • Does not contain
  • Starts with
  • Ends with
  • Equal to
  • Greater than
  • Greater than or equal to

Policy Actions

Once you have entered the conditions for your Detect policy, it is time to specify the Policy Actions. Policy actions specify what ThreatLocker should do when a policy's conditions are met. Users can apply multiple policy actions to a policy. To start, select an action from the dropdown field.

The following policy actions are available for Cloud Detect policies:

  • Call Rest API
    • Sends the matching log to an API endpoint from ThreatLocker servers.
  • Call Webhook
    • Sends the matching log to a webhook from ThreatLocker servers.
  • Create Alert
    • Creates an alert that will appear in the Detect Alert Center when triggered.
  • Create Connectwise Ticket
    • Creates a ticket in ConnectWise using your Connectwise integration.
  • Create Datto Ticket
    • Creates a ticket in Datto using your Datto integration.
  • Create Dynamics 365 Ticket
    • Creates a ticket in Dynamics 365 using your Dynamics 365 integration.
  • Create HaloPSA Ticket
    • Creates a ticket in HaloPSA using your HaloPSA integration.
  • Create Kaseya Ticket
    • Creates a ticket in Kaseya using your Kaseya integration.
  • Create ServiceNow Ticket
    • Creates a ticket in ServiceNow using your ServiceNow integration.
  • Create SolarWinds Ticket
    • Creates a ticket in SolarWinds using your SolarWinds integration.
  • Create Ticket
    • Creates a ticket using an integration with a ticketing system. This Policy Action requires that you have an integration configured that can create tickets.
  • Lockout Account
    • Locks out the account that triggered the alert. Locking out the account will prevent users from logging in but will not revoke session tokens, meaning that logged in sessions will remain logged in.
  • Revoke and Lockout
    • Performs the lockout account remediation action and the revoke session remediation action at the same time.
  • Revoke Session
    • Revokes the session token on the account, which will log out all active sessions.
  • Lockdown Machine
    • Makes the device inaccessible by locking it and restricting its network communication to ThreatLocker.
  • Send Email
    • Sends an email to chosen recipients.
  • Take No Action
    • Records the match without taking any action.

Create Alert

The 'Create Alert' action generates an alert in the ThreatLocker Detect Alert Center. Custom alerts created in your organization will not be monitored by Cyber Hero MDR, unlike Master Detect policies, which are monitored. The following fields are available to you when creating an alert:

  1. Severity – The severity level of the alert. You can choose between Information, Warning, and Severe.
  2. Threat Level – The number that is added to the asset's threat level when the policy is triggered. By default, this number is set to 0.
  3. Summary – A brief description of your alert. This is a required field.
  4. Add Variable into Summary – A dropdown that lets you insert variables, which will change to the corresponding value gathered from the alert once triggered.
  5. Details (Optional) – A place to add additional information about the triggered alert. This can be a more robust explanation of the alert's intended purpose.
  6. Add Variable into Details – A dropdown that lets you insert variables, which will change to the corresponding value gathered from the alert once triggered.
  7. Request Monitoring – Allows you to request that the Cyber Hero MDR team monitor alerts from this policy.

Policy Expiration

The 'Policy Expiration' section determines how long the policy is active.

  1. No Policy Expiration – The policy stays active until it is turned off or deleted. This is selected by default.
  2. Set Policy Expiration – The policy becomes inactive on the specified date and time.
  3. Schedule Policy – The policy is only active during the times you set. Select a 'Day', a 'Start Time', and how long the policy should stay active in 'Hours' and 'Minutes'. Use the green '+' button to add another day.

Once your policy is configured, select the 'Create' button to save it. Selecting 'Cancel' closes the sidebar without saving.

Was this article helpful?