MISP and TheHive integration

Connecting MISP to TheHive lets MISP events arrive as alerts and sends case observables back to MISP as events. This page covers the method, prerequisites, configuration order, mapping, security, and the licensing questions to settle first.

On this page

How MISP and TheHive integration works for incident response teams

An incident response team that keeps indicators in MISP and open cases in TheHive usually wants the two systems to share context in both directions, so that a new MISP event can raise an alert for analysts and the observables an analyst collects during a case can be published back as MISP events for other teams. The integration is the piece that moves data between those two directions. Before any design work, confirm the exact connector, module or script that your versions of MISP and TheHive support, because the integration path is maintained by the projects and by community contributors and changes between releases. Check the current documentation of both projects, record the versions you will run, and treat that record as the baseline for the build.

The first direction sends MISP events into TheHive as alerts. Your team decides which events qualify, typically by tag, distribution level, or a published flag, so that analysts only see alerts they can act on. The second direction sends case observables from TheHive back to MISP as events or attributes. This is where most teams need to make decisions: which observable types are published, whether the events are created as drafts for review, which distribution level applies, and who owns the MISP organisation that receives the data. Write those rules down before the build, because an observable pushed to a sharing community cannot be pulled back once partners have synchronized it.

Both directions depend on API keys with the right scope. The MISP key should belong to a dedicated automation user with only the permissions the sync needs, and the TheHive side needs a service account that can read alerts and cases. Confirm in the integration documentation which fields and permissions each side expects, and test with a sample event and a disposable case before connecting production data. The Cortex MISP analyzer covers a different job, looking up observables against MISP during an investigation, and is described on its own page, so keep that path separate in your design.

What you need in place before connecting MISP to TheHive

The integration depends on four platforms and one commercial question working together: a supported MISP line, a compatible TheHive release, scoped credentials on both sides, and a network path that carries authenticated traffic. Confirm each item before any configuration begins, because a mismatch in one usually surfaces as a silent sync failure rather than a clear error.

Supported MISP version

Start from MISP 2.5, the version the project recommends for new deployments. MISP 2.4 is end of life with security fixes only, so do not build a new instance on it. Check the release notes for the exact 2.5 patch level you plan to run, and confirm that the TheHive connector or module you choose supports that line in the project's own documentation rather than assuming compatibility.

MISP download page

Compatible TheHive release

Record the TheHive version in your environment and match it against the integration method you select, whether that is a native connector, a script, or a companion module. Integration methods often pin to specific TheHive API behavior, so a version that works for alert creation may not support case observable export. Ask the vendor for written compatibility before you schedule the build.

Scoped service accounts and API keys

Create a dedicated service account in MISP and another in TheHive, rather than reusing an analyst login. Generate the MISP API key under that account with the smallest role that can read or publish the events you need, and confirm which distribution levels and tags that role can see. Store both keys in your secrets manager, since a key with broad visibility exposes every event it can read.

Network paths and TLS certificates

Map the traffic in both directions: TheHive must reach the MISP API over HTTPS, and the integration must reach TheHive's API from wherever it runs. Confirm firewall rules, proxies and DNS names before testing. Use certificates issued by a CA that both hosts trust, and verify the chain from the integration host, because disabled certificate checks are a common shortcut that weakens the link.

Written TheHive licensing terms

Confirm in writing whether your TheHive license allows connecting more than one MISP server before you design a multi-instance topology. Licensing terms can differ between editions and change over time, so ask the vendor to state the limit for your exact license and deployment model. Keep that confirmation with the architecture record, since it determines how many MISP sources you can feed into a single case workflow.

How events and observables move between MISP and TheHive

The import path starts in MISP, where the integration component fetches published events with a MISP API key and creates them as alerts in TheHive under a TheHive API key. The export path runs the other way: observables from closed or selected cases are pushed back to MISP as events or attributes using the MISP key. Both directions cross the boundary between the organization network and any partner community, so confirm which events leave the network and which key scopes apply on each side before enabling either flow. The exact component, import and export modes, and update behavior depend on the integration method you confirm for your versions.

Import and export paths between MISP and TheHive, with the trust boundary to partners.

Configuration sequence for MISP to TheHive, step by step

