OpenCTI Hands-on Handbook繁中

Advanced OpenCTI Deployment and Development

Explore background processing, monitoring, scaling, Integration Manager, MCP, APIs and development, including migration and compatibility requirements.

Handbook v1.10.1OpenCTI 7.261124.0About 27 minutes

From a single lab machine to a manageable intelligence platform.

As sources and users grow, the questions shift from ‘Will it start?’ to ‘Who processes this background task?’, ‘Why do imports slow down queries?’, and ‘Which integration needs changes after an upgrade?’ Advanced deployment means giving each extension a clear purpose and a way to verify it, rather than installing every component at once.

Based on official documentation reviewed on November 29, 2026, this chapter covers platform managers, clustering, integration deployment, MCP, and development resources. Clustering, XTM Composer, XTM One, private registries, and on-premises AI extraction were not deployed and verified in this handbook's lab. The steps below describe design and acceptance methods for advanced environments, not completed performance or high-availability tests. EE denotes an Enterprise Edition requirement; check your own version as well.

First confirm which environment you are operating

Prerequisites: Start at the repository root with Docker Compose and the established handbook lab. These are checks readers can perform, not additional execution evidence recorded in this section.

  1. Run the commands below to confirm Compose can read its configuration and that services and image versions match expectations.
  2. Record the platform, worker, connector, and Elasticsearch versions in an inventory. Compare them with Configuration and release notes for the same version; latest documentation may be newer than your deployment.
  3. Use a separate isolated project for exercises that require new components. Complete prerequisite checks before an administrator deploys the selected versions. This single-node lab is not an existing cluster.
Reader exercise · No additional execution verification recorded here
cd lab
docker compose version
docker compose config --quiet
docker compose config --services
docker compose config --images
docker compose ps

Expected result: Configuration validation exits with code 0, images show pinned versions, and the service list matches the current lab.

Troubleshooting and exit: Stop if variables are missing or configuration is invalid. Do not print the complete expanded configuration when seeking help, because it may contain passwords.

Identify the platform's background work.

Platform managers are background components supporting rules, history, background tasks, synchronization, import, notifications, retention, indicator decay, the recycle bin, and data consistency. They differ from the Integration Manager used later to deploy connectors. A shared word in their names does not imply the same responsibilities. Official platform manager list.

Start with platform status under Settings and identify enabled managers. For each active workflow, record who produces the work, who consumes it, and its expected completion time. After source data changes, is the delay in import, rule processing, or indexing? This map prevents every delay from being blamed on the worker.

A read-only starting point for observing the local environment
cd lab
docker compose ps
docker compose stats --no-stream
docker compose logs --since 15m --tail 100 opencti worker

Keep records from the same time window and follow one known object through the workflow. Disabling a manager can stop the corresponding feature's progress, not merely save resources. Record affected functions and recovery steps before changing it.

Trace one background task to its actual processor

Prerequisites: Read access to platform status and the relevant data feature, plus a teaching report.

  1. Run this section's ps, stats, and logs commands and record when observation begins.
  2. Open platform status under Settings and record active managers. Use the official list to identify their responsibilities rather than guessing from names.
  3. Create a background change limited to the teaching report, such as adding a test label, and record the task ID. Observe task status and platform logs from the same time period.
  4. Confirm that the object's label actually changed. Record the responsible manager, waiting time, and any downstream work.

Expected result: Task completion agrees with the object result; a running worker container alone is insufficient.

Troubleshooting and exit: If a task remains waiting, check whether its manager is enabled, platform status, and the queue. Do not disable several managers or repeatedly resubmit the batch before identifying the work's owner.

Separate health, performance, and product usage statistics.

Liveness indicates whether a process is available; operational metrics explain service behavior and workload. A successful homepage response does not establish that writes, notifications, and exports all work. Production acceptance should include login, queries, a teaching-object write, and a background task. Official liveness probe documentation.

Observability metrics can feed monitoring pipelines such as Prometheus or OTLP. Enable them and restrict endpoint access according to deployment needs. Start with five signals that affect users: errors, waiting time, queues, resources, and source freshness. Then define response windows. Official operational metrics documentation.

