You are reading the documentation of OpenCTI 7.260309 LTS · 7.260309.0-lts.8, supported until 2027-04.Latest is 7.261119.0 →
How-to guide

Scenario generation placeholders

The OpenCTI GraphQL mutations that generate OpenAEV scenarios, replaced in 6.5 by versions that return inject placeholders and missing attack patterns.

OpenCTIOpenAEVFor platform engineers and developers

OpenCTI generates simulation scenarios in OpenAEV (formerly OpenBAS) from a container, a threat or a victim. In OpenCTI 6.5, the three GraphQL mutations that do it were replaced by new ones with a different signature and a more detailed response; the old ones were removed in 6.8. This page lists the replacements, for scripts that call the API.

YOUR SCRIPTOPENCTI GRAPHQL APIOPENAEVScriptCalls the GraphQL APIobas...GenerateScenarioContainer, threat, victim: removed in 6.8...WithInjectPlaceholdersOpenCTI 6.5 to 6.x, returns aGenerationResponseOpenCTI 7.260309 and laterHas neither mutationScenarioIts URL in urlResponse
  1. Script → obas...GenerateScenario: replace the call
  2. Script → ...WithInjectPlaceholders: SimulationConfig
  3. ...WithInjectPlaceholders → Scenario: generates
  4. OpenCTI 7.260309 and later → Scenario: security coverage
On OpenCTI 6.5 to 6.x, scripts call the WithInjectPlaceholders mutations with a SimulationConfig, and from OpenCTI 7 OpenAEV generates the scenarios from the security coverage instead
Version
Deprecated inOpenCTI 6.5
Removed inOpenCTI 6.8

Replaced mutations

RemovedReplaced by
obasContainerGenerateScenarioobasContainerGenerateScenarioWithInjectPlaceholders
obasThreatGenerateScenarioobasThreatGenerateScenarioWithInjectPlaceholders
obasVictimGenerateScenarioobasVictimGenerateScenarioWithInjectPlaceholders

The new mutations take a SimulationConfig object:

FieldMeaning
simulationTypeThe type of simulation: technical or simulated
selectionThe number of injects generated per attack pattern and platform
intervalThe interval between injects, in minutes

They return a GenerationResponse object:

FieldMeaning
urlResponseThe URL of the generated scenario in OpenAEV
attackPatternNotAvailableInOpenBASThe attack patterns the OpenAEV catalog does not cover
hasInjectPlaceholdersWhether OpenAEV created inject placeholders

What to do

On OpenCTI 6.5 to 6.x, if a script of yours calls one of the removed mutations, call its replacement with a SimulationConfig, and read the scenario URL from urlResponse.

The OpenCTI versions this documentation describes, 7.260309 and later, have neither the old nor the new mutations: the GraphQL API refuses a call to any of them. Remove these calls from your scripts when you upgrade to OpenCTI 7. In OpenCTI 7, OpenAEV generates the scenarios from the security coverage of OpenCTI: see Scenario generation from OpenCTI security coverage.

What's next

NextStream connectors data import
Deploy
Install, configure, secure, scale and upgrade the platform.

Published

Overview
Run the XTM platform locally
OverviewDeploy with an AI agent