This sequence connects MISP and TheHive in an order that keeps credentials scoped, imports controlled, and changes testable at each stage. Each step ends with a check you can confirm before moving on.

  1. Confirm versions, licensing and the TheHive edition

    Record the MISP version you run and the TheHive version, then check each against its vendor's current release notes before you start. MISP 2.5 is the recommended line for new deployments, and MISP 2.4 is end of life, so an older instance should be scheduled for upgrade before you add integrations. Confirm with TheHive's vendor whether your license covers connecting to more than one MISP server, since the outline for this topic flags a paid license for that case. Done when you have a written list of versions, the license terms you confirmed, and the number of MISP servers you intend to connect.

  2. Create a dedicated MISP user and API key

    In MISP, create a separate user for the integration rather than reusing an analyst account, and assign it a role with only the permissions the import and export jobs need. Restrict the user's tags and distribution scope to the events TheHive should receive, so the API key cannot read more than the integration requires. Generate the API key for that user and store it in your secrets manager. Done when a test API call made with the key returns only the events inside the agreed tag and distribution scope, and a call for an out-of-scope event returns nothing.

  3. Create a dedicated TheHive service account and API key

    In TheHive, create a service account for the MISP connection with the narrowest profile that can create alerts, cases and observables in the target organization. Generate its API key and store it with the MISP key, not in a shared configuration file. Keep the MISP and TheHive keys separate so that rotating one does not force a change to the other. Done when a direct API request authenticated with the service account key can read the target organization and create a test alert, and an attempt to use another organization fails.

  4. Install and configure the integration component

    Install the MISP-to-TheHive integration component using the method its documentation describes for your MISP version, and point it at both URLs and the two API keys. Confirm the component's dependencies and file locations against your installation, and record the configuration file path and any service that runs it. Restrict file permissions so that only the service account can read the keys. Done when the component starts without errors, logs a successful authenticated connection to both systems, and reports the configuration it loaded without printing the key values.

  5. Set import filters before enabling scheduled pulls

    Before any scheduled pull runs, set the filters that decide which MISP events become TheHive alerts: the tags to include, the distribution levels to accept, and whether only published events qualify. Exclude tags for sensitive or unshareable intelligence, and document the filter values in your change record with the owner who approved them. Keep the scheduled job disabled until the filters are set. Done when a manual run returns only events that match the documented filters, and any event with an excluded tag or an unpublished status is skipped.

  6. Test one event end to end in a non-production case

    Create a test event in a non-production MISP instance or a clearly labeled test tag, publish it, and run the import once manually. Confirm that the event appears in TheHive as one alert with the expected title, severity, tags and observables. Then promote a test alert to a case and confirm it is still linked to the originating MISP event. Use a test indicator that cannot affect production detection. Done when the test alert and its linked observables are visible in TheHive, and the event ID in MISP matches the reference stored in the alert.

  7. Enable observable export with a reviewed mapping

    Once imports behave as expected, review the mapping that turns TheHive observables into MISP attributes: the attribute types, the category and the default distribution and tags applied to new events. Confirm with the analysts who will create observables that the mapping produces the attribute types they expect, and restrict export to observables from cases that are approved for sharing. Enable the export job only after this review. Done when a test observable created in an approved case appears in MISP as an attribute with the reviewed type, category, distribution and tags, and an observable from an unapproved case does not appear.

How MISP events, attributes and TheHive alerts and observables map

This table compares how MISP fields line up with TheHive alert, case and observable fields in each direction of the integration. Read each row as a checklist: confirm the mapping against the integration's own documentation in your version, then record anything dropped or transformed during import or export.

MISP elementTheHive elementDirectionWhat to verify
Event title (info)Alert or case titleMISP to TheHiveConfirm which MISP field becomes the title and whether long event info text is truncated.
Event tags and taxonomy tagsAlert or case tagsMISP to TheHiveCheck whether taxonomy triplets such as tlp or admiralty tags carry over as plain tags or are rewritten.
Attribute type: IP addressObservable of IP typeBothConfirm the type name matches on each side and that CIDR or defanged values are kept as entered.
Attribute type: domain and URLObservable of domain or URL typeBothTest that defanged values and trailing paths survive a round trip without alteration.
Attribute type: file hashObservable of file hash typeBothVerify the hash algorithm is preserved and that filename attributes stay linked to their hash.
Distribution and sharing groupNo direct equivalent in TheHive alerts or casesMISP to TheHiveRecord what happens to distribution levels and sharing groups on import, since they may be dropped.
Comments and context on attributesObservable description or case commentsBothCheck whether MISP attribute comments are imported and whether analyst notes written in TheHive return to MISP.
TLP markingCase or observable TLP fieldBothConfirm the TLP level is mapped in both directions and that a mismatch does not silently change sharing scope.
Sightings and IDS flagNot mapped by default in most setupsBothConfirm whether sightings or the IDS flag are sent back to MISP and record any fields that are not transferred.

