OpenCTI playbooks and automation

Playbooks let OpenCTI label, score, enrich and route intelligence or open cases without analyst clicks. This page covers the design decisions, the Enterprise Edition requirement and how to test with execution traces.

On this page

How OpenCTI playbooks automate intelligence handling

Playbooks are the tool for a team whose analysts repeat the same labeling, scoring, enrichment and routing steps on every import. Instead of an analyst opening each new indicator, marking its labels, checking its score and sending it to the right group, a playbook runs those steps automatically on data already in the platform. Playbooks are an Enterprise Edition feature according to the OpenCTI Enterprise Edition documentation, so the licensing question comes before the design question. Confirm that the organization holds a valid Enterprise license for the instance before any playbook work is scoped.

A playbook is a chain of steps that starts from a trigger and acts on the entities or observables that match it. The steps you can use, the trigger types, and the way conditions and actions are configured depend on the release in use. Those details change between releases, so confirm them against the current OpenCTI documentation and on the instance itself before design starts. Check which trigger types are available, which actions can write labels, scores and relationships, and which enrichment connectors a playbook can call. Record the answers, because the design depends on them.

Treat the playbook as a design decision with a clear owner. Decide which data should be changed automatically and which should still reach an analyst, and write down what each playbook is allowed to modify. Auto-scoring or auto-routing based on a weak source can spread errors quickly across the knowledge base, so pair each automated step with the source reliability and confidence settings that govern it. Ask the team who will review playbook output, how a wrong automated change is reverted, and which execution traces they will check each time a playbook changes.

Which license and release a playbook needs, by environment

The Community Edition is licensed under the Apache License 2.0 and is the open-source build of OpenCTI. It covers the core knowledge schema, the web application, the GraphQL API and the connector model, so teams can ingest, relate and investigate threat intelligence without a commercial license. Playbooks are not part of the Community Edition feature set, so a team that wants automation to label, score, enrich or route data needs to plan for the Enterprise Edition from the start.

  • Feature boundary: Confirm in the current Enterprise Edition documentation which automation capabilities are exclusive to the paid edition before you design anything.
  • Scripted workarounds: Scripts that call the GraphQL API can automate some tasks, but they are custom code you will maintain, test and document yourself.
  • Release line: Community builds ship as regular releases with the date-based x.YYMMDD.z version format, so plan upgrades on that cadence.
  • Support boundary: Community use has no vendor license terms beyond Apache 2.0, so your own team carries the operational risk.
  • Migration path: Record which playbook logic you would need to rebuild if you later move to the Enterprise Edition.

Before committing to a playbook design, check whether your team needs an automation feature that only the Enterprise Edition provides, and ask your implementation partner to document that boundary in the scope.

How a playbook moves from design to production

A playbook starts with a license and release check, then moves through design on a non-production instance and testing with execution traces. Before promotion, access and ownership are reviewed, and production runs are monitored. The platform, RabbitMQ-driven workers and connectors all run inside your own infrastructure, so each hand-off stays under your control. Confirm the Enterprise Edition license and the release line before any design work begins.

Phases and checkpoints for moving a playbook from design to production.

Which automation job fits which playbook design

This table compares the four automation jobs in an OpenCTI playbook (label, score, enrich, and route or open a case) by purpose, required data, failure modes and when a person should stay in the loop. Read each row as a design decision: the more a job changes shared data or spends paid API quota, the more carefully it needs scoping and testing before it runs unattended.

Job typeWhat it is forData it needsWhat can go wrongKeep it manual when
LabelTags entities with a classification such as campaign, sector or handling level so analysts and filters can find themClear, agreed label vocabulary and the entity attributes that trigger each labelDuplicate or conflicting labels accumulate when rules overlap or vocabularies drift between teamsLabels carry legal, sharing or handling meaning and a wrong tag could expose data
ScoreSets or adjusts a confidence or priority value so analysts see the most relevant items firstSource reliability, existing scores, and the criteria the team has agreed to weightScores inflate or flatten across sources, and a single rule can push many items past alert thresholdsNo documented scoring criteria exist yet, or the team has not agreed how scores feed decay and alerting
EnrichAdds context such as reputation, infrastructure or sandbox results to observablesA well-formed observable, a configured enrichment connector and a defined trigger scopeRepeated calls for the same observable waste paid API quota, and broad triggers enrich data nobody needsEach lookup costs money or sends sensitive indicators to an external service that the policy does not allow
Route or open a caseSends matching data to the right team or opens a case for response, RFI or takedown workRouting criteria, team or group ownership, and a case template or notification targetItems reach the wrong team, duplicate cases are opened for one incident, and alerts flood the queueThe decision has legal, customer or incident-severity consequences that need a named person to approve