Usage telemetry is a separate product usage statistics mechanism. Review whether it is enabled, what it sends, and organizational policy independently. Local health monitoring and product usage telemetry are not the same required switch. Official usage telemetry documentation. Keep baseline values, change one condition at a time, and compare trends.

Connect health checks and monitoring in separate stages

Prerequisites: The local lab can run the health read below; Prometheus / OTLP requires a separate collector. Check operational monitoring settings against Configuration for the matching version.

  1. Run the health request below inside the lab. It reads the key from the container's existing environment rather than placing it manually in a terminal or URL history. Save the response time and dependency states.
  2. For liveness, configure APP__LIVENESS_PORT in an isolated deployment and set up a dedicated probe following the liveness documentation. It is not the main service's health endpoint.
  3. For a separate monitoring exercise, record the original configuration, enable APP__TELEMETRY__METRICS__ENABLED, and verify exporter ports and listening addresses. Allow access only from the collector, not the public internet.
  4. Search the collector for opencti_api_requests and opencti_api_errors, perform one teaching query, and compare results. For capacity values, also check platform_usage_metrics_manager. Do not invent zero values for metrics that were never exported.
  5. Review organizational policy and settings for usage telemetry separately. Enabling operational monitoring does not establish approval for product usage statistics.
Reader exercise · No additional execution verification recorded here
cd lab
docker compose exec -T opencti sh -c 'wget -T 15 -qO- "http://localhost:8080/health?health_access_key=$APP__HEALTH_ACCESS_KEY"' 

Expected result: Health returns a parseable response, monitoring shows a change after the query, and missing data can be distinguished from a value of zero.

Troubleshooting and exit: If health fails, check the existing key and platform startup state. If metrics are absent, inspect the exporter, network, and applied configuration before broadening firewall access. Restore the original monitoring settings and exposure when ending the exercise.

Data sanity: inspect the proposed scope with a read-only dry run first.

Data consistency operations have specific purposes; they are not a button to ‘fix all data.’ The November 29, 2026 Docker CE 7.261124.0 test listed available operations, then ran a dry run for caseSensitiveDuplicatedId without submitting a repair-scheduling mutation. This operation addresses case-sensitive identifier issues in particular types, not general deduplication by similar names. Official Data sanity manager documentation.

Repeat only this check with the following two queries

Prerequisites: The current schema must support the fields, and the account must have the required management permissions. Use an already verified GraphQL interface or API client. This management API test does not establish that an ordinary reader can run it.

  1. Record the platform version and run the operation-list query below first. Confirm that caseSensitiveDuplicatedId exists and inspect is_running. If maintenance is already running, coordinate with its owner rather than requesting another repair.
  2. Run the second query to request estimated_impact only. Verify that the request is still a query and contains no RequestRun or other repair mutation.
  3. Save each key and count. In final RUN 202b001aa69e, Attack-Pattern and Course-Of-Action were both 0. Preserve your actual results, which may differ.
  4. If a count is nonzero, review the operation's intended problem, backups, potentially merged data, and maintenance window. Stop the exercise here; a nonzero estimate is not authorization to start an automatic repair.
  5. Hand over the version, operation name, execution time, and response together. A count of 0 is only this operation's estimate for this run. It does not certify the whole database as clean or establish that repairs were completed.
GraphQL · Two read-only queries to run separately
query ListSanityOperations {
  dataSanityOperations { identifier is_running }
}

query InspectIdentifierCase {
  dataSanityOperationDryRun(operation_name: "caseSensitiveDuplicatedId") {
    estimated_impact { key count }
  }
}
Actual local dry-run response · RUN 202b001aa69e
{
  "estimated_impact": [
    {"key": "Attack-Pattern", "count": 0},
    {"key": "Course-Of-Action", "count": 0}
  ]
}

Troubleshooting and exit: For Unknown field, check the version's schema; for Forbidden, check capabilities. Do not replace the query with a repair mutation to eliminate the error. Preserve the error category and time instead of repeatedly requesting repairs. A read-only dry run changes no data to roll back; an actual repair is a separate operation requiring backups and result checks.

