How OpenCTI deduplicates and merges entities without losing relationships
Several feeds and analysts will describe the same threat actor, malware family or indicator under different names, and a knowledge base that stores each variant separately becomes hard to search and trust. OpenCTI addresses this in its core data model. It generates deterministic IDs from the properties that contribute to an object's identity, so when a new import carries an object that already exists, the platform detects the match and updates the existing record instead of creating a copy. It also prevents entities with overlapping names and aliases from being created as separate objects. This behavior belongs to the platform itself and is present in the Community Edition, which is licensed under the Apache License 2.0, so you do not need an Enterprise license to rely on it.
Automatic matching will not catch everything. Two analysts may name an actor differently in sources that share no identifying properties, or an earlier import may have created a duplicate before the matching rules were applied to it. For these cases OpenCTI provides manual merging. Merging works only on entities of the same type, and you can merge at most 4 entities at a time. The main entity keeps its name and description, the others become aliases of it, and relationships from the merged entities are preserved. Before merging, confirm which record should be the main entity and check that the ID-contributing properties of the duplicates really describe the same object, because a merge is hard to undo cleanly.
Plan around these limits. Merging cannot combine entities of different types, so a threat actor recorded as an intrusion set in one feed will need a decision on the correct type first. Batches are capped at 4, so large clean-up projects need a repeatable procedure and a reviewer. Test the behavior on a copy of your data using the OpenCTI merging documentation and the OpenCTI deduplication documentation before you rely on it for production clean-up, and confirm with your own sources which identifying properties each feed supplies.
Where duplicates still appear and what causes them
Deterministic IDs and alias handling catch many duplicates, but several parallel causes still produce them. Each one leaves a different trace in the knowledge base, so analysts need to know what to look for and which fix applies.
Spelling and casing variants
Feeds often name the same threat actor, malware family or organization in slightly different ways, such as different capitalization, hyphenation or spacing. When the names do not match exactly, the platform cannot treat them as one object, so the analyst sees two near-identical entries with separate relationships. Check the names side by side, then decide whether the variant belongs as an alias on the main entity or needs a manual merge.
Aliases that were never recorded
An actor or campaign known under several names will look like separate objects if the alternate names were never written into the aliases field. The alias list is what lets the platform recognize that two names point to one entity. Review the source reports for alternate names and confirm that each one appears on the entity that should carry it before you merge anything.
Entities created by hand before an import
An analyst who adds an entity manually before a feed arrives may create it with a different name, type or set of identifying fields than the connector will use. The imported copy then sits beside the manual one. Compare the creation dates and authors of both records, and align the manual entry with the identifying properties the import uses before the feed runs again.
Same thing under different types
A feed may describe one malware family as a malware object while another describes it as a tool, or record an organization as an identity in one source and a threat actor in another. Merging only works between entities of the same type, so these pairs remain separate. Decide which type is correct for your model, then correct the source mapping or the object type before merging.
Sources that disagree on identifiers
When two sources give different values for the properties that define an object's identity, the platform correctly treats them as different objects. A common example is a hash or domain reported with a different value by two vendors because one source normalized it. Trace which property differs, confirm which value is accurate in the original report, and record the disagreement in the source reliability settings rather than forcing a merge.
Which merge approach fits which situation
This table compares the three ways to handle overlapping OpenCTI entities: automatic deduplication, manual merging and keeping entities separate with relationships. Read each row against your intelligence sources, and treat the last column as the checklist to clear before relying on that approach.
| Approach | When it fits | What it preserves | What to confirm before using it |
|---|---|---|---|
| Automatic deduplication through deterministic IDs | Imports from the same source or connector that repeat the same object, where names and identifying properties match consistently | One object per identity, with the existing record updated rather than a copy created | Which properties contribute to each entity type's ID in your OpenCTI version, and how your connectors populate them |
| Automatic alias matching | Sources that name the same actor, malware or campaign differently, such as vendor-specific names | Overlapping names and aliases are checked so duplicates are not created under a new name | How aliases are recorded by each connector, and whether analysts will recognize the merged name as the main one |
| Manual merge of two to four entities of the same type | Analysts find duplicates that automatic matching missed, for example after importing a feed with inconsistent naming | The main entity keeps its name and description, the others become aliases, and relationships carry over | That all selected entities share one type, that the batch is four or fewer, and who holds the permission to merge |
| Keep entities separate and link them with relationships | Entities are related but distinct, such as a threat actor and a campaign it ran, or two vendors' records that analysts do not consider the same | Each entity keeps its own description, source and history, with the link expressing the connection | That analysts will use relationship queries and graph views to find the link, since separate entities do not appear as one |
| Merge across different entity types | Rarely appropriate, because the tool does not combine them | Not applicable; keep both entities and model the link as a relationship | Whether a different modeling choice in your schema avoids the need for a cross-type merge |
| Merge more than four entities in one action | Large clusters of duplicates from one bulk import | Not applicable in a single action; the merge limit applies per action | Whether you can split the cluster into repeated merges of four or fewer, and how you will record each step |
How to run a manual merge safely
This sequence takes two or more duplicate entities of the same type, merges them into one main entity, and confirms that the name, description, aliases and relationships came through as expected. Each step ends with a check so the analyst can stop before data is lost or mislinked.
Confirm the duplicates are truly the same object
Before opening the merge tool, the analyst compares the candidate entities against the source material, such as the original report, the feed record or the vendor reference. Automatic deduplication already prevents many overlaps, so manual merges usually cover entities that were created separately, for example from different sources. The step is done when the analyst can state in one sentence why the entities refer to the same thing. If that sentence is hard to write, the entities should stay separate and be linked by a relationship instead.
Confirm every entity shares one type
OpenCTI merges only entities of the same type, so the analyst checks the entity type of each candidate in its detail view before selecting them. A threat actor cannot be merged with an intrusion set, even when the names are similar. If the types differ, the analyst should fix the record that was created with the wrong type first, or leave both records in place. The check passes when every selected entity displays the same type label.
Select the main entity and limit the batch
The analyst chooses one entity to keep as the main entity. This record should be the one with the most accurate name and description, because the main entity keeps its name and description after the merge. The analyst then adds the other candidates to the selection, staying within the limit of four entities at a time. If more duplicates exist, they run a second merge afterward. The check is that the selection shows exactly one main entity and no more than four entities in total.
Review the name and description of the main entity
Before confirming, the analyst reads the name and description that the merged record will keep. If the description of a secondary entity contains information the main entity lacks, the analyst copies that content into the main entity first, either beforehand or in the same review, so nothing is lost. The step is complete when the analyst confirms the main entity's name and description are the ones the team wants to keep. Teams should confirm this behavior in their own version, since the documented rule is the reference point for expected results.
Confirm the merged names become aliases
After the merge runs, the analyst opens the main entity and checks its aliases. The names of the merged entities should now appear there, so searches for the old names still find the consolidated record. If an alias is missing, the analyst records it manually on the main entity before moving on. The check passes when every merged entity name appears as an alias and none of the secondary records remain as separate entries in search results.
Verify that relationships moved to the main entity
The analyst opens the relationships or knowledge graph view of the main entity and compares it with the relationships recorded for each original entity. Relationships from the secondary entities should now attach to the main entity, including links to reports, indicators, victims and other objects. The analyst samples at least one relationship from each former entity to confirm it is present. If any relationship is missing, the analyst rebuilds it manually and notes the gap for the team's merge procedure.
Record the merge and check downstream effects
The analyst notes which entities were merged, who approved the merge and the reason, in the team's change record or in an internal note attached to the main entity. They then check any dashboards, feeds, exclusion lists or connector imports that reference the old names, since those may need review. The step is complete when the record exists and the analyst has confirmed that the team's feeds still point to the consolidated entity. This record also helps when a later import recreates one of the old names.
The limits of merging to plan around
Merging in OpenCTI has hard limits that shape any cleanup plan. A merge only works on entities of the same type, so an organization and a person, or a malware family and a tool, cannot be combined even when an analyst knows they describe the same thing. Each merge operation also takes at most four entities at a time. The main entity keeps its name and description, the others become aliases, and their relationships are preserved. Before cleanup starts, confirm with the platform's current documentation that these limits still apply to your release, since merging rules can change between versions.
Because of the four-entity cap, a batch cleanup of hundreds of duplicates is a series of repeated operations, not one action. Plan who chooses the main entity for each group, record the decision so analysts do not reverse it later, and schedule the work in chunks so the team can check results between rounds. Keep in mind that the surviving name and description are the ones analysts and downstream consumers will see, so review them before confirming each merge. Test the process on a copy of representative data first, and ask your implementation partner or Filigran how long a batch of your size takes in your environment.
Two interactions need confirmation before you rely on merging at scale. First, check how a merged entity behaves when the same source sends new data in a later import: whether the deterministic ID logic recreates the old duplicate, or whether the alias is matched and reused. Second, confirm how merges affect sharing and stream filters, including TAXII collections and live streams, so that a partner receiving filtered data does not see a sudden change in what matches their rules. Write these checks into your test plan and rerun them after every platform upgrade.
Access, audit and data quality controls around merging
A merge is hard to undo cleanly and it changes what every analyst sees, so the controls around it matter as much as the merge itself. The cards below cover who may merge, how a bad merge is caught and corrected, how source reliability and confidence decide which data survives, and what record should exist afterward.
Limit who can merge
Merging is a write that rewrites the knowledge base, so treat it as a privileged action rather than a routine analyst task. Decide which roles may merge, which may only propose a merge, and who approves merges of high-volume or widely referenced entities such as threat actors and malware families. Confirm in your own environment how your OpenCTI version maps group and role permissions to the merge action before you rely on it.
Review before a merge is committed
Check that the candidates share the same entity type, since merging only works within one type, and that the chosen main entity keeps the name and description you want to publish. Confirm that the aliases the other entities will become are accurate, because they will be searched and matched later. A short written review step, even a ticket, gives you a reason to point to when someone asks why two records became one.
OpenCTI merging docsCorrect a bad merge
Plan the correction path before the first merge goes wrong. Ask the vendor and test in a non-production instance what a reversal involves for relationships, aliases and linked reports, and whether a split is a supported operation or a manual rebuild. Keep the pre-merge identifiers and a list of affected objects so an analyst can reconstruct the original records if the platform cannot restore them directly.
Use source reliability and confidence
When entities from different sources describe the same object, the values that survive depend on which source you trust most. Set reliability per source and confidence per user, group and connector so that the merged record reflects your most trusted input. Review the outcome on a sample of merged records, because a high-confidence import can still carry a wrong name or description into the main entity.
Record merge activity
A merge removes records from the view of most users, so the history of who merged what is the main way to explain a change later. Activity monitoring and audit logs are Enterprise Edition features, and you should confirm whether your team, auditors or information-sharing partners need them. If you run the Community Edition, decide how you will record merges by other means, such as a change ticket linked to each batch.
Watch for wrong matches
Deterministic IDs and alias handling prevent most duplicates, but they can also join records that only look alike, such as two campaigns with a similar name from different sources. Run a periodic review of entities that share a name or alias across sources, and flag any pair whose relationships point to different actors or sectors. Catching these early costs far less than untangling a merged graph after analysts have built reports on it.
Questions teams ask about OpenCTI deduplication
Is deduplication included in the OpenCTI Community Edition?
Yes. Deterministic IDs and alias handling are part of how OpenCTI stores and writes data, and the Community Edition is licensed under the Apache License 2.0. Deduplication does not depend on the Enterprise Edition license. What the Enterprise Edition adds is a separate set of administration features such as audit logs, playbooks and SSO configuration, so confirm your license needs for those features with Filigran, not for deduplication itself. Check the OpenCTI deduplication docs against the release you plan to run, because behavior can change between versions.
How much analyst time does manual merging take, and what drives it?
No fixed figure applies, because the effort depends on your data. The main drivers are the number of duplicate candidates that automatic matching misses, how many analysts must review each pair, how well entity names and aliases are maintained by sources, and how many sources feed the same entity types. Merging is limited to entities of the same type and to four entities at a time, so a large cleanup runs as many small batches. To size the work, ask for a sample export, count likely duplicates per entity type, and time a few merges in a test instance before committing a schedule.
Does alias rule design need a partner, or can our team handle it?
Your team can design alias rules, but it needs analysts who know the naming conventions of your sources and sharing communities. A partner adds value when the rules must be reviewed against a large, mixed dataset, or when the design has to fit a wider platform rollout. Ask any partner for a written scope that lists the entity types covered, the sample data reviewed, the test cases used to confirm rules, and the handover documents. DeployOpen plans and documents these rules as part of fixed-scope work, with the scope agreed in writing before work starts.
What must our team provide before a deduplication review starts?
Three inputs make the review practical. First, a representative sample of data exported from your instance or from the sources that feed it. Second, an inventory of the entity types you store and how often each one appears. Third, a list of sources with notes on their naming habits, such as whether they use full organization names, abbreviations or vendor-specific labels. Also share the current connector list and any known duplicate cases your analysts have already noticed. Confirm access to a non-production instance, because testing merges on live data is hard to reverse.
Can our team run deduplication and merging in-house?
Yes, if the team can read the OpenCTI documentation, operate a test instance and make consistent decisions about which entity is the main one. Merging is a manual analyst action within the platform, so the work is mostly review discipline and rule documentation rather than complex code. The harder part is consistency across analysts, so write down how you choose the main entity, which aliases you keep and when you do not merge. Teams without spare analyst time often choose a fixed-scope review to build those rules once.
How does merging affect existing relationships and indicators?
According to the OpenCTI merging documentation, the main entity keeps its name and description, the other entities become aliases, and relationships are preserved. Still, plan around the effects: merged names move into aliases, so search and any downstream filters that match on the old name may change, and streams or exports that consumers rely on should be checked after a merge. Test a merge in a non-production instance with a known object, then confirm that relationships, indicator scores and shared feeds still show what your consumers expect.
What are the limits of merging that we should plan around?
The main limits are that merging works only on entities of the same type and only up to four entities at a time. A cross-type duplicate, such as the same name stored as two different object types, cannot be merged in one step and needs a separate correction. Large backlogs therefore take many passes. Also, deterministic IDs catch exact matches on ID-contributing properties, so near-matches with spelling or formatting differences may still need analyst review. Plan a recurring review step rather than a one-time cleanup.
How an incoming object is matched, upserted or queued for merge
An incoming STIX object starts in the OpenCTI platform, which computes a deterministic ID from its identifying properties. If that ID matches an existing object, the platform upserts the record instead of creating a copy. If no ID matches, the platform checks names and aliases; a likely duplicate is flagged for an analyst to review and merge manually, and a new object is created otherwise. Check that your connectors send consistent identifying properties, because the ID decides the match.
Match, upsert, create or flag path for an incoming object in OpenCTI.
How DeployOpen scopes deduplication and merge work
DeployOpen starts deduplication work with a written scope that names the entity types in play, the sources that feed them, and who is allowed to merge. The entity types matter because OpenCTI only merges entities of the same type, so a scope that lists threat actors, malware, intrusion sets and indicators separately tells everyone which merges are possible at all. The sources matter because the same campaign often arrives from a commercial feed, an open connector and an analyst's manual import, each with its own naming habits. The scope should also set merge governance: which roles may merge, what evidence a merge needs, and whether merges go through a review step first. Confirm these decisions with your threat intelligence lead before any configuration begins.
Once the scope is agreed, the work happens in your own infrastructure. DeployOpen reviews how your connectors populate the ID-contributing properties and aliases that OpenCTI uses for deterministic IDs, then tests sample imports to see where duplicates still appear. Those tests shape the configuration, including how aliases are recorded and which ingestion paths need extra checks. Each test run should be documented with the input, the expected result and the observed result, so the team can repeat it after a connector or platform upgrade. Ask any implementation partner to show these test cases as part of the deliverables, and confirm that test data stays inside your environment.
The last part of the scope covers the people who will use the merge function day to day. DeployOpen can write analyst guidance that explains when to merge, when to leave two entities separate, how the main entity keeps its name and description, and how relationships carry over. That guidance is most useful when it follows your own governance rules rather than a generic checklist. Retainer support can then cover periodic duplicate reviews, connector changes and questions that come up as the knowledge base grows. Ask for the guidance and review schedule in writing so the cost and the responsibilities are clear before work starts.

