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

Integration manifest

The connector manifest and configuration schema that the OpenCTI catalog shows and XTM Composer deploys from, field by field, and how to build a catalog of your own connectors.

OpenCTIXTM ComposerFor developers and platform engineers

The manifest describes a connector to the OpenCTI catalog: its name and description on the catalog card, the Docker image XTM Composer deploys, and the settings the deployment form asks for. A connector ships it as two files in its __metadata__/ folder; a catalog gathers the manifests of many connectors in one JSON file that OpenCTI loads. This page lists every field as OpenCTI 7.261030 reads it, then builds the catalog of the hospitality threat feed connector.

OpenCTI 7.260811.0-lts.1

The files

FileHoldsRead by
__metadata__/connector_manifest.jsonWhat the catalog shows and what XTM Composer deploysThe catalog build; pycti, which reports container_version and slug when the connector registers
__metadata__/connector_config_schema.jsonThe connector's settings, as a JSON SchemaThe catalog build, which copies it into the manifest as config_schema
__metadata__/logo.pngThe logo of the card (any logo.* file)The catalog build, which embeds it as a data: URL in logo
A catalog, such as manifest.jsonid, name, description, version, and the contracts: one manifest per connectorOpenCTI, at start and every catalog_manager:interval

The OpenCTI-Platform/connectors repository builds its catalog, manifest.json, from the __metadata__/ folders of its connectors, and each OpenCTI release embeds it. Your own catalogs come on top of it: see Load your catalog.

connector_manifest.json

FieldTypeWhat OpenCTI does with it
titleStringThe name on the card and the default display name of a deployment
slugString, lowercase words joined by -The identifier of the connector across versions. A deployed connector follows the latest compatible version of its slug
descriptionStringThe description on the connector's page in the catalog
short_descriptionStringThe text of the card
logodata: URL, URL or nullThe logo of the card. The catalog build fills it from logo.*
use_casesStringsFacets of the catalog, such as Market Vertical & Mission-Specific Intelligence or Vulnerability & Exploit Awareness
solution_categoriesStringsFacets of the catalog, such as Threat Intelligence Feed or Enrichment & Reputation
license_typeFree, Commercial or nullShown on the card
contactStringWho supports the connector
verified, last_verified_dateBoolean, date or nullWhether Filigran verified the connector, and when. Deploying a connector that is not verified asks the administrator to acknowledge that Filigran does not support it
playbook_supportedBooleanWhether the connector can run as a playbook step. Match it with playbook_compatible=True in the connector code
max_confidence_levelInteger, 0 to 100The confidence level the deployment form proposes for the service account it creates. 100 when absent
support_versionSemantic version range, such as >=7.261030.0The platform versions the connector works with. The catalog marks the connector incompatible on other versions
subscription_linkURL or nullWhere to subscribe to the data source
source_codeURLWhere the code lives
manager_supportedBooleantrue: the card has a Deploy button and XTM Composer can run the connector. With a config_schema, container_image and container_type are required, or OpenCTI refuses the whole catalog; without one, OpenCTI logs a warning
container_imageString, without tagThe Docker image XTM Composer pulls
container_versionStringThe image tag, rolling or a version. XTM Composer runs container_image:container_version, plus its manager.image_tag_suffix when set (1.0.0-fips); pycti reports it as the connector's version
container_typeConnector typeEXTERNAL_IMPORT, INTERNAL_ENRICHMENT, INTERNAL_IMPORT_FILE, INTERNAL_EXPORT_FILE, INTERNAL_ANALYSIS or STREAM
config_schemaJSON SchemaFilled from connector_config_schema.json by the catalog build

The manifest of the hospitality threat feed connector:

{
  "title": "Hospitality threat feed",
  "slug": "hospitality-feed",
  "description": "Imports the reports of the Example CERT hospitality threat feed: the intrusion sets that target hotel chains, their indicators, and the report that ties them together.",
  "short_description": "Reports, intrusion sets and indicators on threats to the hospitality sector.",
  "logo": null,
  "use_cases": ["Market Vertical & Mission-Specific Intelligence"],
  "solution_categories": ["Threat Intelligence Feed"],
  "license_type": "Free",
  "contact": "cti@example.com",
  "verified": false,
  "last_verified_date": null,
  "playbook_supported": false,
  "max_confidence_level": 70,
  "support_version": ">=7.261030",
  "subscription_link": "https://feeds.example.com/hospitality",
  "source_code": "https://git.example.com/example-cert/connector-hospitality-feed",
  "manager_supported": true,
  "container_version": "1.0.0",
  "container_image": "registry.example.com/example-cert/connector-hospitality-feed",
  "container_type": "EXTERNAL_IMPORT"
}

connector_config_schema.json

A JSON Schema (draft 2020-12) of type object. Each property is a setting, named after its environment variable, because XTM Composer passes the values to the container as environment variables.

KeywordEffect in the deployment form and in XTM Composer
typestring, integer, boolean, array (of strings) or dict
descriptionThe help text of the field
defaultThe value the form proposes. A field left empty takes it
enumA choice list
format: passwordA secret: the form hides it, OpenCTI stores it encrypted with the public key of XTM Composer, never returns it, and keeps the stored value when an update leaves the field empty. Mark every key and password this way
requiredThe fields the form asks for first; the others are under the optional settings
deprecated: trueHidden from the form
additionalPropertiesKeep true: a deployment can carry settings the schema does not list