The full verification record and integration verification script include this check. The complete script also creates notification, batch, and indicator teaching data. If your goal is read-only inspection, run only the two queries above rather than the entire script.

Identify the bottleneck before scaling.

OpenCTI can scale the platform and workers horizontally, while each dependency needs its own deployment plan. The official clustering guidance separates user-facing services from ingestion processing to reduce resource contention. Multiple nodes also require consistent configuration and session management. Official clustering documentation.

  1. Record a single-node baseline: typical queries, a fixed teaching import's completion time, CPU, memory, disk, and queues.
  2. Map failure boundaries for the entry point, platform, workers, search engine, Redis, RabbitMQ, and S3. Check that you have not simply moved a single point of failure elsewhere.
  3. Scale one layer first, then test sessions, long-lived connections, background work distribution, and downstream processing. Do not change search engines while also doubling workers.
  4. During a maintenance window, rehearse one node becoming unavailable. Measure interruption and data consistency, then verify that recovery does not duplicate processing.

Two containers do not establish high availability. If both share one host or a single disk, a host failure may take both down. Performance scaling and disaster recovery need separate acceptance tests.

Build a scaling plan with individually verifiable steps

Prerequisites: A separate isolated environment capable of hosting multiple nodes, with load balancing and a dependency-service design. The local Compose lab does not meet these prerequisites by itself.

  1. Use the read-only commands below to collect a single-node baseline. Separately time the same teaching query and import.
  2. Diagram user and ingestion entry points, shared dependencies, networking, credentials, sessions, and volumes. Avoid sharing incompatible configurations.
  3. Start from the official clustering example, pin all platform versions, and add one platform node first. Confirm both entry points expose the same teaching object and that switching nodes does not disrupt login.
  4. Then add one worker and rerun the same teaching dataset, checking final counts, task states, and duplicate processing. Adjust only one layer at a time.
  5. After arranging a maintenance window, take one node offline in the isolated environment and record availability and recovery. Test dependency failures separately rather than calling the entire system verified.
Reader exercise · No additional execution verification recorded here
cd lab
docker compose ps
docker compose stats --no-stream
docker compose logs --since 10m --tail 100 opencti worker

Expected result: Comparable timing and resource records for the same workload, with node switching and task outcomes verified.

Troubleshooting and exit: If duplicate work, session errors, or data differences appear, stop scaling and revert the most recent deployment change. Do not delete volumes or treat replicas as backups.

Index rollover and rate limits are part of capacity planning.

OpenCTI uses index aliases and rollover to manage search data. As indexes grow, inspect shards, write aliases, and lifecycle policies rather than deleting whichever index appears oldest. Older environments may have different initialization behavior, and an upgrade procedure does not replace index-configuration verification. Official indices and rollover documentation.

In a nonproduction environment, check index prefixes, alias targets, and policy state first. Use a small dataset to verify reads, writes, and queries after rollover. Capacity forecasts should include relationships, history, attachment indexes, and retention, not just the object count on the homepage.

Platform rate limiting returns 429 for excess requests. Workers and connectors sharing a NAT egress address and User-Agent may consume the same limit. Check proxy trust and actual traffic sources before adjusting rates or adding precise exceptions. Do not exempt every browser or an uncontrolled network range. Official rate-limiting documentation.

Use a small controlled test to verify normal requests, excess traffic handling, and recovery. Integrations need waiting and bounded retries. Infinite retry loops can turn a protective limit into persistent congestion.

Inspect indexes first, then perform a bounded rate-limit exercise

Prerequisites: The Elasticsearch commands below apply only to this handbook's unexposed lab without Elasticsearch authentication. Use a controlled administrative connection in production. Rate-limit testing requires a separate environment whose configuration can be restored.

  1. Query indexes and aliases to confirm the index prefix, write index, and document counts. Compare the current version with rollover documentation to identify applicable policies.
  2. Record the largest index and its growth rate. Estimate retention impact with the retention rule disabled rather than directly triggering rollover or deleting indexes.
  3. In a separate isolated deployment, inspect APP__RATE_PROTECTION__MAX_REQUESTS and TIME_WINDOW. Temporarily use a test threshold reachable with few requests, such as 10 requests per 10 seconds. Keep original values and ensure health checks will not be locked out.
  4. Send a bounded set of read-only requests from a fixed source and User-Agent, at most 12 requests. Record 429 responses and recovery time. Do not use an infinite loop or load-test external sites.
  5. Restore the original rate-limit configuration and verify normal queries and worker / connector traffic recover.
