Skip to content

TheHive Flow Glossary#

6.0 One

TheHive Flow is the automation engine in TheHive. It runs workflows that respond to events, process data, and execute actions across integrated systems.

Terms are listed alphabetically.

To understand how the concepts relate to each other, see About TheHive Flow.

Action node#

A workflow component that performs generic operations such as sending requests or messages, running Cortex analyzers and responders, or calling an LLM. Action nodes are the output of workflows: they create changes or trigger downstream processes. Available actions include HTTP request, Send email, Analyzer, Responder, and AI.

AI action#

An action node that sends a message to a large language model (LLM) and returns its response. The node uses one of the LLM providers configured in TheHive by an administrator. The response can be constrained to a structured output schema so downstream nodes can consume individual fields.

Analyzer action#

An action node that triggers Cortex analyzers on observables to perform automated analysis and threat intelligence enrichment.

CrowdStrike Falcon integration#

An integration node that performs operations through the CrowdStrike Falcon APIs, such as querying devices and vulnerabilities, running response actions on hosts, querying and updating alerts, and looking up threat intelligence indicators. It also manages custom indicators of compromise and detonates file samples in the Falcon sandbox.

Elastic Security integration#

An integration node that performs operations through the Elasticsearch API, such as searching and indexing documents, running ES|QL queries, and listing Elastic Security detection alerts.

Exit variable#

A named jq expression declared in workflow settings that is evaluated when the workflow completes. Its computed value is stored with the run and returned to the calling workflow when the workflow is called by a Subworkflow node.

File reference#

A small object that stands in for a value stored as a file, such as a large output or binary content. Referencing the variable reads the file content back transparently when it's JSON and small enough. The file metadata is available through the $files namespace.

Flow node#

A workflow component that controls how execution branches, loops over items, pauses, or calls another workflow. Flow nodes include If, For each, Sleep, and Subworkflow.

For each flow#

A flow node that iterates over each item in an array or object, and executes the same sequence of nodes for each entry. Iterations run sequentially by default, or in parallel when the Parallel execution toggle is turned on.

Global variable#

A value shared across all workflows within an organization. Global variables can't be modified within workflows. Global variables can be visible or secret. Secret global variables are intended for sensitive information such as API keys, passwords, or SSL/TLS certificate files. The value of a secret variable is never displayed in the interface and never appears in execution logs.

HarfangLab EDR integration#

An integration node that performs operations through the HarfangLab API, such as searching and isolating endpoints, managing alerts, running jobs on agents, searching telemetry, managing indicator of compromise (IOC) rules, and listing Sigma rules.

HTTP request action#

An action node that sends HTTP requests to external APIs and TheHive API.

If flow#

A flow node that evaluates a jq expression and directs execution down two branches based on the boolean result.

Input variable#

A named value passed into the workflow when it starts. It's declared and assigned in the Workflow input section of a Webhook trigger, with a jq expression applied to the incoming request. Input variables for all nodes of the workflow are managed in the workflow settings, for example to rename, describe, or delete them. Its value can also be assigned when the workflow is run from a case or alert page, which assigns the entity identifier to the case_id or alert_id input variable when the workflow declares it. The identifier is also always available in the trigger payload. A Subworkflow node that calls the workflow can also assign its value.

Integration node#

A workflow component that performs operations in TheHive or a third-party product through its API. Each integration node targets one product and exposes its operations as dedicated actions selected within the node. Available integrations include TheHive, Splunk, Microsoft Defender for Endpoint, Microsoft Defender (Graph Security API), Microsoft Entra ID, Microsoft Sentinel, Recorded Future, VirusTotal, CrowdStrike Falcon, Elastic Security, HarfangLab EDR, Jira Cloud, Slack, Microsoft Teams, ServiceNow, OpenCTI, and Wazuh.

JavaScript code transformation#

A transformation node that executes JavaScript scripts within the workflow.

Jira Cloud integration#

An integration node that performs operations through the Jira Cloud platform REST API, such as creating, editing, transitioning, and searching issues, managing comments, attachments, worklogs, watchers, and votes, and browsing projects and issue metadata.

jq expression#

A query language used to evaluate conditions and manipulate JSON data. It's used in flow nodes to define conditions and collections, and in any node field where an inserted variable reference is wrapped in a jq expression, displayed as a blue reference. The available functions are listed in Jq Functions.

Local variable#

A variable scoped to a single workflow, created during workflow execution with a Set local variable transformation node.

Loop output variable#

A variable declared on a For each flow node to collect results across iterations. Each loop output variable is a named jq expression evaluated after every iteration. The values are aggregated across all iterations and available in the nodes that follow the loop, referenced as $<node_name>.<variable_name>.

Microsoft Defender for Endpoint integration#

An integration node that performs operations through the Microsoft Defender for Endpoint API, such as listing, retrieving, and updating alerts, running response actions on devices, and creating indicators.

