---
sourceDocument: Brazil Security Management
sourceDocumentLink: https://www.servicenow.com/docs/r/security-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Security Management

ft:clusterId :

    - security

bundleId :

    - security

workflow :

    - Technology


---

# Get Sensor ID Flow Action

# Get Sensor ID Flow Action {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The Get Sensor ID flow action gathers sensor identifiers to use in the flow.
The Get Sensor ID flow action can be used with any flow to gather sensor information to use in the flow.

## Results

Possible results for this flow action are:
{#get-sensor-id-activity__table_lg3_dm5_vy__entry__2}

| Result | Description |
|-|-|
| Success | Found sensor identifiers. |
| Failure | No sensors found. More error information is available in the flow action output error. |
[Table 1. Results]

{#get-sensor-id-activity__table_lg3_dm5_vy}

## Input variables {#get-sensor-id-activity__section_xgv_qfm_3z}

Input variables determine the initial behavior of the flow action.
{#get-sensor-id-activity__table_pgm_tfy_jr__entry__2}

| Variable | Description |
|-|-|
| api_token | Carbon Black API key. |
| use_mid_server | Determines whether the REST activity uses the MID server to interact with Carbon Black or not. |
| endpoint_base | Base URL of the Carbon Black API. |
| ci_ip_address | Configuration item IP address. |
[ ]

{#get-sensor-id-activity__table_pgm_tfy_jr}

## Output variables

The output variables contain data that can be used in subsequent activities.
{#get-sensor-id-activity__table_bnj_jfy_jr__entry__2}

| Variable | Description |
|-|-|
| status_code | Determines if the request was successful. If not, displays an HTTP error code and message. |
| Array Element type | API variables. |
| sensor_detail | Description of the Carbon Black sensor in JSON format. |
[Table 2. Output variables]

{#get-sensor-id-activity__table_bnj_jfy_jr}