Reader exercise · No additional execution verification recorded here
cd lab
docker compose exec -T elasticsearch curl -fsS --max-time 15 "http://localhost:9200/_cat/indices?format=json&h=index,docs.count,store.size"
docker compose exec -T elasticsearch curl -fsS --max-time 15 "http://localhost:9200/_cat/aliases?format=json&h=alias,index,is_write_index"

Expected result: Indexes and aliases can be reconciled; excess traffic is rejected only within the configured window and recovers after waiting.

Troubleshooting and exit: If normal administrator login is blocked, restore the original values from the deployment side. MAX_REQUESTS=0 rejects everything; it does not disable the limit. For index errors, check authentication and prefixes rather than repairing or deleting unfamiliar indexes.

Maps and AI also have data paths worth understanding.

The current map uses a PMTiles basemap and GeoJSON country boundaries, each of which can use built-in or custom data. After replacing the basemap, separately test country coloring. Proxies must also handle Range requests for map data correctly. Test a limited scope before choosing larger files. Official map configuration.

On-premises AI extraction deploys a document-to-STIX extraction service in your own environment. The official process requires access to controlled images; do not assume a public Docker pull is sufficient. Verify licensing, CPU / GPU resources, and requirements that prevent data leaving the environment first. Official on-premises AI extraction deployment.

Use a teaching document with known entities and relationships for acceptance. Confirm the connector actually points to the local endpoint, then compare omissions, incorrect extractions, and source retention. Keeping data inside a network does not make model output automatically trustworthy; human review remains part of the analytical process.

Test map files first; test AI with one document first

Prerequisites: Maps require legitimately usable, correctly formatted PMTiles / GeoJSON files. AI requires controlled image access, compatible resources, and the official deployment environment; ordinary services in this lab are not substitutes.

  1. Save a baseline view of the built-in map. Place custom files where the isolated service can read them, and compare paths and mounts with the official Map and matching Configuration documentation. A browser being able to download a file does not prove a container can read it.
  2. Load the map, test zoom and country boundaries, and inspect browser network requests. PMTiles requests through the proxy must support the expected Range behavior. If they fail, compare with the built-in path.
  3. For AI, obtain the images and deployment configuration through the documented process. Confirm the extraction endpoint is reachable only on the intended network and check the connector's destination.
  4. Use a one-page fictional report and list its two entities, one relationship, and source in advance. After extraction, compare each item in the review area before deciding whether to import it.

Expected result: The basemap and boundaries both work. AI results have explicit records of correct, missing, and incorrect extractions, and use the intended local service.

Troubleshooting and exit: For a blank map, check paths, format, and Range handling. For AI failures, check image access, resources, and the endpoint. Stop extraction if the route by which test data leaves the service is unclear, and verify deployment settings first.

For FIPS, inspect the cryptographic module chain, not just the image name.

Official FIPS deployment guidance covers build and runtime requirements involving a specific OpenSSL provider. If your organization requires it, have compliance and platform owners define the scope together, then check platform images, dependencies, transport encryption, certificates, and execution mode. One component using a suitable module does not establish that the whole deployment or operating procedure has been assessed. Official FIPS guidance and build requirements.

Retain image sources and digests, module versions, configuration, and verification records. In an isolated environment, test whether prohibited algorithms are rejected. This handbook's Docker lab did not use a FIPS build and is not a compliance validation report. Treat FIPS as a separate deliverable and acceptance activity when needed.

Base FIPS prerequisite checks on actual deployment evidence

Prerequisites: The officially required FIPS build, dependencies, and compliance personnel in a separate environment. The host OpenSSL query below inventories a tool only; it does not establish container FIPS compliance.

  1. Run the version query below and label the result ‘host tool.’ Obtain provider and module information separately from inside the actual FIPS image, and keep the two records distinct.
  2. Check each image / build requirement in the official FIPS documentation and the cryptographic modules of dependencies. The ordinary lab image inventory is not compliance evidence.
  3. Have the responsible owner define permitted and prohibited algorithm cases, run them in isolation, and retain results. Submit them with transport and certificate settings to the compliance assessment process.