Four design decisions to settle before building the first playbook

Playbooks change what happens to every indicator, report and observable that enters OpenCTI, so the team needs answers before the first workflow is built. The four cards below cover the decisions that shape scope, accountability, cost and analyst workload.

Which events trigger playbooks

Decide which data events should start a playbook automatically, such as a new indicator, an imported report or a score change, and which work stays manual because an analyst must judge it. Map each trigger to a named outcome. Broad triggers on high-volume feeds multiply enrichment calls, writes and downstream notifications, so check the expected event volume for each trigger before enabling it. Write the manual cases down too, so analysts know what the automation will not touch.

Enterprise docs

Who owns and approves rules

Name one owner for each playbook who answers for its logic, its scope and its effect on existing data. Set a separate approval step for changes, so that a modified label rule or score adjustment is reviewed before it reaches production. Record who can edit playbooks and who can only view them, and keep a change log tied to each approval. Without clear ownership, two teams can write rules that silently overwrite each other's labels and scores.

Limiting enrichment call volume

Decide how many enrichment requests a playbook may send to each paid service, over what period, and what happens when the limit is reached. Options include filtering by observable type, skipping items already enriched, batching lookups and deferring low-priority items to a scheduled run. Confirm each provider's quota terms with the provider, since limits and billing differ. Test the playbook against a sample feed first and count the calls it makes before connecting it to live data.

Outputs that open cases for review

Identify which playbook outputs create cases or tasks that an analyst must review, such as escalations, takedown requests or requests for information, and which outputs only add labels or scores. Analyst review should be required wherever an action leaves the team, such as a notification to a partner or a block request. Define who reviews each case type, the expected turnaround and how a rejected case is handled. Unreviewed automated cases quickly fill the queue and bury genuine incidents.

How to build and test a playbook with execution traces

This sequence takes a playbook from license and version checks to a promoted, owned automation that has been proven against sample data. Each step ends with a check against the trace output and the expected knowledge base record, so the team can see the playbook does what its design says before anyone relies on it.

  1. Confirm the license and version before building

    Before designing anything, confirm that your deployment runs OpenCTI Enterprise Edition, because playbooks are listed among the Enterprise Edition features. Check the running version in the platform and note whether you are on a regular release (format x.YYMMDD.z) or an LTS release (format x.YYMMDD.z-lts.n), since LTS releases require a specific LTS license key. Record the version and license type in your design document. The step is done when someone outside the build team can read the record and confirm which edition and version the playbook was tested against.

  2. Scope one narrow playbook with written expected results

    Choose a single job, such as labeling indicators from one feed or opening a case when a specific observable type arrives with a high score. Write the trigger, each step in order, and the expected result for each step: the label, score change, enrichment output or case fields you expect to find in the knowledge base. Name an owner for the playbook at this stage. The step is done when the expected results are written as a table that the trace review in a later step can be checked against, and when a reviewer has agreed that the scope is narrow enough to test in one pass.

  3. Build the playbook on a non-production instance

    Create the playbook on a non-production OpenCTI instance that has the same version and connector set as production, or as close as your environment allows. Keep enrichment connectors pointed at sandbox or test credentials where the source offers them, so that test runs do not spend paid API quota. Save the playbook with a name that identifies its purpose and version. The step is done when the playbook is saved, enabled only on the test instance, and its configuration matches the written design from the previous step.

  4. Run the playbook against sample data

    Load a small, known sample set that covers the cases the design must handle: a normal case, a case that should be skipped by the trigger filter, and an edge case such as a missing field or an observable type the playbook should ignore. Note the identifier and expected outcome for each sample item before the run starts. Trigger the playbook using the sample data and let it complete. The step is done when every sample item has been processed and you have a list of item identifiers paired with their expected outcomes.

  5. Read the execution trace for each step

    Open the execution trace for each sample item and read each playbook step in order. For each step, confirm the input it received, the output it produced, and whether the branch taken matches the design. Pay attention to steps that were skipped by filters, since a skipped step can look like success in a summary view. The step is done when you have recorded, for each sample item, whether every traced step behaved as the design expected.

  6. Compare trace output with the knowledge base records

    Open the resulting entity or case in the knowledge base for each sample item and compare it with the expected record from your table. Check the labels, the score, the relationships, the enrichment fields and any case created, including its title, status and linked observables. A trace that reports success but a record that differs from the expected result is a design or configuration fault, not a pass. The step is done when each sample item shows either a match with the expected record or a documented difference that you have traced to a specific playbook step.

  7. Fix, rerun and retest until results match

    For each difference found in the previous step, identify the playbook step responsible from the trace, correct its configuration or filter, and rerun the full sample set, not only the failed item. Repeat until every sample item matches its expected record. Keep a short change log of each fix with the playbook version it applies to. The step is done when a full rerun of the sample set produces no unexplained differences and the change log is complete.

  8. Promote the playbook with a recorded owner

    Before enabling the playbook on production, record the owner who will maintain it, the OpenCTI version and license it was tested on, the sample set and its results, and the change log. Ask the owner to confirm they will review the playbook when the platform is upgraded, since upgrades can change behavior and LTS and regular releases follow different schedules. Enable it on production with a limited trigger scope first, then check the first real execution traces against the same expected results. The step is done when the production traces match the tested results and the owner has accepted the record.

