---
sourceDocument: Xanadu Security Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/security-management

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Security Management

ft:clusterId :

    - security

bundleId :

    - security

workflow :

    - Technology


---

# Update Sensor Flow Action

# Update Sensor Flow Action {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

The Update Sensor flow action updates the sensor to isolate hosts or endpoints.
The Update Sensor flow action can be used with any flow to isolate hosts or endpoints.

## Results

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

| Result | Description |
|-|-|
| Success | Updated sensor. |
| Failure | Unable to update sensor. More error information is available in the flow action output error. |
[Table 1. Results]

{#update-sensor-activity__table_lg3_dm5_vy}

## Input variables {#update-sensor-activity__section_rct_1gm_3z}

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

| Variable | Description |
|-|-|
| api_token | Carbon Black API key. |
| use_mid_server | Determines whether the REST flow action uses the MID server to interact with Carbon Black or not. |
| endpoint_base | Base URL of the Carbon Black API. |
| sensor_id | Sensor identifier. |
| sensor_detail | Description of the Carbon Black sensor in JSON format. |
[ ]

{#update-sensor-activity__table_pgm_tfy_jr}

## Output variables

The output variables contain data that can be used in subsequent activities.
{#update-sensor-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. |
[Table 2. Output variables]

{#update-sensor-activity__table_bnj_jfy_jr}