Reader exercise · No additional execution verification recorded here
openssl version

Expected result: Each piece of evidence identifies its component and version, with outstanding gaps clearly visible.

Troubleshooting and exit: Without the specified builds or test cases, stop at gap analysis. An OpenSSL version string alone is not grounds to claim that the platform is certified.

Understand Integration Manager's permissions before using it to manage connectors.

Integration Manager / XTM Composer manages connector deployment lifecycles. Official documentation identifies availability from OpenCTI 6.8.17. Managed deployment requires EE; without a license, the catalog can be browsed read-only. A new managed connector still needs startup and verification: pressing Create does not mean data has been ingested. Official feature overview.

First read the architecture and installation requirements, then choose Docker, Kubernetes, or Portainer. Docker mode needs access to manage containers. Mounting the Docker socket into the manager gives it influence over workloads on that engine, so define its operating scope carefully.

  1. Pin compatible versions, prepare a unique manager ID, platform URL, required permissions, and the officially required RSA private-key format, then follow the Quick start to configure it.
  2. Check configuration precedence. Environment variables override configuration files; changing a file is ineffective if the deployment tool still injects an older value. Configuration reference.
  3. Confirm manager registration, then choose a low-volume integration from Connector Catalog and assign a distinct name, service account, and source credentials.
  4. After startup, inspect manager, connector, and worker records, then verify an expected object. Finally test stopping and resuming it.

In a separate EE environment, register one manager and deploy one connector

Prerequisites: EE managed-deployment capability, a compatible Composer, a separate service identity, and an isolated orchestrator. This handbook's lab has no Composer service, so its startup commands cannot be applied directly to the lab.

  1. Use the installation guide to select a pinned Composer version and orchestrator. Confirm the service account and source credentials, and record a manager ID dedicated to this exercise.
  2. Use the command below to generate a 4096-bit PKCS#8 private key in a unique temporary directory. Check the file without printing the key, and mount its path at the location required by the selected deployment.
  3. Following Quick start, set manager.id, credentials_key_filepath, opencti.url, opencti.token, and daemon.selector. Check for overriding environment variables and keep secrets out of Git.
  4. Have an administrator apply the version-specific deployment definition to the isolated orchestrator. Check connectivity and the manager ID in logs, verify registration, then create a low-volume connector. The official Quick start still refers to Data > Connectors; in the newer 7.261124.0 interface, find the corresponding manager and connector views under Integrations and follow your version's menus.
  5. Start the managed connector and collect evidence from the manager, connector work, and worker writes. Finally verify the expected object in the knowledge base.
Reader exercise · No additional execution verification recorded here
umask 077
sectools_composer_dir=$(mktemp -d "${TMPDIR:-/tmp}/sectools-composer.XXXXXX")
openssl genpkey -algorithm RSA -out "$sectools_composer_dir/private_key_4096.pem" -pkeyopt rsa_keygen_bits:4096
openssl pkey -in "$sectools_composer_dir/private_key_4096.pem" -check -noout
printf 'Key directory: %s\n' "$sectools_composer_dir"

Expected result: Manager registration is only the first checkpoint. The connector passes acceptance only when source data has been processed correctly.

Troubleshooting and exit: For private-key or permission failures, stop further deployment attempts for the new connector. Do not enable show_env_vars or broaden access to a production Docker socket. On exit, stop the test managed instance and preserve results and configuration records.

Verify private images, proxies, and migration separately.

ScenarioConfiguration to check firstCompletion criterion
Private registryComplete image name, registry identity, and pull permissionsThe execution node can pull the specified digest
Enterprise proxyProxy routing, NO_PROXY, and trusted CAInternal and external endpoints use the intended routes
Existing connector migrationOriginal configuration, state, in-progress work, and source limitsThe new workflow completes without the old workflow continuing in parallel

