Skip to content

Device Segments

Device segments put the endpoints in your estate into groups. Segments use criteria such as operating system, hostname pattern or custom tag. You can apply settings to each segment. Segments are the primary method to control which features are enabled on which devices.

💡 Where segments are used: Segments control Active Response access, malware scanning behaviour, memory protection settings and other feature toggles on the endpoint. The Active Response and Local Configuration articles refer to segments.

ℹ Note: You now manage segments from the Device Configuration page. SenseOn removed the separate Settings > Device Segments list. You can see, create and edit segments on Settings > Device Configuration, with the settings. The platform automatically redirects bookmarks for the old page to Device Configuration.


Accessing Device Segments

Go to Settings > Device Configuration. To see this page, you must have the Manager or Admin role.

The page lists all segments that are configured for your organisation. For each segment, it shows the device count, a summary of the criteria and the feature settings that apply.

The Device Configuration page listing device segments and their settings


How Segmentation Works

SenseOn automatically compares each device in your estate with the criteria of each segment. A device can be a member of more than one segment. If two segments apply settings that conflict to the same device, the segment priority decides which setting wins. Segments with a higher priority override segments with a lower priority.

SenseOn calculates the segment membership again when one of these events occurs:

  • A new device enrols
  • The hostname, OS or other criteria field of a device changes
  • The criteria of a segment change

Creating a Segment

  1. Go to Settings > Device Configuration.
  2. Click Create a new Segment.
  3. Give the segment a name and an optional description.
  4. Define the criteria that select the devices for this segment. Criteria can include:
  5. Operating system (Windows, Linux, macOS)
  6. Hostname (exact match or wildcard pattern)
  7. IP address range
  8. Custom tag value
  9. Universal Sensor agent version
  10. Configure the settings for the devices in this segment (refer to the next section).
  11. Set the segment priority. The priority is a number, and the higher number wins.
  12. Click Save.

For the operators that each criterion accepts, the wildcard syntax and how rules combine, refer to How Criteria Are Matched.

The segment is active immediately. Devices that match the criteria get the new settings at their next check-in.


How Criteria Are Matched

Each rule in a segment is a single statement with the form property, operator, value. For example, hostname matches LON-SRV-*. The platform supplies the available properties and the operators that each property accepts. They are not fixed in the interface. Thus, the exact list can be different for each tenant. The list can also change when new properties become available.

Operators

A property offers only the operators that apply to it. If a property accepts only one operator, the rule builder shows that operator as fixed text. If it accepts more than one operator, you select the operator from a dropdown.

Operator Meaning
Equals The property matches the value exactly.
Not equal to The property does not match the value. A device that never reported the property also satisfies this rule. Available on hostname, fully qualified domain name (FQDN), and operating system type.
Matches (wildcard pattern) The property matches a pattern that contains wildcard characters. Available on hostname and fully qualified domain name (FQDN).
Wildcard pattern does not match The property does not match a pattern that contains wildcard characters. A device that never reported the property also satisfies this rule. Available on hostname and FQDN.
Matches (path) The property matches a full path or a path leaf. This operator is for the Active Directory organisational unit.
In The property is a member of the set of values that you supply. This operator is for Active Directory groups.

The Not equal to and Wildcard pattern does not match operators are negative. They state that a property does not match the value. Use them to exclude devices from a segment (refer to Excluding devices from a segment).

Wildcard pattern syntax

When a rule uses a wildcard pattern operator (Matches or Wildcard pattern does not match), you can use two wildcard characters in the value:

Character Matches
* Zero or more characters
? Exactly one character

For example, for the hostnames LON-SRV-01, LON-SRV-02 and MAN-WKS-01:

  • LON-SRV-* matches LON-SRV-01 and LON-SRV-02
  • LON-SRV-0? matches LON-SRV-01 and LON-SRV-02
  • *-SRV-* matches both London servers but not the Manchester workstation
  • LON-SRV-01 with the wildcard operator and no wildcard character works as an exact match