Choosing import, export or both directions

In an import-only setup, MISP events reach TheHive as alerts, and analysts work on them inside TheHive. TheHive becomes the place where intelligence is triaged, while MISP stays the system of record for what was received. The workload shifts toward alert triage and deduplication, because every matching event can generate work for an analyst. This option carries the lowest risk of data leaving your organization, since nothing created in TheHive is published back to a community.

  • Workload: Analysts need a clear rule for which MISP events become alerts, such as selected tags, event types or sources, so the queue stays manageable.
  • Duplicates: Repeated events and overlapping attributes can create multiple alerts for one threat. Decide whether to deduplicate on event identifier or on observable value.
  • Approval: Nothing leaves the organization, so approval concerns inbound data, such as which feeds and communities your team trusts enough to ingest.
  • Test first: Import a small set of events from one trusted source and confirm alert fields, severity mapping and the tags that carry over.
  • Updates: Confirm how a change to a MISP event, such as a revoked indicator, is reflected in an alert that already exists.

Before enabling import at scale, check that your MISP distribution levels and tags map to the alert rules you intend to use.

Update behavior and the license question for several MISP servers

Plan to re-test the integration after every upgrade of MISP or TheHive, not only after the first build. MISP moves quickly inside the 2.5 line: release 2.5.47, published on 17 September 2026, introduced a new database migration system with PostgreSQL support, and 2.5.50 followed on 9 October 2026. A change to the event, attribute or API behavior that the connector depends on can break alert import or observable export without any visible error in TheHive. Treat the connector as a separate component with its own version record, and rerun your test cases (a known event importing as an alert, a case observable creating a MISP event with the expected distribution and tags) before a MISP upgrade goes live in production.

Settle the licensing question before you design the topology, because it decides how many MISP servers the integration can feed. Connecting TheHive to more than one MISP server may require a paid license from the TheHive vendor. Ask the vendor for the current terms in writing, covering how the license counts connected servers, whether test or staging instances count, and whether the terms change with the TheHive version you plan to run. Ask for the answer in the same document as your quote so that the cost of additional connections appears in the scope rather than as a later surprise.

Keep the two licenses apart in your review. MISP is licensed under the GNU AGPL version 3, which governs the MISP software you deploy and modify. Any commercial terms for TheHive govern TheHive itself and do not change the AGPL position of MISP. Have your legal or procurement team confirm both sets of obligations separately, and record which version of each product the agreed terms cover.

Security settings that limit what flows between MISP and TheHive

A MISP and TheHive connection moves threat data in two directions, and each direction carries its own exposure. The controls below work together: they limit which credentials can act, what content crosses the boundary, and who can start an export, and they leave a record on both sides.

Separate API keys per direction

Create one key for the MISP-to-TheHive alert import and a different key for the TheHive-to-MISP observable export. Give each key only the permissions its direction needs, and tie it to a dedicated service user rather than a named analyst. If one key leaks, the other direction keeps working and the blast radius stays small. Confirm in each platform's own settings which permissions a service user can hold, because the available role names vary by version.

MISP source repository

Rotate keys and store them in a secrets manager

Keep both API keys out of integration configuration files and version control. Load them at runtime from a secrets manager, set a rotation schedule, and document who can read them. Rotation should be a planned change: update the secret, restart or reload the connector, then confirm that alerts and exports still flow before revoking the old key. Ask your team which secrets store it already operates and how access to it is audited.

TLS on every connection with validation

Serve MISP and TheHive over HTTPS and make the connector validate the server certificate against your internal certificate authority. Disabling verification to get a connection working is a common shortcut that lets a network attacker read or alter API traffic, including the keys themselves. Check that the connector trusts only the intended CA and that certificate renewal on either side will not silently break the link.