For private Kubernetes images, Composer may create the required secret. Verify service-account permissions and the secret lifecycle. Testing a pull from the administrator's own computer is insufficient. Official registry authentication documentation.

Proxy trust certificates and the OpenCTI server certificate belong to different configuration scopes. Add the correct CA and test inside actual containers rather than permanently disabling certificate verification. Official proxy support documentation.

The official migration guide warns that replacing an instance with a managed instance does not preserve the original instance's state, in-progress work, or last import date. Record these first and estimate replay volume and source quota use. Switch during a maintenance window, verify the new workflow, and then remove the old deployment definition so a later update cannot start a second copy. No deletion is performed automatically here. Official migration procedure.

When troubleshooting, check private-key format and mounting, loaded configuration, URL / token, networking, and orchestrator permissions in that order. Retain identifiers and times in logs without enabling debug options that print sensitive environment variables. Official manager troubleshooting.

Use separate checklists for registries, proxies, and migration

Prerequisites: Use the separate Composer environment from the previous section. Give registry accounts only the required pull capability and use the enterprise-issued proxy CA. Inventory the old instance before migration.

  1. Registry: record the complete image and digest, configure orchestrator credentials using Registry authentication, and verify pulling from the node that actually runs the connector.
  2. Proxy: configure the proxy address, NO_PROXY, and CA using Proxy support. Test one internal platform endpoint and one external source, checking the actual routes.
  3. Migration: record the old connector's ID, configuration, state, pending work, and last import time. Arrange a cutover window and establish which source data can be replayed.
  4. Follow the migration guide to switch to a managed instance without simultaneous old and new schedules. Verify a known batch and source quota use before dealing with the old deployment definition.

Expected result: The execution node pulls the correct image, TLS validation remains enabled, internal and external routes are correct, and only the intended workflow runs after cutover.

Troubleshooting and exit: For pull failures, check node credentials and digests; for TLS failures, check the trust chain. If migration results differ from expectations, stop the new workflow and use the records to assess restoring the old one. Missing state transfer is not a zero-data-loss guarantee.

The MCP entry point is in XTM One; permissions still follow the user.

The current official MCP server is provided by XTM One as an XTM One Community feature. It requires a running XTM One, a registered OpenCTI instance, and users with matching email addresses on both sides. Clients authenticate to the XTM One MCP endpoint using XTM One credentials; do not paste an OpenCTI token into an arbitrary AI service. Official MCP architecture and prerequisites.

MCP supports intelligence searches and knowledge operations; it is not equivalent to the platform administration API. Use a test account with only necessary permissions to list available tools, then perform a read-only search. For write tests, use clearly identifiable teaching objects and check actual changes and audit records. A model's written answer is not success evidence; verify in the platform.

Treat source reports as material to analyze, not as authorization to operate tools. Establish clear human review rules for sending data, changing markings, or deleting content so assistance remains useful and accountability remains clear.

Allow an assistant to read one teaching object

Prerequisites: A separate XTM One Community environment, registered OpenCTI, and a test user with matching email addresses. The client must support the MCP authentication described in official documentation.

  1. First open a fictional report directly in OpenCTI as the test user to verify necessary permissions and visibility.
  2. Configure the XTM One /mcp/opencti endpoint in the client using the MCP documentation and complete XTM One authentication. Do not treat an OpenCTI administrator token as a universal login credential.
  3. After listing tools, request only a search for the report's unique name. Compare the returned ID, source, and actual contents.
  4. Use a teaching object the test user should not be able to read as a negative case. If testing writes, create a separate recognizable fictional object and check each requested action against the platform result.

Expected result: Allowed data is readable, restricted data is not exposed through MCP, and no unexpected writes occur.

Troubleshooting and exit: For permission differences, check email mapping and the identity actually used by the tool. If unauthorized access or unexplained writes appear, disconnect that client, preserve logs, and stop at read-only acceptance testing.

From API usage to a custom connector, follow the same data contract.

The GraphQL schema defines the contract for reads and writes; FilterGroup defines scope; streaming carries subsequent changes. Use small queries to establish fields and permissions before adding filters. Do not guess API arguments from interface labels. GraphQL reference, Filter reference.