OpenCTI validates every deployment against the schema and shows the errors in the form. A few settings never appear in the form, because the platform and XTM Composer set them: OPENCTI_URL, OPENCTI_TOKEN, CONNECTOR_TYPE and CONNECTOR_RUN_AND_TERMINATE. CONNECTOR_ID comes from the deployment, and the default of CONNECTOR_NAME becomes the default display name. OPENCTI_TOKEN is a token of the deployment's service account, which OpenCTI creates and encrypts for XTM Composer.

The schema of the hospitality threat feed connector:

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://example.com/connectors/hospitality-feed_config.schema.json",
  "type": "object",
  "properties": {
    "OPENCTI_URL": {
      "description": "The base URL of the OpenCTI instance.",
      "format": "uri",
      "type": "string"
    },
    "OPENCTI_TOKEN": {
      "description": "The API token to connect to OpenCTI.",
      "format": "password",
      "type": "string",
      "writeOnly": true
    },
    "CONNECTOR_NAME": {
      "default": "Hospitality threat feed",
      "description": "The name of the connector.",
      "type": "string"
    },
    "CONNECTOR_SCOPE": {
      "default": ["report", "indicator", "intrusion-set"],
      "description": "The types of objects the connector imports.",
      "items": {"type": "string"},
      "type": "array"
    },
    "CONNECTOR_LOG_LEVEL": {
      "default": "error",
      "description": "The minimum level of logs to display.",
      "enum": ["debug", "info", "warn", "warning", "error"],
      "type": "string"
    },
    "CONNECTOR_DURATION_PERIOD": {
      "default": "PT1H",
      "description": "Time between two runs, as an ISO 8601 duration.",
      "format": "duration",
      "type": "string"
    },
    "HOSPITALITY_FEED_URL": {
      "default": "https://feeds.example.com/hospitality/v1/items.json",
      "description": "URL of the feed.",
      "format": "uri",
      "type": "string"
    },
    "HOSPITALITY_FEED_API_KEY": {
      "description": "API key of the feed.",
      "format": "password",
      "type": "string",
      "writeOnly": true
    },
    "HOSPITALITY_FEED_AUTHOR": {
      "default": "Example CERT",
      "description": "Organization set as the author of every imported object.",
      "type": "string"
    }
  },
  "required": ["OPENCTI_URL", "OPENCTI_TOKEN", "HOSPITALITY_FEED_API_KEY"],
  "additionalProperties": true
}

Build a catalog

A catalog is a JSON object with an id, a name, a description, a version and the list of manifests in contracts. This script builds one from every __metadata__/ folder under the current directory, and runs the checks OpenCTI runs when it loads the catalog. It is stricter on one point: OpenCTI only logs a warning for a manager_supported connector without config_schema, while the script stops, because the deployment form needs the schema:

"""Builds a custom OpenCTI catalog from the __metadata__ folder of each connector."""

import json
import sys
from pathlib import Path

from jsonschema import Draft202012Validator

contracts = []
for metadata in sorted(Path(".").glob("**/__metadata__")):
    contract = json.loads((metadata / "connector_manifest.json").read_text())
    schema_file = metadata / "connector_config_schema.json"
    if schema_file.is_file():
        contract["config_schema"] = json.loads(schema_file.read_text())
    # What OpenCTI checks when it loads the catalog (it only warns when config_schema is missing)
    if contract["manager_supported"]:
        for field in ("container_image", "container_type", "config_schema"):
            if not contract.get(field):
                sys.exit(f"{contract['slug']}: {field} is required for XTM Composer")
        Draft202012Validator.check_schema(contract["config_schema"])
    contracts.append(contract)
    print(f"{contract['slug']} {contract['container_version']}: ok")

catalog = {
    "id": "example-cert-catalog",
    "name": "Example CERT connectors",
    "description": "Connectors built by Example CERT for its member hotel chains",
    "version": "7.261030.1",
    "contracts": contracts,
}
Path("example-cert-catalog.json").write_text(json.dumps(catalog, indent=2))

It needs jsonschema (pip install jsonschema). Run it from the folder that holds your connectors:

python build_catalog.py
hospitality-feed 1.0.0: ok

The result, example-cert-catalog.json, starts like this:

{
  "id": "example-cert-catalog",
  "name": "Example CERT connectors",
  "description": "Connectors built by Example CERT for its member hotel chains",
  "version": "7.261030.1",
  "contracts": [
    {
      "title": "Hospitality threat feed",
      "slug": "hospitality-feed",
      ...
      "config_schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        ...

OpenCTI also reads a newer catalog format, marked with "manifest_schema_version": "1", where each contract carries version, image_name, image_type, min_version and max_version, and puts playbook_supported and max_confidence_level under additional_properties. Write the format above unless you generate catalogs with the tools of the connectors repository.

Load your catalog

List your catalogs in app:custom_catalogs (APP__CUSTOM_CATALOGS) of the platform, as a JSON array of file paths the platform can read or http(s):// URLs. The catalog manager loads them next to the built-in catalog; their connectors appear in Integrations, Available tab, and XTM Composer deploys the ones with manager_supported: true. XTM Composer shows the Docker Compose block. Filigran may remove this setting in a later version.

Push the image to a registry XTM Composer can pull from: Pull integrations from a private registry covers a registry that needs credentials. An XTM Composer that sets manager.image_tag_suffix, as its FIPS image does with -fips, pulls the suffixed tag, such as connector-hospitality-feed:1.0.0-fips: push that tag too, or it deploys nothing and logs the failed pull on the connector. See Configure XTM Composer for the values it accepts.

What's next

NextScript OpenCTI in Python
Develop
Integrations, APIs, MCP and contributing.

Published

Overview