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

OpenCTI feature flags

Every feature flag of OpenCTI in this version, the feature it hides, what it gates and how to turn it on, generated from the OpenCTI source code.

OpenCTIFor developers, platform engineers and administratorsGenerated from OpenCTI 7.260309.0-lts.8
TURNED ON BYOPENCTIGATEDapp:enabled_dev_featuresOr APP__ENABLED_DEV_FEATURES,read at startElasticsearch 7.12 or laterSets RUNTIME_SORTINGBack endChecks each flag in the codeFrontReads the list from the settingsFeature in developmentUnsupported, leave off in production
  1. app:enabled_dev_features → Back end: list of flags
  2. Elasticsearch 7.12 or later → Back end: platform adds
  3. Back end → Front: platform settings
  4. Back end → Feature in development: gates
  5. Front → Feature in development: gates screens
A flag listed in app:enabled_dev_features turns its feature in development on for the whole platform, in the back end and the front

The 3 feature flags of OpenCTI 7.260309.0-lts.8: features still in development, hidden until app:enabled_dev_features lists them (see the configuration reference). Reserved to development and not supported: a flagged feature can change or disappear in any release, so leave flags off in production; the guides describe the platform without them, and a feature is documented when a release removes its flag.

7 entries in OpenCTI 7.260309.0-lts.8Generated from OpenCTI-Platform/opencti@22c7908 (opencti-platform/opencti-graphql/src/config/conf.js, opencti-platform/opencti-graphql/src/**/*.{ts,js,graphql}, opencti-platform/opencti-front/src/**/*.{ts,tsx,js,jsx})

Feature flags

FlagHidesChecked inGates
ACCESS_RESTRICTION_CAN_USEAdds a Use access right between view and edit on restricted entities and organizations, and limits the author and authorized-member pickers to the identities the user can use.Back end (1 file), front (2 files)Parts of AuthorizedMembersField, CreatedByField
DRAFT_METADATADescription and other metadata fields on drafts, in the draft creation forms, the import dialogs and the list of drafts.Front (6 files)Parts of DraftCreation, DraftWorkspaceDialogCreation, Drafts, ImportFilesOptions, LaunchImportDialog, StixCoreObjectFilesAndHistory
DRAFT_WORKFLOWA workflow for drafts, set in the Workflow tab of the Draft entity type in Settings > Customization > Entity types.Back end (1 file), front (5 files)Screens /dashboard/settings/customization/entity_types/:subTypeId/workflow

Turn a flag on

A flag turns its feature on for the whole platform; no flag is set per user or per organization.

SettingExampleEffect
app:enabled_dev_features[]The list of flags to turn on, in the platform configuration file. Read once when the platform starts: restart it after a change. The front reads the same list from the platform settings.
APP__ENABLED_DEV_FEATURES'["ACCESS_RESTRICTION_CAN_USE","DRAFT_METADATA"]'The same list as an environment variable, written as a JSON array.
*'["*"]'Turns every flag on, in the back end and the front, including the flags of features not listed here.

Flags the platform sets by itself

The platform adds these to the flags the front reads, from what it detects itself; listing one in app:enabled_dev_features also turns it on in the front, but not in the back end.

FlagTurns onChecked in
RUNTIME_SORTINGSorting lists on fields computed at query time, turned on by the platform when the search engine is Elasticsearch 7.12 or later. The * value of app:enabled_dev_features also turns it on in the front.Front
NextFilter keys
Reference
Every setting and component, generated from each release's code.

Published

Overview
XTM Composer
Configuration