Import only published and approved tags

Limit what TheHive receives from MISP to events that are published and carry tags your analysts have agreed to act on, such as a defined set of threat level or sharing tags. Unpublished drafts and events from low-trust sources should not create cases automatically. Write the filter down, test it against a sample of events, and review it whenever a new sharing community is added to MISP.

Check TLP and distribution before export

Before any observable leaves TheHive for MISP, confirm the case's TLP marking and the chosen MISP distribution level. A case marked for restricted sharing should not become an event visible to a wide sharing group. Build this check into the export step itself, not into analyst habit, and decide who may override it. Ask the connector's maintainers how it maps TLP to MISP distribution and sharing groups.

Restrict who can trigger exports

Decide which roles may push case observables to MISP, and limit that action to them in TheHive. Exports publish internal investigation data to other organizations, so a mistaken click can have consequences beyond your walls. Require the export to be an explicit action on a case, and review which accounts hold that permission each time roles change.

Audit logging on both platforms

Enable audit logs in MISP and TheHive and forward them to your central log store. Each alert import, export and API key use should be traceable to a service user and a time. Test the trail by running one controlled import and one controlled export, then confirm both entries appear in both platforms and in the central store.

Common MISP and TheHive integration failures and their fixes

This table maps the symptoms teams most often see when MISP and TheHive exchange data, the likely cause of each, and the check to run before changing anything. Work through the rows in order of what the analyst sees first, since alert gaps and missing observables usually trace back to filters, distribution or API key rights. Confirm each setting against the connector documentation for your installed versions.

SymptomLikely causeCheck and fix
MISP events never appear as TheHive alertsTag or filter on the import side is narrower than the events being publishedCompare the import filter with the tags and published state of a known event; widen the filter or tag the event as the filter expects
Events exist in MISP but are skippedEvents are unpublished, so the pull never sees themConfirm the event is published in MISP and that the API key user can see its distribution level
Some alerts missing from specific MISP instancesDistribution scope or sharing group excludes the API key's organizationCheck the event's distribution and sharing group against the organization tied to the key, and adjust the scope only with the data owner's agreement
Duplicate alerts after repeated pullsThe import does not track which events were already processed, or the interval overlaps previous runsReview the connector's stored state and interval settings; confirm that the alert reference is reused so the same event maps to one alert
Observables from cases do not reach MISPAPI key lacks write permission or the export target user cannot add eventsTest the key with a single write call against a test event and confirm the user role allows adding attributes and events
Observables arrive with the wrong distributionDefault distribution in the export settings is broader or narrower than intendedReview the default distribution and sharing group in the export configuration and set them before enabling the flow
Observables blocked from exportTLP marking on the case or observable prevents export under the configured rulesCheck the TLP value on the observable and the export threshold; relabel only when the case owner confirms the sharing level
Certificate or TLS errors in connector logsSelf-signed or internal CA certificate not trusted by the TheHive or connector host, or an expired certificate on MISPVerify the certificate chain from the connector host with the CA bundle in use; confirm expiry dates and the configured verification setting
Flow stops after an API key changeKey was rotated or revoked in MISP but the new value was not updated in the connector configurationConfirm the key owner, its expiry and its scope in MISP, then update the stored value on both sides and run a test pull and push
Errors or changed fields after a MISP upgradeConnector or TheHive module expects an API or field set that differs in the new MISP versionCheck the release notes for the MISP version in use and the connector's supported versions before and after the upgrade; test in a staging instance first
Exported observables return as new alertsNo marker prevents an event pushed from TheHive from being imported back into TheHiveConfirm the origin tag or attribute used to mark exported data and that the import filter excludes it; check the event history for repeated round trips

Questions buyers ask before connecting MISP to TheHive

How much effort does a MISP and TheHive integration take?

Effort is driven by the number of MISP servers feeding TheHive, how narrowly events are filtered, how much field mapping is needed between MISP attributes and TheHive alerts and observables, the license required for more than one MISP server, and how far testing goes. A single server with simple filters and default mappings is the smallest case. Each added server, tag filter or custom mapping adds design, build and test work. No duration is set here because the scope sets it. Ask any provider for a quote that lists each driver separately, so you can see which items you can reduce and which you cannot.