Data streaming uses SSE. Integrations should normally consume a specifically authorized stream; the raw /stream requires higher permissions. Distinguish receiving an event from committing it downstream before saving its position. Test creation, update, merge, deletion, and reconnect behavior, rather than merely observing an open connection. Official streaming formats and recovery semantics.

For custom connectors, define source identity, STIX mapping, deduplication, and checkpoints first, then use the official Python library and connector examples. Test empty input, rate limits, partial failure, reruns, and stop/recovery. Converting data into valid JSON is only the first step. Python library, Connector development guide.

To modify the platform itself, establish a separate environment using the official development prerequisites and check frontend, backend, test, and dependency versions. Editing files inside a production container is not a maintainable long-term fix. Official platform development guidance.

From one query to reliable event consumption

Prerequisites: Complete the API basics chapter and obtain the required token capability. Streaming also needs a specifically authorized stream and a controlled downstream system; do not use the raw full /stream endpoint directly.

  1. In local GraphiQL, run the read-only query below for platform information. Confirm data.about is readable and inspect errors; HTTP 200 is not the only success criterion.
  2. Choose a known fictional report and explore its query through the schema. Begin without filters, then add type and unique-label conditions one at a time, recording each returned ID set instead of stacking several conditions immediately.
  3. Connect to the designated stream using the streaming reference and stage events in a test downstream system. Save the event ID only after downstream commit succeeds.
  4. Create, update, and ordinarily delete teaching objects, checking downstream results. Then interrupt and reconnect the stream, verifying that redelivering an event does not duplicate its result.
  5. Test a custom connector with a fixed small sample first, checking valid STIX, source identifiers, and reruns. Connect a production source and scheduling only afterward.
Reader exercise · No additional execution verification recorded here
query SecToolsReadOnlyCheck {
  about { version }
}

Expected result: Queries return the intended set, stream recovery preserves the committed processing range, and reruns do not add duplicate objects.

Troubleshooting and exit: For schema errors, return to the current version's field definitions. Do not solve permission denial with Bypass. On downstream failure, do not advance the checkpoint or retry without limits.

Choose the right development entry point for a reproducible first change.

For a new data source, usually start with the Python library and a connector. Changes to the interface or platform behavior need the platform development environment. Record the problem, pin source and dependency versions, and prepare a minimal test dataset so a colleague can reproduce the result.

GoalOfficial starting pointFirst acceptance check
Linux workstationUbuntu environmentContainers and language toolchains work, and the platform reaches isolated dependencies
Windows workstationWindows environmentFile paths, containers, and build tools work together
Modify the platformPlatform developmentStart frontend and backend, reproduce the problem, and verify the changed behavior
Manage container lifecyclesIntegration Manager developmentTest creation, stopping, and failure recovery in an isolated orchestrator
Explore GraphQLAPI usage and PlaygroundComplete a small read-only query with a low-privilege account

Check tutorial tool versions against the branch you checked out. An old example's Node or Python version is not a permanent requirement. Composer development interacts with a container orchestrator, so limit test management privileges to the lab.

The GraphiQL interface is normally located at /public/graphql under the platform path, while API requests go to /graphql. Include any configured base path. Browser operations also depend on login identity and capabilities. If production disables Playground or introspection, explore the schema in development rather than weakening established production policy for convenience.

Prepare the environment, then reproduce one minimal problem

Prerequisites: A separate source checkout and test dependencies. The version inventory below does not install packages, switch versions, or start the platform.

  1. Choose a development route from the Ubuntu or Windows guide. On Windows, decide whether to work natively or in WSL so paths, packages, and Docker connectivity remain consistent.
  2. Run the version commands below in the chosen shell and compare them with package.json, Python package configuration, and official branch requirements. Install missing tools through the relevant environment guide.
  3. Follow Platform development to configure separate data services and development credentials, then start frontend and backend. Record reproduction steps for one issue and rerun the same case after changing it.
  4. For connector-only development, create a separate Python virtual environment and pin pycti and project requirements. For Composer development, follow its documentation for Rust and an isolated orchestrator without using production privileges.
  5. If Playground is needed, open /public/graphql on this development platform, run the previous section's read-only query, and then add fields according to the schema.
