Reference: Sensor Selector Expressions¶
Many components in LimaCharlie require selecting a set of Sensors based on some characteristics. The selector expression is a text field that describe what matching characteristics the selector is looking for.
The following fields are available in this evaluation:
sid: the Sensor IDoid: the Organization IDiid: the Installation Key IDplat: the Platform name (see platforms)ext_plat: the Extended Platform name (see platforms)arch: the Architecture name (see architectures)enroll: the Enrollment as a second epoch timestamphostname: the hostnamemac_addr: the latest MAC addressalive: second epoch timestamp of the last time the Sensor connected to the cloudext_ip: the last external IPint_ipthe last internal IPisolated: a boolean True if the sensor's network is isolatedshould_isolate: a boolean True if the sensor is marked to be isolatedkernel: a boolean True if the sensor has some sort of "kernel" enhanced visibilitydid: the Device ID the sensor belongs totags: the list of tags the sensor currently has
The following are the available operators:
==: equals!=: not equalin: element in list, or substring in stringnot in: element not in list, or substring not in stringmatches: element matches regular expressionnot matches: element does not match regular expressioncontains: string is contained within element
Here are some examples:
- all sensors with the test tag:
test in tags - all windows boxes with an internal IP starting in 10.3.x.x:
plat == windows and int_ip matches `^10\.3\..*` - all 1password sensors, strings starting with a number need to be quoted with a backtick:
plat == `1password` - all linux with network isolation or evil tag:
plat == linux or (isolated == true or evil in tags) - all azure related platforms:
plat contains "azure"
In LimaCharlie, a Sensor ID is a unique identifier assigned to each deployed endpoint agent (sensor). It distinguishes individual sensors across an organization's infrastructure, allowing LimaCharlie to track, manage, and communicate with each endpoint. The Sensor ID is critical for operations such as sending commands, collecting telemetry, and monitoring activity, ensuring that actions and data are accurately linked to specific devices or endpoints.
In LimaCharlie, an Organization ID is a unique identifier assigned to each tenant or customer account. It distinguishes different organizations within the platform, enabling LimaCharlie to manage resources, permissions, and data segregation securely. The Organization ID ensures that all telemetry, configurations, and operations are kept isolated and specific to each organization, allowing for multi-tenant support and clear separation between different customer environments.
Installation keys are Base64-encoded strings provided to Sensors and Adapters in order to associate them with the correct Organization. Installation keys are created per-organization and offer a way to label and control your deployment population.
Similar to agents, Sensors send telemetry to the LimaCharlie platform in the form of EDR telemetry or forwarded logs. Sensors are offered as a scalable, serverless solution for securely connecting endpoints of an organization to the cloud.