Microsoft Defender (Graph Security API) integration#

An integration node that performs operations through the Microsoft Graph security API, such as listing, retrieving, and updating Microsoft Defender XDR alerts and incidents.

Microsoft Entra ID integration#

An integration node that performs operations through the Microsoft Graph API, such as looking up users, sign-ins, audit logs, devices, and risk detections, and taking account actions such as Disable User or Force Password Reset.

Microsoft Sentinel integration#

An integration node that performs operations through the Microsoft Sentinel REST API, such as listing, retrieving, and updating incidents, managing incident comments, and listing or writing watchlists.

Microsoft Teams integration#

An integration node that performs operations through the Microsoft Graph API, such as sending, replying to, updating, and deleting channel messages, and sending chat messages. It also creates chats and channels, adds team and channel members, and lists teams, channels, and messages.

Node#

A building block in a workflow that performs a specific function. Nodes connect sequentially to form workflow logic, with data flowing from one node to the next. Each node receives input from previous steps and produces output for subsequent operations. Node types include trigger, flow, transformation, action, and integration nodes.

OpenCTI integration#

An integration node that performs operations through the OpenCTI GraphQL and TAXII 2.1 APIs, such as searching entities, observables, indicators, and relationships, and creating observables, indicators, reports, incidents, relationships, and sightings. It also manages labels, markings, and notes, and requests enrichment from connectors.

Output variable#

A variable scoped to a single workflow. Nodes generate output variables automatically during execution, and all subsequent nodes can reuse them.

Python code transformation#

A transformation node that executes Python scripts within the workflow.

Recorded Future integration#

An integration node that performs operations through the Recorded Future API, such as enriching and triaging indicators in bulk, looking up domains, IP addresses, hashes, and URLs, and searching analyst notes and threat maps.

Responder action#

An action node that triggers Cortex responders on alerts, cases, observables, tasks, or task logs to perform automated response actions.

Scheduler trigger#

A trigger type within a trigger node that starts the workflow on a recurring schedule. Multiple scheduler blocks can coexist on the same trigger node, each running independently on its own schedule.

Send email action#

An action node that sends emails using TheHive SMTP configuration.

ServiceNow integration#

An integration node that performs operations through the ServiceNow Table and Attachment APIs, such as creating and updating incidents and change requests, and searching configuration items, users, and user groups. It also manages record attachments, and reads and writes records in any table.

Set local variable transformation#

A transformation node that creates local variables.

Slack integration#

An integration node that performs operations through the Slack Web API, such as posting, updating, and deleting messages, managing reactions, reading threads and channel history, and looking up channels and users.

Sleep flow#

A flow node that pauses the execution path for a specified duration before continuing with the next node.

Splunk integration#

An integration node that performs operations through the Splunk REST API, such as creating and following search jobs, running searches, listing indexes and fired alerts, submitting events, and updating Splunk Enterprise Security findings and investigations.

Subworkflow flow#

A flow node that calls another workflow of the same organization and waits for it to finish. It passes values to the input variables of the called workflow and returns its exit variables as outputs.

TheHive integration#

An integration node that performs operations in TheHive through TheHive API, such as creating, updating, querying, or deleting cases, alerts, tasks, and observables, managing comments and task logs, or starting a Cortex job.

Transformation node#

A workflow component that processes or manipulates data. It performs custom operations that modify, extract, or format information as it moves through the workflow. Transformation nodes include Set local variable, JavaScript code, and Python code nodes.

Trigger node#

The entry point that initiates workflow execution. Every workflow requires one trigger node, which is automatically created with the workflow. Multiple triggers can be configured within this node and work as OR conditions: any one of them independently starts the workflow. Available trigger types: Webhook and Scheduler.

Trigger payload#

A built-in variable, referenced as $input.payload, automatically available in every run with no declaration or assignment in a Webhook trigger. It carries the data received by the trigger that started the run, such as the JSON body, headers, and query parameters of a webhook request. See Access the Trigger Payload.

VirusTotal integration#

An integration node that performs operations through the VirusTotal API, such as scanning URLs and files, and retrieving domain, IP address, file, and analysis reports.

Wazuh integration#

An integration node that performs operations through the Wazuh server API, such as listing, adding, restarting, and deleting agents, and running active responses and file integrity monitoring scans. It also reads security configuration assessment results, rules, CDB lists, and manager logs.

Webhook trigger#

A trigger type within a trigger node that listens for incoming HTTP requests from external systems or TheHive itself. It accepts the GET, POST, PUT, DELETE, PATCH, HEAD, and OPTIONS methods unless the accepted methods are restricted. It defines its own authentication method, because the webhook URL is reachable without signing in to TheHive.

Workflow#

An automated process created in TheHive Flow, consisting of interconnected nodes that define automated procedures. Workflows must begin with a trigger node and can include flows, transformations, actions, and integrations.

Next steps