Reader exercise · No additional execution verification recorded here
git --version
node --version
corepack --version
python3 --version
docker compose version

Expected result: A colleague can reproduce the same behavior from the recorded versions and steps, and the test case verifies the before/after difference.

Troubleshooting and exit: Resolve tool-version mismatches in the environment rather than deleting lockfiles and hoping. Do not enable Playground in a production environment that prohibits it for the sake of this exercise.

Turn breaking changes into your own upgrade checklist.

The official index covers changes to search-engine detection, SSO and tokens, Composer compatibility, stream imports, Promote Observable, SAML, and the Filter API. Identify which capabilities your integrations use, then read their migration guides. Record why a change is not applicable, too. Official breaking changes index.

The eight focused guides below cover changes across different generations. Only deployments crossing the relevant versions or still using the old interfaces require the corresponding changes. Read them in the order dictated by your upgrade span.

Official migration guideAcceptance evidence to retain
Elasticsearch 9 supportVerify engine detection, upgrade paths, old-index compatibility, and proxy rules; test queries and writes.
SSO authentication migrationAuthentication settings move into platform management. Verify encryption, relink external secrets, test group mapping, and retain a recovery login.
Python client metric changesCheck metric names and monitoring queries so an empty dashboard after upgrading is not mistaken for a healthy system.
OpenBAS scenario generation APICheck mutation and response changes so custom integrations retrieve the intended scenario and inject placeholders.
Separation of selected connectorsInventory affected integrations such as Tanium, HarfangLab, and Sentinel. Confirm import versus intelligence-stream responsibilities and prevent parallel old/new processing.
Promote to indicator return valueThe return type becomes Indicator. Check the IDs and fields consumed by automation instead of continuing to assume an Observable response.
SAML signature defaultsCheck IdP assertion and response signing settings and test valid and invalid signatures. Permanently disabling verification is not a solution.
FilterGroup migrationFlat filters become recursive groups. Use known samples to verify and/or logic and empty results rather than checking HTTP success alone.

For each affected item, record old behavior, new behavior, an owner, and an acceptance case. Upgrade a restored test environment first and verify login, writes, exports, and integrations. After data migration, an exit plan needs consistent backups; changing an image tag back is insufficient.

Keep reproducible cases for every upgrade

Prerequisites: Consistent backups, a separate restorable test environment, and identified current and target versions. This section does not upgrade or restore production data.

  1. List the version span and mark whether each of the eight guides applies, with reasons. For example, record explicitly if SAML is unused.
  2. Save four baseline groups: login and groups; teaching-object reads/writes; source integrations and exports; monitoring metrics and filter results. Record IDs and queries, not just screenshots.
  3. In the restored isolated environment, upgrade dependencies and the platform in the official order, verify migration completion, and rerun the baseline.
  4. Add targeted cases for relevant changes: verify SSO mappings, inspect the Indicator ID returned by Promote, compare filter result sets, and ensure split streaming connectors do not double-import.
  5. Plan production cutover and exit windows only after baseline and targeted cases pass. Retain backups and old-version deployment information.

Expected result: Every applicable change has an expected result, actual result, and owner. Unfinished items block production cutover.

Troubleshooting and exit: Remain in the test environment while migration errors or result differences are unresolved. After data formats migrate, do not simply switch back to an old tag. Evaluate recovery using consistent backups and a compatible-version restore procedure.

You do not need to become an expert in every component immediately. Recognizing boundaries, locating primary documentation, and testing an assumption with one small case is a reliable start. Continue to SecTools.tw for security tools and practical perspectives and bring these habits into your next project.

Every step is worth recording

Finished this chapter?

Mark it when you are ready. Opening or scrolling through a chapter does not complete it automatically. You can undo your choice.

View my progress

Progress is saved only in this browser. No account or automatic device sync. Clearing site data also removes progress.

KEEP YOUR CURIOSITY ALIVE

Make sense of intelligence.
Keep exploring real security questions.

Explore incidents, perspectives and tools at SecTools.tw, and find your next question worth investigating.

SecTools.tw

Search the handbook