Why execution traces are the evidence to review

A playbook is only as trustworthy as the record of what it did. Before you approve a playbook for production, or accept a result it produced, review the execution traces that show each step that ran, the data it changed and the steps it skipped. The design document says what the playbook should do; the trace is the only evidence of what it actually did on a given object at a given time. Treat trace review as part of acceptance testing, not as an occasional debugging aid.

Compare each trace against the intended design, step by step. Confirm that the trigger fired on the expected entities, that filters routed items to the right branch, and that enrichment, labeling and scoring steps wrote the values you planned. Pay particular attention to skipped steps, because a silent skip is the most common way an automation looks healthy while doing nothing useful. Build a small set of test objects that cover the normal path, the edge cases and the paths that should not fire, then check that the traces match that expectation for each one.

Do not assume the trace fields or retention period. Confirm in your own instance which fields a trace records, including who or what triggered each run, the inputs and outputs of each step, errors and timing, and how long traces are kept before they are purged. Check these details against the documentation for the OpenCTI release you run, since the Enterprise Edition playbook features and their logging behavior can change between releases. If your audit or incident response needs depend on a longer history, agree in writing how that history is exported or retained before go-live.

Securing playbook permissions, credentials and audit trail

Playbooks can label, enrich, route and open cases across the whole platform, so they carry the same risk as any automation with broad write access. The four controls below cover who can change playbooks, where secrets live, what gets recorded and which data a playbook may touch. The Enterprise Edition docs list these as Enterprise features, so confirm each control exists and behaves as documented in the release you deploy.

Restrict who creates, edits and runs playbooks

Playbooks execute with the permissions of the platform actions they call, so a user who can edit a playbook can often change what data it writes or where it sends it. Separate the people who design playbooks from the people who can run them against live data, and keep production edits to a small reviewed group. Test in a non-production instance first, and check that run rights cannot be granted by accident through a broad group. Confirm the exact capability names in your release.

Enterprise Edition docs

Keep connector and API credentials out of playbooks

A playbook definition is readable by anyone with access to it, and exported copies can travel further than the platform. Store connector keys, API tokens and webhook secrets in the connector or platform configuration, not in playbook steps or hard-coded parameters. Rotate these credentials on a schedule and after staff changes, and review which service accounts each playbook uses. Ask your team to confirm how the release masks values in playbook views and exports.

Record playbook changes with audit logs

Audit logs answer who changed a playbook, when it changed and what it did on each run, which matters when an automated label or score is later disputed. Activity monitoring should cover playbook edits, enable and disable actions, and runs that write or delete data. Forward these records to the central log store your security team already reviews, and set a retention period that matches your investigation and regulatory needs. Confirm which events are logged in your release before relying on them.

Activity monitoring docs

Limit shared data with organization segregation

Playbooks often run across data that belongs to several teams, partners or customers, so one misconfigured automation can push intelligence to people who must not see it. Organization-based segregation lets you define which organizations and authorized members a playbook can read and write. Map these boundaries before building routing steps, and test with a sample record from each restricted group. Confirm that the segregation applies to playbook actions as well as to manual analyst work in your release.

Limits to confirm in your environment before you commit

The first limit to settle is licensing, because it decides whether playbooks are available to you at all. Playbooks are an Enterprise Edition feature under the proprietary OpenCTI Enterprise Edition License, while the Community Edition is licensed under Apache License 2.0. Confirm with Filigran, in writing, that your planned edition, hosting model (on premises or SaaS) and license term cover every playbook component you intend to use. A design that assumes Community Edition behavior will need rework once the license question is answered, so resolve it before you draft any playbook logic. The OpenCTI Enterprise Edition documentation is the starting point for what the license covers.

Release strategy shapes how long a playbook design stays valid. Regular releases use the form x.YYMMDD.z, and the date segment marks the release or LTS branching date, so 7.261016.0 was published on October 16, 2026. LTS releases need a specific LTS license key, and after a one-month stabilization they receive only critical bug and security fixes. If you run an LTS line, plan for playbook changes to be limited to what those fixes allow, and confirm the key and entitlement terms before go-live. Check the OpenCTI product life cycle documentation against the release you target.