If a segment contains one or more wildcard pattern rules, the rule builder shows a How to use wildcards hint.

💡 Wildcards apply to the hostname and FQDN properties. For properties that offer a fixed set of values, such as operating system type, you select a value from a dropdown. These properties do not accept patterns.

Active Directory organisational unit format

Rules on the Active Directory organisational unit (OU) property take a path, not a distinguished name. A value such as OU=Hardware,DC=example,DC=local does not match any device.

The Universal Sensor reads the distinguished name of each Windows device from Active Directory. It reports the OU of the device as a path, from the top-level OU down to the OU that holds the computer object:

  • each OU= component becomes one path segment, separated by /, and the path starts with a /
  • the sensor reverses the sequence, so that the outermost OU is first
  • the sensor removes the name of the computer (CN=) and the domain components (DC=)

For example, for a computer with the distinguished name:

CN=LON-WKS-042,OU=Deploy Test,OU=London,OU=Hardware,DC=example,DC=local

the reported OU path is:

/Hardware/London/Deploy Test

The Matches (path) operator accepts the full path or the leaf of the path:

Rule value Matches the device above? Why
/Hardware/London/Deploy Test Yes Full path, from the top-level OU down
Deploy Test Yes The leaf, the OU that directly holds the computer
OU=Deploy Test,OU=London,OU=Hardware,DC=example,DC=local No The operator does not accept the distinguished name format
/Deploy Test/London/Hardware No Path written in distinguished name order, innermost OU first

Remember these points:

  • Spaces are kept. An OU name that contains spaces, such as Deploy Test, stays as it is in Active Directory, without quotes.
  • The domain is not part of the path. Two domains with the same OU structure give the same path. To target only one domain, combine the OU rule with a hostname or FQDN rule. Then set the segment to all.
  • Leaf matches can be broad. A leaf such as Laptops matches each device with an OU that ends in Laptops, in any position in the tree. If the same OU name is in several locations, use the full path.
  • Special characters are left escaped. Active Directory escapes some characters in a distinguished name, such as a comma. If an OU name contains one of these characters, the path keeps the backslash that escapes the character. The sensor reports an OU named Sales, EMEA as Sales\, EMEA.
  • Only domain-joined Windows devices report an OU. Devices that are not joined to Active Directory have no OU value. macOS and Linux devices also have no OU value. These devices never match an OU rule.

If you are not sure which path a device reports, compare it with Devices matching the current conditions before you save. Refer to Checking a rule before you save it. If a rule returns no devices, there are two usual causes. The value is in distinguished name format, or the path is in the wrong sequence.

Combining more than one rule

A segment holds a flat list of rules. One any or all choice joins the rules, and this choice applies to the whole segment:

  • any means that a device joins the segment if it matches one or more rules. This is the same as a boolean OR.
  • all means that a device joins the segment only if it matches every rule. This is the same as a boolean AND.

When a segment has two or more rules, the any / all toggle shows in the rule builder. The toggle is in the sentence that reads Select devices which match any of the following rules. With one rule, there is nothing to combine. Thus, the rule builder does not show the toggle.

You cannot nest rules, and you cannot mix any and all in one segment. Thus, one segment cannot express a condition such as Windows devices, and either of two hostname patterns. If you must have such a condition, use one of these methods:

  • Make the rules wider and accept the larger match.
  • Put the logic in two segments, and let the priority decide which settings apply.

Excluding devices from a segment

Two negative operators let a rule state that a property does not match a value. Use them to remove devices that the segment otherwise selects:

  • Not equal to, available on hostname, FQDN, and operating system type.
  • Wildcard pattern does not match, available on hostname and FQDN, with the same wildcard syntax as the positive pattern operator.

To remove devices from a wider match, combine a negative rule with a positive rule. Then set the segment to all. For example, to target all servers except the servers that use the NOPS- name convention, set the segment to all with these two rules:

  • hostname matches *-SRV-*, and
  • hostname wildcard pattern does not match NOPS-*

