TheHive Documentation#
Overview#
TheHive is a Cybersecurity Incident Response Management (CIRM) platform for Security Operations Center (SOC), Computer Emergency Response Team (CERT), Computer Security Incident Response Team (CSIRT), and Managed Security Service Provider (MSSP) teams. It brings the complete incident lifecycle into a collaborative, case-centric workspace, from the first alert to final resolution.
TheHive works with Cortex, the automated analysis and response engine, and with TheHive Flow, its native orchestration and automation layer.
Key features#
Centralized alert management
Alerts from every source arrive in one structured queue, deduplicated and ready to triage. Similar alerts are correlated, custom views and filters turn alert volume into clear priorities, and a single action escalates an alert to a case.
Structured case management
A case holds every piece of an investigation: observables, evidence files, tasks, decisions, and enrichment results. Case templates speed up case creation and make sure no investigation step is missed, custom fields adapt cases to each team's needs, and similar cases can be merged. Case reports present key case data in a customizable format, ready to download and share.
Analysis and response
Cortex analyzers enrich observables, and their reports help decide on the right response. Cortex responders, out-of-the-box or custom, trigger response actions directly from a case or an alert.
Collaboration and visibility
Analysts assign tasks, leave comments, and share knowledge. Separate organizations keep teams or clients apart, and restricted visibility limits access to sensitive cases. Dashboards follow progress and key metrics, and SLA rules raise automatic warnings. TheHive Portal shares selected case information securely with external stakeholders.
Automation with TheHive Flow
TheHive Flow runs workflows straight from a case or an alert, and handles repetitive tasks such as alert triage, enrichment, and escalation. Workflows are built in a visual editor and extended with custom Python or JavaScript code. Every run is recorded step by step, so automation stays transparent and auditable.
Integrations
TheHive connects to detection, enrichment, and response systems such as SIEM, EDR, threat intelligence, and ticketing tools, so analysts work from one place. MISP integration supports threat intelligence sharing, while notifications and functions connect external applications directly to TheHive.
Architecture#
TheHive can be set up on a standalone server or as a group of servers, known as a cluster, to accommodate different growth requirements. TheHive architecture is highly modular, allowing each layer (TheHive application, database and indexing engine, and file storage) to be deployed independently as standalone nodes or as part of a clustered setup. This flexibility enables complex clustered architectures with virtual IP addresses and load balancers for optimal performance and scalability.
The essential components of TheHive setup include:
- Apache Cassandra for robust data storage
- Elasticsearch, serving as a powerful indexing engine
- A file storage solution, which can be the local filesystem of the server hosting the application for standalone setups, or a shared storage back end such as NFS or an S3-compatible object storage service for clustered environments.
Using Lucene
Starting from version 5.1, TheHive no longer supports the Lucene back end for indexing. Users who were previously utilizing Lucene with TheHive 4.1.x are advised to migrate their index to Elasticsearch using this comprehensive guide.
A standalone server setup involves installing all necessary components on a single server:
- Apache Cassandra
- Elasticsearch
- File storage on the local filesystem
- TheHive
- Nginx for HTTPS termination (optional)
For detailed installation instructions, refer to the installation guide.
TheHive and its associated applications offer flexibility in choosing the right setup based on specific requirements. This includes the ability to mix and match different nodes and applications within a cluster.
Each layer and node within the architecture can be installed on dedicated operating systems, allowing for tailored configurations. The installation guide for a 3-node cluster provides comprehensive instructions for setting up a complex clustered environment.