The supplied facts do not describe playbook capabilities, trace retention, performance limits or upgrade behavior, so treat each as an open question. Ask Filigran which trigger types, actions and external calls playbooks support, how long execution traces are kept and where they are stored, what volume a single playbook or instance can process, and whether existing playbooks survive a version change without edits. Then prove the answers in your own test environment by running representative playbooks through a planned upgrade before committing. Record the results and the trace evidence, since they become the baseline for your operating procedures.

Questions buyers ask about OpenCTI playbook work

Do OpenCTI playbooks require the Enterprise Edition license?

Yes. Playbooks are listed among the features of OpenCTI Enterprise Edition, while the Community Edition is licensed under Apache License 2.0. The Enterprise Edition is covered by a separate proprietary license, and Filigran quotes it on premises or as SaaS. Price is set by Filigran, not by DeployOpen, so the cost depends on the license quote, the hosting model and the deployment size. Ask Filigran for a written quote that names the hosting model, any trial or free license eligibility, and what support is included. Confirm with the vendor which license terms apply to your organization before you design a playbook that depends on them.

How much effort does a first OpenCTI playbook take?

Effort depends mostly on the number of inputs and outputs, not on the playbook itself. A first playbook that labels or scores data from one source and routes it to one team is small. Effort rises with the number of data sources, the number of enrichment services and their rate limits, the number of approval paths, and the number of case or notification targets. Each external service adds credential handling, error handling and test cases. Ask for a scope that lists each trigger, each action, each external service and each approval step, since those items drive the work more than the count of playbooks.

What does the client team need to provide for playbook work?

Plan for four things before the build starts. First, named owners who decide what each playbook should label, score, route or open, and who approves changes. Second, sample data that represents real imports, including edge cases such as malformed indicators and duplicate entities. Third, a test instance that matches the production version and connectors, so execution traces can be checked safely. Fourth, access to the Enterprise Edition license for every instance where playbooks run. Also confirm which external credentials the playbook will use and who owns their rotation.

Can an in-house team build OpenCTI playbooks without outside help?

Yes, if the team already runs OpenCTI and has people who understand STIX2 objects, the platform's knowledge schema and the connectors that feed it. The harder parts are usually not the visual workflow itself but the rule design: deciding which objects a playbook should touch, avoiding loops that re-trigger themselves, and testing against realistic data. An in-house team should also plan for review of each playbook before it goes live. A partner is useful when the team lacks capacity, needs a documented test method, or wants a fixed scope with written deliverables.

How do OpenCTI playbooks change after an upgrade?

Playbooks have to be retested after each upgrade, because the platform and its connectors change between releases. OpenCTI uses date-based version numbers, and non-LTS releases ship from daily to weekly, while LTS releases arrive about every 6 months and are supported for 1 year. Those LTS releases also require a specific LTS license key and receive only critical bug and security fixes after a one-month stabilization. Before upgrading, check the release notes for changes to playbook actions, the connectors your playbooks depend on, and the data schema. Keep a copy of each playbook definition and rerun the test set against a staging instance first.

How do we check that a playbook works before it touches production data?

Use a test instance and review the execution traces for each run. A trace shows which trigger fired, which actions ran, what each external service returned and where a step failed. Build a fixed set of sample objects that covers normal data, missing fields, duplicates and malformed values, then compare the trace with the expected result for each one. Check that no playbook re-triggers itself, that enrichment calls stay within the quota of each service, and that routing reaches the right team. Repeat the same test set after every change and after every platform upgrade.

How DeployOpen scopes, builds and supports OpenCTI playbooks

DeployOpen plans, implements, tests and documents OpenCTI playbooks inside your own infrastructure, starting with a written scope. We confirm the edition and licensing your playbooks need before any build starts, so the design matches what your deployment can run.

How we scope

  • Confirm which playbook use cases matter: labeling, scoring, enrichment, routing and case creation.
  • Check the Enterprise Edition license requirement for playbooks against your planned deployment.
  • Agree in writing which playbooks, connectors and data sources are in scope and which are not.

How we build

  • Design each playbook as a documented flow with defined triggers, conditions and outputs.
  • Configure connectors and enrichment steps with credentials kept out of playbook definitions.
  • Test every playbook with execution traces against sample data before it touches production data.

How we hand over

  • Deliver playbook documentation covering triggers, logic, owners and expected outcomes.
  • Walk your analysts and platform team through reading execution traces and fixing failed runs.
  • Record configuration and change steps so your team can modify playbooks after handover.

How we support

  • Offer ongoing support and upgrade work for playbooks as a retainer, separate from the initial build.
  • Retest playbooks after OpenCTI upgrades, since releases change how automations behave.
  • Review playbook volume and failure patterns with your team so automation stays useful over time.

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.