How the OpenCTI rules engine and inferred relationships work for your team
A threat intelligence team with feeds already flowing into OpenCTI usually wants the platform to connect that data on its own. The rules engine does this: it applies around twenty predefined inference rules to existing relationships and creates new ones automatically. Teams should switch rules on when they have a clear analyst question the new relationships would answer, such as which intrusion sets or campaigns a sighted indicator points to, and when they have the storage and processing headroom to carry the extra data. Rules are activated in Settings > Customization > Rules engine, so a team can review the full list before enabling any of them.
The main illustration is the sighting-to-incident rule. Suppose, as an illustrative example, a non-revoked indicator is recorded as sighted in an organization's entity. The rule then creates an Incident linked to that sighted indicator and the targeted entity, so an analyst opening the targeted entity sees the incident without anyone having created it by hand. The same logic works in reverse for triage: if the rule creates incidents that nobody reviews, the team has added noise rather than insight. Before enabling it, confirm who owns the resulting incidents, how they are closed, and whether the sighting data is trustworthy enough to justify a case.
Inferred data is stored separately from direct data. Rule tasks run as background tasks, and the entities and relationships they produce live in their own indices, so analysts and administrators need to know which records were entered by people or connectors and which were derived. Plan for the extra relationships and load on the search indices before rollout, and confirm with your own deployment team how inferred records are rolled over and retained. Tell analysts how to tell the two apart in the interface, because a derived link is only as reliable as the data behind it.
Which predefined inference rules to switch on and when each fits
This table compares the predefined inference rules the rules engine can switch on, using the sighting-to-incident rule as the worked example. Read each row for the analyst benefit, the extra relationships and load it adds, and the review it needs before enabling. The main takeaway is to switch rules on one at a time and confirm the full rule list in the reasoning documentation.
| Rule or decision | Analyst benefit | Extra relationships and load | Review before enabling |
|---|---|---|---|
| Sighting to incident rule | Raises an Incident when a non-revoked indicator is sighted in an entity, so the activity becomes a case to triage. | One Incident plus links to the sighted indicator and the targeted entity for each qualifying sighting. | Confirm revoked indicators are excluded, review which sighting sources qualify, and agree who triages new incidents. |
| Other predefined rules (around twenty in total) | Adds derived relationships across the graph without manual linking, which helps pivots and investigations. | More inferred relationships are stored, and each active rule adds write and index load over time. | Enable one rule family at a time and test on a non-production copy before turning on more. |
| Rule task activation | Gives administrators one place to control which rules run. | Each active rule runs as a background task that consumes worker capacity. | Record which rules are active, why, and who approved the change in your change log. |
| Inferred entities and indices | Keeps inferred data separate from analyst-entered data in its own indices. | Separate indices grow with inferred volume and need sizing and rollover planning. | Confirm index growth, rollover settings and retention with your operations team before enabling. |
| Analyst-facing labeling | Analysts can pivot from an inferred incident to the sighting and entity behind it. | No extra relationships, but more objects appear in investigations and dashboards. | Confirm how the interface marks inferred items, then write guidance for analysts on reading them. |
| Revocation and decay interaction | Keeps incidents from being raised out of already revoked indicators, so case queues stay cleaner. | Fewer incidents once revocation applies, but stale indicators still affect expiry handling. | Review decay and revocation settings first, since changing them affects which sightings qualify. |
| Rule behavior across releases | Helps the team enable rules that match the platform release in use. | Rule behavior can change between releases, so an upgrade may change inferred output. | Confirm the full rule list and each rule's behavior for your release in the reasoning documentation. |
Setting up inference rules in a test environment first
This sequence turns the predefined OpenCTI inference rules into a tested, documented choice, so the rules you enable in production add relationships your analysts can explain and your infrastructure can carry.
Inventory the rules against your data model
Before touching any setting, list the predefined inference rules from the OpenCTI reasoning documentation and map each one to the entity and relationship types your team actually uses, such as indicators, sightings, incidents and targeted entities. Mark which rules would create relationships you have no analyst workflow for. The output is a short written list of rules to enable, rules to leave off, and the reason for each, reviewed by the threat intelligence lead and the platform owner. Confirm the current rule set against the version you run, since the list can change between releases.
Prepare a non-production instance
Build or identify a test OpenCTI instance on the same release line as production, with the same connectors and a representative sample of data, such as a copy of recent indicators and sightings with sensitive content removed. Confirm the test platform, Elasticsearch or OpenSearch, Redis, RabbitMQ and object storage are all running and healthy before any rule is switched on. Record the exact version so results can be compared later. The check is a successful login, a populated dashboard and connector queues that drain normally.
Enable selected rules in the rules engine
As an administrator, open Settings, then Customization, then Rules engine, and activate only the rules approved in the inventory. Enable them in small groups so any change in behavior can be traced to a specific rule. Record the time and the rule names in your change log. The step is complete when the rule status in the interface matches your approved list and no unapproved rule is active.
Watch the background tasks that apply the rules
Rule tasks run as background tasks after activation, so open the background tasks view and follow each task from queued to finished. Note how long each one takes on your sample data, whether any fail, and whether the queues return to normal afterwards. Check the platform and worker logs for errors that mention the rule names. The check is that every task completes without errors and that the queue depth falls back to its baseline.
Confirm inferred data lands in its own indices
Inferred entities and relationships are stored in their own indices, so search for a known sighting that should trigger an inferred incident and confirm the inferred object is present. Then check the index list and document counts for the inferred data against the counts from before enablement. Verify that inferred objects are marked as inferred in the interface, so analysts can tell them apart from analyst-created data. The check is that counts change only in the expected indices and every test inference is traceable to its rule.
Review the results with analysts
Ask a small group of analysts to use the test instance for normal work, such as reviewing a sighted indicator, its incident and its targeted entity. Ask them whether the inferred relationships are useful, confusing or noisy, and whether they can explain where each one came from. Record their answers against each rule. The output is a decision per rule: keep, adjust or remove, with the explanation analysts will use in production.
Decide on rollback before enabling in production
Before any production change, write down the rollback steps: which rules to disable, how to confirm that background tasks have stopped, and how to locate and remove or review inferred data created during the trial. Confirm who has the authority to make that call and how they will be reached during the change window. Production enablement should proceed only when the test results match the approved list, the index checks passed and the rollback path has been rehearsed on the test instance.
How a sighting becomes an inferred incident
The flow starts when an analyst or connector records a sighting of a non-revoked indicator in an entity. The rules engine checks the existing relationships against the predefined rule, and a background task then writes the new Incident and its relationships into their own indices. Analysts read the direct sighting and the inferred incident side by side, so check that the rule task is active in Settings > Customization > Rules engine before expecting results.
Direct sightings and inferred incidents follow separate paths to the analyst.
What inferred relationships add to load and alert volume
Enabling inference rules does not change what analysts type, but it changes what the platform writes, stores, displays and sends. The four effects below compound: each new relationship adds write work, index space, graph density and potential alerts.
Extra writes through background tasks
Rule tasks run as background tasks, so every inferred relationship becomes asynchronous work that the Python workers must process after the triggering change. Workers consume RabbitMQ messages, so a burst of sightings or imports can build a backlog that delays what analysts see. Check the worker count against the documented guidance of at least one platform node for every 3 workers, and watch queue depth after enabling each rule.
Background tasks docsExtra storage in inferred indices
Inferred entities and relationships are stored in their own indices, separate from the data analysts create directly. That storage grows with the volume of matching source data, not with the number of rules alone, so a rule that fires on high-volume indicators can add more space than one that fires rarely. Plan Elasticsearch or OpenSearch capacity with the inferred indices included, and confirm with your vendor how rollover is configured for them.
Indices and rollover docsDenser graphs that slow investigations
Each inferred relationship adds an edge that analysts may follow during a pivot, so a dense neighborhood around a common indicator or infrastructure entity can make investigations slower and noisier. Queries that expand relationships will return more results, and graph views become harder to read. Measure investigation query times and graph expansion sizes before and after enabling rules, and review the most connected entities first.
More notifications from inferred entities
Triggers and digests can match inferred entities as well as analyst-created ones, so a rule that creates incidents from sightings can produce alerts that a team never expected. Review each trigger and digest filter to decide whether inferred objects should match, and test them against a sample period. Alert volume should be compared before and after each rule is enabled, not only after all rules are on.
Measure before and after each rule
The effects above depend on your data volume, worker capacity and index sizing, so no general figure applies to every deployment. Record baseline queue depth, index size, query latency and alert counts for a representative period, then enable one rule at a time and repeat the measurements. Ask your vendor or the platform documentation which metrics the deployment exposes before you start.
Questions teams ask before enabling OpenCTI inference rules
How much work does enabling OpenCTI inference rules take?
The switch-on itself is small: rule tasks are activated in Settings > Customization > Rules engine and then run as background tasks. The real effort sits around it: reviewing which of the roughly twenty predefined rules match your data model, testing the resulting entities on a copy of your data, and agreeing how analysts will read them. Effort rises with the number of rules you enable, the volume of existing sightings and relationships, and how many teams share the platform. Ask any partner for a quote built from a written scope that lists the rules, the test environment and the analyst walkthrough.
Can an internal team enable and manage these rules without a partner?
Yes, a team that already runs OpenCTI can enable rules in the administration settings. What usually needs more experience is judging side effects: an incident raised from a sighting can change how dashboards, notifications and playbooks behave, and a rule run over a large history can add load. Teams with an experienced OpenCTI administrator and a test instance often handle this in-house. Teams without that experience may prefer a fixed-scope review. Either way, confirm your platform version and your staffing before committing to a date.
What does the work need from our team?
Plan for three inputs. First, a data model review, where someone who knows your sightings, indicators and targeted entities confirms which rules match how you actually record intelligence. Second, a test instance that mirrors your production data closely enough to show the extra relationships and entities a rule creates. Third, analyst time to review sample inferred incidents and tell the team whether the labeling and wording make sense. Without the third input, inferred data tends to be trusted or ignored without a clear reason.
How do we tell analysts which data was inferred?
Inferred entities and relationships are stored in their own indices, which lets you separate them from analyst-created data in reviews and queries. Explain to analysts that an inferred incident is a system suggestion built from an existing sighting, not a confirmed case. Write a short internal guide with one worked example per rule you enable, and agree who reviews an inferred incident before anyone acts on it. Confirm the exact fields and labels your OpenCTI version shows in the interface before publishing that guide.
How do we remove inferred data if a rule causes problems?
Disable the rule in the rules engine settings so it stops producing new inferences, then decide what to do with the data it already created. Because inferred data is kept in its own indices, you can review it before deleting anything. Test the removal steps on your test instance first, and confirm with your OpenCTI version's documentation how background tasks and index rollover handle cleanup. Keep a record of which rules were enabled and when, so reviewers can trace any inferred record back to its cause.
Does enabling inference rules change our OpenCTI licensing?
The predefined inference rules are part of the platform's rules engine, and the sources supplied for this topic do not say they require the Enterprise Edition. Check this against the current licensing documentation and your own license before enabling anything. Some features that sit near inferred data, such as playbooks, audit logs and SSO, are Enterprise Edition features, so confirm which ones your team depends on. Ask Filigran or your reseller to confirm the license position in writing as part of your scope.
How much extra load do inferred relationships add to the platform?
Each enabled rule can create new relationships and entities, which adds writes to the platform and storage in Elasticsearch or OpenSearch. The effect grows with the number of existing sightings and indicators the rule touches. Run the rule on a copy of your production data, measure queue depth and index growth, and compare the results with the sizing guidance in the deployment overview. Confirm the expected load with your own data before enabling rules across the whole platform.
How to explain inferred data to analysts
Analysts need to know at a glance whether a record was observed by a person or a feed, or whether the rules engine wrote it. The most useful habit is to keep the two origins visibly separate in the analyst's day-to-day work. A sighting that a connector imported and an Incident that a rule created from that sighting carry different weight, and an analyst who treats them the same will either over-trust the rule or ignore it. Before enabling rules, agree on how inferred items are labelled in your team's conventions, such as checking the creator or source reference on an entity before relying on it, and confirm in your own environment how the platform shows that origin in the interface and the API. Where the platform does not make the origin obvious enough, the team should write the convention down rather than rely on memory.
Incidents raised by a rule will appear in the queue without anyone having opened a case by hand, so analysts need clear expectations before the first one arrives. Explain that the rule fires when a non-revoked indicator is sighted in an entity, that it links the sighted indicator and the targeted entity to a new Incident, and that the Incident is a hypothesis about the relationship rather than a confirmed event. Set a triage step that asks whether the sighting is real, whether the indicator should still be active, and whether the Incident needs a case at all. Tell the team who owns those incidents, how quickly they should be reviewed, and what closing one without action looks like. Confirm with your platform owner how these incidents are assigned and filtered so they do not bury hand-created work.
Each enabled rule should have a short written record that a reviewer can challenge: what the rule connects, the entity types and relationships it reads, what it creates, who approved switching it on, and the date it was last reviewed. Reviewers should be able to ask whether a rule is producing noise, whether its output matches the team's definition of an incident, and whether it interacts with decay or exclusion settings that also change indicators. Keep the record next to the change history for the Settings > Customization > Rules engine page, so that a disabled or re-enabled rule can be traced. The record is also the document auditors and partner teams will ask for when they want to understand why a graph contains relationships nobody drew. Review it whenever the platform is upgraded, because rule behaviour can change between releases.
Security and operational considerations for inference rules
Inference rules change what analysts see and how much the platform writes, so they need the same controls as other configuration. The cards below cover who can reach rule settings, how changes are reviewed, how revocations flow into inferred data, and how to watch background work and index growth.
Restrict access to rule settings
Rule tasks are activated under Settings > Customization > Rules engine, so anyone with rights to that area can turn inference on or off for the whole platform. Limit that capability to a small platform administrator group and keep it out of the broad analyst roles. Check the role grants in your own deployment, because the default permissions depend on how your administrators configured the platform. Confirm the exact capability name in the Enterprise Edition or Community documentation for your version before you write the access policy.
Inference rules docsControl who changes production rules
Treat enabling or disabling a rule as a production change with a named approver, a recorded reason and a rollback plan. Test the rule on a non-production copy of the data first, since a rule that runs on live sightings affects every analyst who reads the graph. Keep the list of active rules in your configuration records so a reviewer can confirm what was live at any given date.
Audit rule changes
Rule activation is a platform configuration change, so you need evidence of who switched a rule on or off and when. Check whether your deployment has activity monitoring and audit logs available, which the Enterprise Edition documents as a feature, and confirm what the logs record for configuration changes. If logs do not capture rule toggles, record changes in your change management system and reconcile them during reviews.
Enterprise Edition docsRevocations and inferred incidents
The sighting rule creates an Incident only for a non-revoked indicator, so revoking an indicator does not automatically clear incidents that were already inferred from it. Decide with your analysts how revoked indicators should be handled in inferred incidents, and document the review step that closes or reclassifies them. Test this with a revoked indicator in a non-production environment before relying on it in shift handovers or reporting.
Monitor background rule tasks
Rule tasks run as background tasks, so a backlog or repeated failure appears in the task queue rather than in the analyst interface. Assign an owner to watch task progress after each rule change and after large imports, and set an alert on stuck or failing tasks in your monitoring stack. Check the background task documentation for the task states your version reports before you define thresholds.
Background tasks docsWatch index growth
Inferred entities and relationships are stored in their own indices, so each enabled rule adds data that storage, search and backup must carry. Track index size and document counts per index over time, and compare growth before and after enabling a rule. Confirm how rollover and retention are configured for these indices in your deployment, and size the Elasticsearch or OpenSearch cluster with that growth in mind.
Indices and rollover docsWhat a DeployOpen rules engine review covers
A DeployOpen rules engine review is a fixed-scope engagement for a self-hosted OpenCTI platform. It starts with rule selection against your data model. The team works through the predefined inference rules and decides which ones match how your analysts already use relationships such as indicators, sightings, intrusion sets and targeted entities. Rules that create entities your analysts do not want to see are left off, and the reasons for each choice are written down. The rule tasks themselves are switched on in Settings > Customization > Rules engine, so the review also confirms who has permission to change them.
The next stage is a test run against a copy or a representative slice of your data, not the production knowledge base. The review checks what each enabled rule creates, how many inferred entities and relationships appear, and whether the resulting incidents or links match what a human analyst would have produced. Load is observed while the rule tasks run as background tasks, including queue behavior and the growth of the separate indices that hold inferred data. Your platform and infrastructure team should confirm in advance that the dependencies, such as Elasticsearch or OpenSearch and RabbitMQ, have the headroom the review will measure against.
The final stage is analyst guidance and handover. Deliverables, including the agreed rule list, test results, load observations, and written guidance on how to label and explain inferred data in the interface, are agreed in writing before work starts. Ask any provider to state which deliverables are included, who reviews the output with your team, and what happens if a test run shows that a rule should be disabled. No price or timeline is implied here; the written scope sets both.
How DeployOpen scopes and supports OpenCTI rule decisions
DeployOpen plans, deploys and documents OpenCTI inside your own infrastructure, including which predefined inference rules to switch on, how they load your platform, and how analysts are shown inferred data. Engagements are fixed-scope, with the rule decisions agreed in writing before any change is made to your platform.
How we scope
- Inventory the rules engine tasks you want, mapped against the sightings, indicators and entities your analysts actually use.
- Write down which inference rules are enabled, which stay off, and the reason for each decision in the written scope.
- Agree the load assessment, test instance and analyst explanation materials as named deliverables with fixed timelines.
How we build
- Enable rule tasks in a non-production OpenCTI instance first, following the Settings > Customization > Rules engine path.
- Measure the added indices, background task runtime and search effect on your Elasticsearch or OpenSearch cluster before production.
- Test sample incident creation from sightings against your sharing and marking rules to confirm inferred objects behave as intended.
How we hand over
- Deliver a rule decision record listing each enabled rule, its purpose, its data source and the owner who approves changes.
- Provide an analyst guide that explains how to tell inferred relationships from analyst-created ones in the interface.
- Document the rollback steps for each rule so operators can disable a rule and review its inferred objects safely.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Re-review rule decisions when you upgrade OpenCTI, since rule behavior and the release line you run can change.
- Confirm with your own team any retention or index sizing targets, since these depend on your data volume and hosting.