âš  A device with no value satisfies a negative rule. A device that never reported the property counts as a device that does not match the value. Thus, a negative rule includes the device. For example, hostname does not match NOPS-* selects a device with no recorded hostname.

To keep out devices that do not have the property, pair the negative rule with a positive rule on the same property. All the devices that you want in the segment must report this property. Then set the segment to all. A positive rule on a different property does not help. The negative rule already counts a missing value as a match. Thus, a device without the property can still pass the segment through an unrelated positive rule.

You can also put segments in layers by priority. Use this method as an alternative to a negative rule, or with a negative rule. A device can be in several segments at the same time. If two segments set the same setting differently, the segment with the higher priority wins.

To make an exception with this method, let the broad segment continue to match everything. Then create a narrower segment with a higher priority. This segment matches only the exceptions, and it sets the values that you want for those devices. This method does not remove those devices from the broad segment, but it decides the settings that they get.

Checking a rule before you save it

Under Devices matching the current conditions, the segment editor lists the devices that match the rules as they are now. It also shows a count. Before you save, use this list to make sure that a pattern selects the devices that you expect. You can select which device properties the preview shows.

Two other behaviours are important:

  • A rule with no value is incomplete, and the segment editor does not save it. Before you save the segment, give each rule a value or delete the rule.
  • If a rule refers to a property that is no longer available to your tenant, the rule builder flags it. The rule is then evaluated as non-matching. The rule does not match every device, and the rest of the segment continues to work. When you see a flagged rule, remove it.

Per-Segment Settings

You can configure these settings for each segment:

Setting Effect
Active Response enabled Lets users with Active Response access start sessions and run actions on devices in this segment. Refer to Active Response.
Malware scanning Controls if the endpoint agent does on-access and on-demand malware scans.
Memory protection Gives more threat protection at the memory level. It can have an effect on performance on hosts with limited resources.
Media Control Controls removable mass storage devices such as USB drives. This includes the action for devices that no rule covers. To restrict USB devices with Group Policy as an alternative, refer to USB Controls.
End-user notifications Controls if the endpoint shows toast notifications to the user. Refer to End User Notifications.
Local configuration overrides Blocks or does not block local configuration changes on the endpoint. Refer to Local Configuration.

ℹ Availability: Malware scanning and Memory protection are part of Endpoint Protection. Endpoint Protection is a licensed module that SenseOn enables for your organisation. Until SenseOn enables it, those settings show as locked. Media Control settings show only if SenseOn enabled Media Control.


Editing a Segment

  1. Go to Settings > Device Configuration.
  2. Select the segment that you want to edit.
  3. Change the criteria, settings or priority.
  4. Click Save.

Devices get the changes at their next check-in.


Compatibility Checks

When you change a setting on a segment, SenseOn compares each affected device with the minimum Universal Sensor agent version for that setting. If a device has an out-of-date agent, you see a warning with a list of the affected hosts. The setting still applies. But devices with an agent below the minimum version ignore the setting until you upgrade them.

To see the devices that a compatibility warning applies to:

  1. Open the segment.
  2. Click the Compatibility tab.
  3. The list shows each device, its current agent version, and if it supports each configured setting.

Deleting a Segment

  1. Go to Settings > Device Configuration.
  2. Select the segment.
  3. Click Delete Segment.
  4. Confirm the action.

Devices that were only in the deleted segment go back to the Default segment.


The Default Segment

Each organisation has a Default segment. It applies to each device that no more specific segment matches. You cannot delete the Default segment, but you can edit its settings. Use the Default segment to set a safe baseline behaviour for the whole estate. Then add more specific segments in layers on top for exceptions.

A segment other than the Default segment can follow the Default segment's Antimalware exclusion lists. The list shows an Inherited badge while it follows the Default segment, and a Modified badge after you change it. For the steps to customise or inherit a list, refer to EPP Exclusions.


Auditing Segment Changes

The Audit Log records all events that create, edit or delete a segment. These events have the action category segment.