You are reading the documentation of OpenCTI 7.260811 LTS · 7.260811.0-lts.1, supported until 2027-09.Latest is 7.261119.0 →
How-to guide

Monitor and troubleshoot playbooks

Check that the OpenCTI playbooks of your team run, read their execution traces, and fix the most common reasons a playbook stops early or does not change data.

OpenCTIEnterprise EditionFor CTI team leads, CTI analysts and administrators

Once your team relies on a playbook, you need to know that it runs, and why when a report was not triaged as expected. The playbook list shows which playbooks run and how much work waits for them; the execution traces show what a playbook did on each run, step by step, with the data each step produced.

Before you start

  • Your platform has an Enterprise Edition license.
  • Your role has the Manage Playbooks capability.

Check that your playbooks run

Open Data, then Processing, then Automation. For each playbook, the list shows:

  • Playbook running: Yes while the playbook is started. A stopped playbook ignores every event, and does not catch up on them when you start it again.
  • Messages: the number of bundles waiting in the playbook's queue, mostly what Send for ingestion handed to the platform's workers. It goes back to zero within seconds on a quiet platform. A number that keeps growing means the workers do not keep up: tell your administrator, and check that the playbook's filters are not wider than needed.
OpenCTI 7.260811.0-lts.1

Inside a playbook, the header repeats both: Playbook is running or Playbook is stopped, and the number of messages in queue.

Read the execution traces

  1. Open the playbook in Data, then Processing, then Automation.
  2. Click Open last execution traces, the icon next to the message counter, at the top right. The Last execution traces panel lists the runs, the newest first, each with its Execution at time and the number of steps executed.
  3. Click a run to see its steps. A green icon marks a step that succeeded, a red icon a step that failed; each line gives its message and the time the step ended.
  4. Click a step to open its Raw data: the bundle the step produced, or the error when it failed.

The panel keeps the last 20 runs of the playbook, for up to 90 days.

OpenCTI 7.260811.0-lts.1

Fix common problems

What you seeLikely causeWhat to do
A red step, with a message such as Enrich through connector fail executionThe step failed and the run stopped thereOpen its Raw data to read the error. An enrichment connector fails on elements outside its scope: filter them out before it with Reduce knowledge
The run stops before the end, every step greenThe step took an output with nothing attached: no-match of Match knowledge, unmodified of Manipulate knowledge or Transform with AI agentExpected when the data did not match. If it should have matched, open the step's Raw data and compare it with the filters or actions
The run stops at an Apply predefined rule step, every step greenA rule only works on the main element, and leaves through unmodified when the main element is not of the type it handles, for example a container rule on an indicator, or when it found nothing to addPut the rule right after an entry point that starts on the right entity type. To apply a rule to the objects a first rule added, do it in a second playbook, linked by a label
Manage access restrictions fails with It should have at least one valid member with admin accessNone of the members it sets has the can manage access right, or none of the users behind them has the Manage authorized members capabilityGive can manage to a group or a user who keeps managing the container, in addition to the dynamic members such as the assignees
The data does not changeMissing Send for ingestion, a wrong action, or a scope that excludes the elementsCheck that the branch ends with Send for ingestion. In Manipulate knowledge, check the Action type, the Field, the value and the scope
Not sure which branch the bundle tookSeveral outputs look alike in the traceName each component after what it does, or temporarily add a Manipulate knowledge step on each branch that adds a distinctive label
The playbook never runsIt is stopped, or the entry point filters match nothingCheck that the header says Playbook is running, then loosen the filters
The playbook runs again and again on the same objectsTwo playbooks change data the other listens toNarrow the filters of one of them, for example on a label the other does not set. A playbook never reacts to its own changes
ExampleFind why hotel reports keep the NEW status

The CTI team receives an alert for every new hotel-sector report from the playbook Triage new hospitality reports, but the reports keep the NEW status and have no assignee.

  1. Open the playbook and click Open last execution traces. Pick the run of the last report, Night-time exports from a hotel booking platform.
  2. The run lists three steps, all green: Listen to new reports, Mark as in progress and Notify the CTI team. Click Mark as in progress: its Raw data holds the report with the IN_PROGRESS status and Ana Duval as assignee, so the change was made.
  3. No Send for ingestion step follows: the change was never written. On the canvas, Mark as in progress leads only to Notify the CTI team.
  4. Use Add a sibling node on Notify the CTI team and choose Send for ingestion.

The next report shows four steps in its run, and opens with the IN_PROGRESS status and Ana Duval as assignee.

To see the full bundle on the server side, an administrator can add a temporary Log data in standard output step; it writes the bundle to the platform logs at the Log level you choose.

What's next

NextChoose a component
OpenCTI
Cyber threat intelligence as a knowledge graph: ingest, analyze, automate, share.

Published

Overview