Close Session activity

Closes a Carbon Black session within the workflow.

The Close Session activity can be used with any workflow to close a Carbon Black session.

Results

Possible results for this activity are:

Table 1. Results
Result Description
Success Session closed.
Failure Session not closed. More error information is available in the activity output error.

Input variables

Input variables determine the initial behavior of the activity.

Variable Description
api_token Carbon Black API key.
endpoint_base Base URL of the Carbon Black API.
session_id Session identifier.
use_mid_server Determines whether the REST activity uses the MID server to interact with Carbon Black or not.

Output variables

The output variables contain data that can be used in subsequent activities.

Table 2. Output variables
Variable Description
status_code Determines if the request was successful. If not, displays an HTTP error code and message.
output API variables