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

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Security Management

ft:clusterId :

    - security

bundleId :

    - security

workflow :

    - Technology


---

# Update Sensor activity

# Update Sensor activity {#ariaid-title1}

* Release version: Australia
* 
* Updated March 12, 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

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

## Results

Possible results for this activity 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 activity 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 activity.
{#update-sensor-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. |
| 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}