Can an in-house team connect MISP to TheHive without outside help?

Often yes, if the team knows the MISP REST API, the TheHive API and its alert and observable model, and has access to a non-production instance of each. The harder parts are usually design choices: which events become alerts, how attributes map to observables, and how updates are handled when an event changes after it was imported. Outside help adds the most value where those decisions need review by people who run both platforms. Weigh internal hours against the testing and documentation you would need to hand over, and read the MISP documentation for the version you run before you start.

What does the integration need from our team?

The work depends on your team making decisions and providing access. Expect to supply:

  • A named owner in the SOC or threat intelligence team who approves which MISP events and tags flow into TheHive.
  • A named MISP administrator and a named TheHive administrator who can confirm settings and roles.
  • A test environment with MISP and TheHive instances close enough to production that test results are meaningful.
  • Authority to create and rotate the API key for the integration account, with its permissions agreed in advance.
  • Written approval for any outward sharing, since decisions about what leaves your organization belong to your data owners.

Identify these people before the quote is signed, because delays in approvals usually cost more time than the technical build.

How long does a fixed-scope TheHive integration take?

No single duration applies, because the timeline follows the scope: the number of MISP servers, filter rules, mapping depth, testing and handover. A fixed-scope engagement records the schedule in the written scope before work starts, so each deliverable has a stated point in the plan rather than an assumed one. Ask for a timeline that lists each phase, the client inputs each phase needs, and the dates your own reviewers must meet. If the schedule depends on a license purchase or a change window, make those dependencies explicit in the quote so they do not surface as surprises mid-build.

Does the TheHive license affect how we design MISP connections?

It can. The planning note for this integration is that connecting more than one MISP server to TheHive may require a paid license, so confirm the current licensing terms with TheHive before you choose an architecture. Settle this question first: whether one MISP server feeds TheHive, several servers feed it, or a central MISP instance aggregates the others. Each option changes the license position as well as the filter and mapping work. Get the license answer in writing from the vendor, and budget for the license separately from implementation labor.

What happens to the integration after go-live?

It needs routine care. Plan for monitoring of the connection and alert volume, rotation of the API keys, review of filters as sharing rules change, and re-testing after MISP or TheHive upgrades. Upgrades can change API behavior, so test the import and export paths before updating either side. DeployOpen offers ongoing support, upgrades and continuous testing as retainers, and those are agreed in writing like the original scope. Ask any provider who watches for upgrade notices, who responds when the integration stops, and how fast that response is committed to in writing.

How should we test MISP to TheHive updates before production?

Test with a fixed set of sample events that includes edits, deletions, duplicate attributes and each attribute type your filters select. Confirm what happens when an event is updated in MISP after it has already created an alert: whether the update creates a new alert, changes the existing one or is ignored. Check observables exported from TheHive back to MISP, including which event they attach to and which distribution level applies. Record expected results, run the same set after each change, and keep the test environment on the same MISP version as production.

How DeployOpen scopes, builds and supports the MISP and TheHive integration

DeployOpen plans, implements, hardens and documents self-hosted open-source platforms inside the client's own infrastructure, and that includes connecting MISP to TheHive. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • Confirm which MISP instance and which TheHive instance are in scope, and whether more than one MISP server will connect.
  • Record the import direction, the event filters and the attribute types that will flow each way.
  • Identify the MISP and TheHive API keys, the service accounts that own them, and who approves their scope.

How we build

  • Configure the MISP-to-TheHive alert path and the TheHive-to-MISP observable path in a staging environment first.
  • Test update behavior with sample events, including what happens when an event changes after it was imported.
  • Document the license requirements for multiple MISP servers and confirm the chosen configuration against them.

How we hand over

  • Deliver the configuration, API key inventory, filter rules and a runbook covering each integration direction.
  • Walk the client's analysts and administrators through alert review, case creation and sighting or observable return.
  • Provide a verification checklist the client can rerun after upgrades of either MISP or TheHive.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover.
  • Retest the integration after MISP or TheHive upgrades, checking API compatibility and key permissions.
  • Review API key rotation and access logs with the client's security team on a schedule agreed in the scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.