OpenCTI Hands-on Handbook繁中

OpenCTI Ingestion: Feeds, Mappers and Draft Approval

Work with streams, TAXII, RSS, CSV, JSON, forms and files. Use mapping, draft review, enrichment and merging to make imports traceable.

Handbook v1.10.1OpenCTI 7.261124.0About 40 minutes

Turn source material into knowledge you can retrieve and explain.

This chapter has a concrete goal: serve two fictional records from your own computer, then bring them into OpenCTI through files, feeds, forms, and review workspaces. You will learn which URL to enter, how fields map, when a conversion is merely complete, and when data has actually reached the main knowledge base. Every .example domain is a tutorial value, not evidence of malicious activity, and requires no network request to that domain.

These exercises follow official documentation checked on 2026-11-29. Step-by-step instructions do not mean every step has been executed in this project.Actual Docker and feature verification is limited to the items and output in the verification record; external integrations and separately licensed features state their prerequisites. First use Chapter 9 to create a service account with appropriate knowledge-writing, marking, and confidence permissions. The account managing ingestion settings may differ from the one creating data. Do not permanently switch to an administrator just to pass a test.

Success criteria for this chapter

Retrieve login.example or mail.example and check type, value, creator, and source. With draft review, inspect changes in the draft before approval. An existing Observable with the same value may be reused; zero new objects does not necessarily mean failure.

Prepare a small local source: CSV, JSON, and RSS without an external account.

Open a terminal at the project root and create a directory containing only tutorial files. The Python program below uses only the standard library and creates two CSV rows, two JSON records, and one RSS article. Its JSON API also supports a one-record-per-page offset exercise. Save the complete program as lab/fixtures/serve.py. It recreates all three sample files on every startup. If you modified them for another exercise, save a separate copy before restarting. This source server passed 14 local HTTP checks; that does not mean every OpenCTI feed, Docker network path, or scheduled import was verified.

Download serve.py, identical to the code below, the HTTP checker and fixture documentation. From the complete project root, run python3 lab/fixtures/check.py to start a loopback-only test copy in a temporary directory and shut it down automatically afterward. It does not change Compose or existing data.The actual HTTP verification record covers CSV/JSON/RSS, offset pages and error responses, and immediate reading of CSV file changes. Read it separately from the mapper/draft API tests later in this chapter.

Step 1 · Create the fixture directory at the project root
mkdir -p lab/fixtures
Step 2 · lab/fixtures/serve.py
import json
from datetime import datetime, timezone
from email.utils import format_datetime
from http.server import BaseHTTPRequestHandler, HTTPServer
from pathlib import Path
from urllib.parse import parse_qs, urlsplit

ROOT = Path(__file__).resolve().parent
ITEMS = [
    {"id": "lab-domain-1", "domain": "login.example"},
    {"id": "lab-domain-2", "domain": "mail.example"},
]
CSV = "domain,source_note\nlogin.example,SecTools Lab teaching data\nmail.example,SecTools Lab teaching data\n"
RSS = f'''<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel>
<title>SecTools Lab local feed</title>
<link>http://fixture:8090/article.html</link>
<description>Local teaching fixture</description>
<item><title>SecTools Lab RSS exercise</title>
<guid isPermaLink="false">sectools-lab-rss-001</guid>
<link>http://fixture:8090/article.html</link>
<pubDate>{format_datetime(datetime.now(timezone.utc))}</pubDate>
<description>login.example is a teaching value; its role is unknown.</description>
</item></channel></rss>'''
ROOT.joinpath("sample.csv").write_text(CSV, encoding="utf-8")
ROOT.joinpath("sample.json").write_text(json.dumps({"items": ITEMS}), encoding="utf-8")
ROOT.joinpath("sample.xml").write_text(RSS, encoding="utf-8")

class Handler(BaseHTTPRequestHandler):
    def do_GET(self):
        request = urlsplit(self.path)
        if request.path == "/api":
            raw = parse_qs(request.query).get("offset", ["0"])[0]
            try:
                offset = max(0, int(raw))
            except ValueError:
                self.send_error(400, "offset must be an integer")
                return
            body = json.dumps({"items": ITEMS[offset:offset + 1]}).encode()
            mime = "application/json"
        elif request.path == "/article.html":
            body = b"<h1>SecTools Lab</h1><p>Teaching data only. Domain role unknown.</p>"
            mime = "text/html"
        else:
            files = {"/sample.csv": ("sample.csv", "text/csv"),
                     "/sample.json": ("sample.json", "application/json"),
                     "/sample.xml": ("sample.xml", "application/rss+xml")}
            if request.path not in files:
                self.send_error(404)
                return
            filename, mime = files[request.path]
            body = ROOT.joinpath(filename).read_bytes()
        self.send_response(200)
        self.send_header("Content-Type", mime + "; charset=utf-8")
        self.send_header("Content-Length", str(len(body)))
        self.end_headers()
        self.wfile.write(body)

HTTPServer(("0.0.0.0", 8090), Handler).serve_forever()

In lab/compose.yaml, add the following sibling service under the existing services: section; do not create a second services: section. OpenCTI will read the source using the Docker-network service name fixture, while host port 8090 is exposed only on loopback. Startup may download the Python image, but tutorial data is not sent to an external source.

Step 3 · Add and start the Compose service
  fixture:
    image: python:3.12-alpine
    working_dir: /fixtures
    command: python serve.py
    volumes:
      - ./fixtures:/fixtures
    ports:
      - '127.0.0.1:8090:8090'

# 回到 shell 執行;以下不是 YAML 的一部分
cd lab
docker compose up -d fixture
curl --fail http://localhost:8090/sample.csv
curl --fail 'http://localhost:8090/api?offset=1'

Expected: The first request displays a header and two domains; the second returns only mail.example.Troubleshooting: If the container exits, run docker compose logs fixture first to find indentation or syntax problems. If the host can read the source but the feed cannot, check that its URL uses http://fixture:8090/…, not the container's own localhost. Different Compose projects cannot directly use this service name. At the end, stop the feed first, then run docker compose stop fixture.

Create an entry from Available, then use Deployed to locate failures.

  1. Choose the entry point

    Open Integrations → Available, find the built-in RSS, CSV, JSON, TAXII, or Stream card you need, and create the entry from it. For external connectors, first read installation and source-credential requirements. A catalog listing is not a deployed service.

  2. Record the execution identity

    Use a purpose-specific name such as SecTools Lab CSV and a dedicated service account; record its maximum confidence and visible markings. Where Default author is offered, choose the existing SecTools Lab organization. Author identifies the information source; creator identifies the executing account. Do not interchange them.

  3. Verify execution results

    After creation, open the matching entry in Deployed, check whether it is started and whether its last-run time advances, then inspect work, messages, and resulting objects. “Deployed” alone is not data verification.

If creation controls are missing, check ingestion-management capabilities. If a connector exists but data does not, trace source requests, queue, Worker, and write errors. Do not start with Reset connector state: it resets state and clears that connector's RabbitMQ queue, requires Manage connector state, and may restart backfill from the beginning.Official ingestion entry points, Connector and reset behavior.

Streams: verify readability first, then use a second platform for synchronization.

Prerequisites: On the source, follow Chapter 17's native-sharing exercise to create a restricted Live stream filtered to tutorial labels. The reader needs Access data sharing and explicit access. Full synchronization requires another disposable destination platform. With only one local instance, you can verify the source and select a stream, but do not start synchronization back into the source itself.

  1. Enter the source platform and token

    On the destination, create Live Streams from Available. Remote OpenCTI URL is the source root URL, without /dashboard, a stream path, or a GraphQL path. A same-Docker-network connection check may use http://opencti:8080; across projects, use a genuinely reachable source address. Enter the source reader account's token as Remote OpenCTI token.

  2. Verify, then select the restricted stream

    After verification, select SecTools Lab stream. If the list is empty, check source sharing scope and capabilities with the same account rather than making it public. Assign the destination owner account and set Starting synchronization to the day before the tutorial data was created.

  3. Initially disable destructive synchronization options

    Do not enable Take deletions into account or Use perfect synchronization on the first run. Enable Avoid dependencies resolution when checking only primary objects. Keep certificate verification for production HTTPS sources. Record the options and save; start only on a second destination platform.

  4. Verify creation and update separately

    Create fictional source data matching the filter and retrieve the same value on the destination. Then change only the source description, wait for processing, and compare the destination field. Test accepted deletions separately with disposable objects, after confirming no other source owns them.

Troubleshooting: If data arrives but Processing status is unclear, inspect source/destination status identifiers and Entity status sync. Dependency resolution affects counts, so totals need not match exactly. Overwrites, deletions, and cross-platform updates require your own two-instance tests; a single Verify does not cover them.Official Streams fields and synchronization semantics

TAXII: pull your own collection, then push one STIX object.

Pull: start with a restricted local collection, avoiding fees and external accounts

Prerequisites: Following Chapter 17, create SecTools Lab TAXII containing only tutorial objects. Retain its collection ID and an authorized reader token. Reading identical identifiers back into the same platform checks connection, conversion, and deduplication, not cross-platform synchronization or new-object growth.

  1. Create a TAXII Feed from Available. Set API root to http://opencti:8080/taxii2/root and Collection ID to the collection's ID, not its name or full collections URL.
  2. Choose Bearer token authentication and enter a token authorized for this collection. Set Import from date to the day before sample creation and assign a service account.
  3. Complete interface verification, save, and start. In Deployed, inspect request and processing results. Find the original sample and compare value and source instead of assuming the total must increase.
  4. Stop this read-back feed after verification. For a real external platform, use its API root, collection ID, and credentials, then test multiple pages.

For 401/403, check token and collection eligibility; for 404, API root; for empty results, dates, collection filters, and reader permissions. This small-collection exercise does not cover TAXII pagination; larger sources need a separate next-page test.Official TAXII Feed settings

Push: create a receiver, POST objects, then inspect completion status

  1. Create TAXII Push in Available, set Name to SecTools Lab push, and select the service account that creates data. Set Accessible for to only this sender account, which also needs Access data sharing.
  2. Do not initially enable copying confidence to Indicator score. Save and start, then obtain the ingester ID from the last segment of its page URL.
  3. First search to confirm that SecTools Lab TAXII Push Malware does not exist, then save the following as push.json. If it was used before, record its existing ID and description and treat this as a resend test, not a first creation. A fixed ID supports resending the same object. When changing content, also update modified while retaining the ID.
push.json · tutorial STIX, not real malware intelligence
{"objects":[{
  "type":"malware", "spec_version":"2.1",
  "id":"malware--d49d0b35-301a-42d3-85b1-4203c3eeac5f",
  "created":"2026-11-27T00:00:00.000Z",
  "modified":"2026-11-27T00:00:00.000Z",
  "name":"SecTools Lab TAXII Push Malware", "is_family":true,
  "description":"SecTools Lab TAXII exercise; fictional."
}]}

The Python script below reads the token without echoing it and sends requests only to the local lab. Change BASE if you changed the host port. Here 18080 is this project's Compose host port; the internal container port remains 8080. Save it as push.py alongside push.json, then run python3 push.py.

Push and bounded status polling · example, not recorded output
import getpass, json, time, urllib.error, urllib.request
BASE = "http://localhost:18080"
ingester = input("TAXII Push ingester ID: ").strip()
token = getpass.getpass("Sender token: ")
headers = {"Authorization": "Bearer " + token,
           "Content-Type": "application/taxii+json;version=2.1"}
status_id = input("Existing status ID (leave empty to POST once): ").strip()
try:
    if not status_id:
        with open("push.json", "rb") as source:
            request = urllib.request.Request(
                BASE + "/taxii2/root/collections/" + ingester + "/objects/",
                data=source.read(), headers=headers, method="POST")
        with urllib.request.urlopen(request, timeout=30) as response:
            status = json.load(response)
        print(json.dumps(status, indent=2))
        status_id = status.get("id")
    if not status_id:
        raise ValueError("No status ID returned")
    for attempt in range(10):
        request = urllib.request.Request(
            BASE + "/taxii2/root/status/" + status_id + "/", headers=headers)
        with urllib.request.urlopen(request, timeout=30) as response:
            status = json.load(response)
        print(json.dumps(status, indent=2))
        if status.get("status") != "pending":
            break
        time.sleep(2)
    else:
        print("Still pending. Run again with existing status ID:", status_id)
except urllib.error.HTTPError as error:
    print("HTTP error:", error.code)
except (urllib.error.URLError, TimeoutError, ValueError) as error:
    print("Request or JSON error:", type(error).__name__)

Expected: Obtain a status ID first; the program checks at most ten times. Once complete, inspect success/failure counts, then retrieve the ID and this run's description of SecTools Lab TAXII Push Malware. Finding a matching name alone is not success. If still pending, rerun with the existing status ID to poll without repeating POST.Troubleshooting: A stopped receiver, incorrect Accessible for, wrong Content-Type, or sending a bundle wrapper as the request body fail at different layers. Diagnose using HTTP responses and status results separately.Official TAXII Push and status queries

RSS: collect a local article as a traceable report.

Prerequisites: The fixture service is working; sample.xml has a pubDate generated when the program first starts. SecTools Lab already exists as an author, and the importer can create Reports.

  1. Create an RSS Feed entry in Available with the name SecTools Lab RSS and RSS Feed URL http://fixture:8090/sample.xml.
  2. Set Import from date to the day before fixture startup and Default author to SecTools Lab. Choose an existing report-type vocabulary value appropriate for the exercise. Use practice markings visible to both accounts; do not arbitrarily apply highly sensitive markings without an organizational requirement.
  3. Assign the responsible account, save, and start. In Reports, search for SecTools Lab RSS exercise and compare publication time, author, and original link.
  4. Open the report and confirm that the domain's purpose remains unknown. The presence of login.example in RSS does not justify creating a C2 relationship. Record the object ID and use it to inspect reuse when the same article is fetched again.

Troubleshooting: If no report appears, check date filters and source HTTP. If the original article cannot open, the fixture name is reachable only inside Docker. The host browser can use http://localhost:8090/article.html to view the same tutorial article. This is a local-fixture addressing choice; production RSS should contain source links reachable by recipients.Official RSS Feed fields

CSV: map column A correctly before choosing upload or scheduled fetch.

Prerequisites: Obtain lab/fixtures/sample.csv. Mapper administrators need Manage data mappers; users also need import and knowledge-writing capabilities. This exercise deliberately does not treat the second column as an author: source_note is descriptive text, not an organization identifier.

  1. Create the smallest useful mapper

    Open Data → Processing → CSV Mappers and click Add. Set Name to SecTools Lab|CSV 網域, Separator to Comma, and enable the header row. Leave other escaping settings at their interface defaults.

  2. Add one representation

    Add and expand a representation, choose Domain name, map value to A, and map observable description to B. This stores source_note as the domain description. Do not add an author or relationship yet, avoiding interpretation of free text as an organization.

  3. Use Test to inspect the raw result

    Select sample.csv and run Test. Expected STIX contains two type: domain-name objects with values login.example and mail.example, with no third object valued domain. A third object usually means header handling was not enabled.

  4. Save a valid mapper, then perform the import

    Confirm the list shows a valid mapper. Use global import with CSV, this mapper, and Draft validation. After processing, review the draft as described below. Test proves conversion only, not full field validation or a committed write.

UI verified: saved configuration and reopened it.

On 2026-11-29, SecTools Lab|CSV 網域 (CSV domains) was created in the CE interface, saved, reopened through Update, and its Domain name representation expanded to confirm that A/B mappings persisted. This screenshot proves configuration persistence. Browser file selection and Test were not completed; conversion and draft evidence comes from the separate API tests below.

OpenCTI CSV Mapper editing screen: Domain name observable description maps to column B and value to column A.Enlarge image
CSV mappings reopened after savingDomain value uses A, description uses B, and author remains empty. The screenshot is scrolled below header and comma settings; configure those using the earlier steps.Actual local screenshot · OpenCTI 7.261124.0 · 2026-11-29

For advanced exercises, duplicate the mapper before editing. An author needs a separate Organization representation referenced from the primary object. When multiple types share columns, use a discriminator with Equal/Not equal for dynamic mapping. Start with ISO 8601 dates and distinguish within-cell value separators from CSV column separators. Keep test files within 100 rows and 1 MB.Official CSV Mapper, references, and test limits

Use the same mapper in a scheduled CSV Feed

  1. Create a CSV Feed in Available with CSV URL http://fixture:8090/sample.csv, select the mapper, and choose None authentication.
  2. Start with a 1-hour Scheduling interval and an existing service account. Automatically create a service account first requires an ingestion-user default group in Settings → Policies, then a confidence level for the new account.
  3. Click Verify; expect two domains. Save and select Start from the menu. Inspect ImportCSV and the feed in Deployed, then retrieve the actual objects.
  4. Add a row to sample.csv: files.example,SecTools Lab teaching data. Wait for the next scheduled run and look for the third value. This verifies that source updates are actually fetched.

Troubleshooting: If Verify returns values but no main objects exist, inspect Validation mode, drafts, Worker, and write permissions. If the source changes column order, A/B mappings do not automatically follow names. Verify shows a limited sample and cannot prove that an entire large file succeeds.Official CSV Feed and Verify behavior

API verification: two CSV records enter a draft, then the main area after approval.

On 2026-11-29, Docker CE 7.261124.0 completed this path: inspect live schema, create CSV/JSON mappers, call each multipart Test API, upload CSV, and explicitly create a draft through createDraftAndAskJobImport. Both domain values and descriptions were correct in the draft and absent from the main area. After draftWorkspaceValidate and work completion, both values and descriptions were retrieved from the main area. This is an API and background-processing test, not a complete UI workflow test.

Download the complete verification script and raw verification output. The script generates randomly suffixed .example domains and mappers to avoid false success from reused core examples. Drafts, files, and objects remain for inspection; it performs no deletion. Its JSON check covers creation and conversion of two records only. Actual HTTP fetching and pagination are covered by the feed tests in this chapter. This run used the existing lab account and did not establish minimum service-account permissions.

Rerun from the project root · uses the Worker's environment without printing tokens
docker --context colima-opencti-tutorial compose -f lab/compose.yaml \
  exec -T worker python < lab/mapper-check.py

The context above is this lab's name. If your lab uses the current default Docker context, omit --context colima-opencti-tutorial. The script uses OPENCTI_URL and OPENCTI_TOKEN already configured in the Worker; no token needs to be pasted into the command line.

Actual output excerpt · run ece7e6e59586, 2026-11-29 11:09 UTC
PASS live introspection: OpenCTI 7.261124.0; mapper/Draft mutations and Domain-Name attributes available
PASS CSV conversion: header skipped; two Domain-Name values; column B descriptions retained
PASS JSON conversion: $.items[*], identifier $.id, relative $.domain/$.note; two correct objects
PASS conversion-only checks did not create any test observables in main
PASS CSV uploaded; requested explicit createDraftAndAskJobImport
PASS draft isolation: both exact values/descriptions in draft; neither visible in main
PASS approved draft: validation work complete without errors; status validated
PASS main read-back: two exact Domain-Name values and descriptions; JSON test objects remain absent
OpenCTI draft details show Complete, two of two items processed with zero errors, and two tutorial CSV domains on the Observables tab.Enlarge image
Read the same draft in the UI after the API experimentThe screen shows Complete, 2/2, 0 errors, and two tutorial Domain name objects. Evidence that the main area was isolated before approval and that values/descriptions matched afterward comes from mapper.txt. This screenshot alone proves neither before/after isolation nor that approval was clicked in the UI.Actual local screenshot · OpenCTI 7.261124.0 · 2026-11-29

IDs, timestamps, and domains differ between runs by design. On FAIL, retain the last successful stage and current run ID, then inspect the corresponding mapper, draft, or work. A previous successful run does not cancel a failure in this run.

JSON: map two records, then prove pagination reaches the next page.

Prerequisites: The fixture provides sample.json, containing {"items":[{"id":"lab-domain-1","domain":"login.example"},{"id":"lab-domain-2","domain":"mail.example"}]}. JSON Mapper also requires Manage data mappers. Give each source structure its own mapper.

  1. Open Data → Processing → JSON Mappers and create SecTools Lab domains JSON, then add a Domain-Name representation.
  2. Set Entity path mapping to $.items[*]; use $.id for each selected element's identifier mapping to obtain identifiers such as lab-domain-1, and set the Value path to $.domain. These paths are relative to the element selected by the representation. If your version labels paths differently, inspect Test output rather than blindly adding another items prefix.
  3. Test sample.json and confirm that each of the two values appears once. The identifier is a tree-mapping key; do not give every row the same fixed identifier.
  4. Create a JSON Feed in Available with HTTP JSON URL http://fixture:8090/sample.json, HTTP Verb GET, Authentication None, and this mapper. Choose a longer offered schedule, such as 1 hour.
  5. Verify should show two mapped objects. Save and start, inspect the main objects or review area, then stop this nonpaginated feed before the next exercise.

For empty Test output, check entity path first. If elements exist but Value is empty, check paths within each element. The mapper supports JSONPath-Plus. Successful Test output still does not prove compliance with your platform's customized required fields.Official JSON Mapper and identifiers

Count/Sum pagination: recognize this version's persistence issue first

Observed warning for 7.261124.0

The fields below follow the documented mechanism, but the local API saved default_value = 0 and read it back as false, causing scheduled HTTP 400 responses. Correct next-page calculation in Verify did not prove successful execution. First read the failure evidence and working next-URL alternative below. Do not treat these settings as a verified ingestion configuration.

Duplicate the feed and change its URL to http://fixture:8090/api?offset=$offset. Add the following Query attributes configuration; do not put braces around $offset.

FieldExercise valuePurpose
Resolve fromDataCalculate from the JSON body
Exposed attribute toQuery parameterCarry into the next URL
Resolve operationCountCount items
State operationSumAccumulate records read
Get from path$.itemsSelect the current page array
To attribute nameoffsetMatch the URL variable
Default value0Start at the first record

When verifying page one, expect only login.example in objects and offset 1 in the calculated next state. If your version saves the value correctly, start and use docker compose logs fixture to confirm requests for offset=0 and offset=1, then find mail.example. An empty array at offset=2 means the fixture is exhausted. This example is append-only and does not revisit older rows for changes. Stop after verification instead of polling empty pages. If requests stay at 0, inspect state updates; for HTTP 400, check whether a variable was sent literally.Official JSON Feed variables, pagination, and Verify

Actual HTTP ingestion in Docker: CSV, JSON, and RSS into the platform; TAXII through completion.

On 2026-11-29, we added a source service visible only on the Compose network to the same CE 7.261124.0 lab. The platform itself made HTTP requests, followed by scheduling, queue, and Worker processing. This went beyond mapper JSON output: both CSV domains and both JSON domains were retrieved from the main area with correct values and descriptions. An RSS report's title, publication time, author, type, and original link were also checked. Operations used API and HTTP, not an end-to-end UI test.

Repeat the test: start the source, then run the verifier

Complete Chapter 2's lab first, confirm platform and Worker health, and ensure the SecTools Lab organization exists. Keep the repository-relative paths and obtain the source-service override, HTTP source program and complete feed verifier. This is a separate verification fixture named feed-fixture, distinct from the earlier manual fixture/serve.py fixture. Do not mix their URLs.

Run from the project root · reuses the existing Worker image and credentials
docker --context colima-opencti-tutorial compose \
  -f lab/compose.yaml -f lab/compose.feeds.yaml \
  up -d --no-deps feed-fixture

docker --context colima-opencti-tutorial compose -f lab/compose.yaml \
  exec -T worker python < lab/feed-check.py

docker --context colima-opencti-tutorial compose \
  -f lab/compose.yaml -f lab/compose.feeds.yaml stop feed-fixture
  1. Record the first RUN line. Every run uses a new 12-character identifier. The source serves only .example domains and fictional reports carrying that identifier, with no real intelligence-service connection and no host-published port.
  2. The program first verifies HTTP 404 for an invalid URL, then two valid CSV records and the first JSON record, before creating and starting three feeds. Verify success is only an intermediate result; wait for the actual ingestion checks afterward.
  3. Wait for all four CSV/JSON domains and the RSS report to read back successfully, then inspect each feed's last_execution_status. The program also checks JSON source-request logs to prove that page two did not come from a leftover object from an earlier run.
  4. It then tests TAXII Push, private TAXII/CSV sharing, and Stream connection. Finally, it stops each ingestion created by this run and retains objects and sharing definitions for UI inspection without deleting existing knowledge. If interrupted, find and stop your feeds by RUN before considering a rerun.
  5. For the complete outcome, inspect FAILURES and the exit code. Independent cases continue after another case fails; a PASS on the final case does not mean the entire run passed.

An observed version issue: Verify succeeds, but scheduling sends offset=false

The first run 3327e1c92577 used Query attribute Count/Sum with the default string 0. Verify correctly calculated next offset = 1, but the saved default_value read back as the string false. Scheduled requests used offset=false and received HTTP 400. CSV and RSS were ingested, but JSON was not; the overall HTTP case truthfully recorded a timeout failure. We neither modified platform code nor changed the source to accept the invalid value and hide the problem.

The second run e931943e04ed rechecked the saved value and 400, stopped that JSON Feed, and switched to Sub pagination using a complete next-page URL supplied by the source. This is an observation for this version and API configuration, not a claim about every UI creation path or other versions.

A reproducible alternative: follow next URLs until an empty page

Use the script's JSON mapper or configure representation = Domain-Name and entity path = $.items[*], identifier = $.id, value = $.domain, description = $.note. Edit the JSON Feed while stopped and replace RUN in the table with this run's identifier. These fields passed API persistence and scheduled-execution tests; match interface labels to your version.

SettingValue and verification
URI/HTTP Verb/Authenticationhttp://feed-fixture:8090/json?run=RUN&offset=0; GET; None
Query attributesClear the previous offset variables; the next URL now carries pagination.
Sub paginationEnable it; next-page path $.next; next-page method GET. The API fields are pagination_with_sub_page, pagination_with_sub_page_attribute_path, pagination_with_sub_page_query_verb.
Source termination conditionOffsets 0 and 1 each return one record; offset 2 returns {"items":[],"next":null}.
Ingestion verificationSearch for json-feed-1-RUN.example and json-feed-2-RUN.example, check each description and ID, and stop after completion.

The observed request sequence included Verify's 0, failed false, and corrected 0 → 1 → 2. After completion, connector state was {}. What succeeded was one paginated run following next URLs, not persistence of an offset cursor across scheduled runs. The next run may restart at page one. Sources requiring incremental continuation need a separately verified persistence strategy.Official JSON Feed Query attributes and Sub pagination explain the mechanism; the concrete configuration and outcome here are supported by the local evidence.

Actual output excerpt · second HTTP test run
OBSERVED JSON default changed after persistence: {"submitted": "0", "stored": "false"}
PASS CSV/JSON ingestion: four unique Domain-Name values and descriptions read back from main
PASS RSS ingestion: unique report, publication date, author, report type and original URL read back
PASS JSON HTTP request offsets: ["0", "false", "0", "1", "2"]; offset=2 returned an empty items array
PASS JSON sub-pagination exhausted next links; connector state={} (no offset cursor claimed)
FAILURES []
JSON Feed Works tab: the feed is stopped, the work is Complete, two operations completed, and zero errors.Enlarge image
JSON work completion inspected in the UI after API executionWorks for run e931943e04ed shows Complete, 2/2, 0 errors, and Stopped. Object values, descriptions, and source requests are verified separately in feed.txt. The screenshot does not mean the feed was configured through the UI.Actual local screenshot · OpenCTI 7.261124.0 · 2026-11-29
Logs for the same JSON Feed show the earlier HTTP 400 and later success with itemCount 2 after its settings changed.Enlarge image
Keep the failure, then inspect success after correction19:37:35 shows HTTP 400; 19:38:05 shows success with itemCount = 2. The interface uses local UTC+8 and the raw log uses UTC. They describe the same events; the failure was not erased.Actual local screenshot · OpenCTI 7.261124.0 · 2026-11-29

TAXII and Stream: record exactly how far verification reached

TAXII Push returned 404 while stopped. After activation, anonymous requests returned 401 and incorrect Content-Type returned 400. An authorized STIX envelope returned 200/pending. Status polling then confirmed complete, one success, and zero failures. Retrieving the unique RUN-tagged Malware name and description established ingestion. TAXII Pull read two CSV domains from a restricted local collection; logs confirmed at least two retrieved records and object IDs remained unchanged. This verifies same-platform resend and reuse, not cross-product interoperability.

The restricted Stream appeared in discovery and its connection test returned Connection success. No synchronizer was created or started, and the platform was not synchronized into itself. Cross-platform events, deletion propagation, and reconnection remain for a second-platform test. TAXII/CSV sharing and anonymous-denial evidence continues in Chapter 17.

Download the complete raw output to see the first failure, corrected second run, and additional CSV-sharing checks together. These used the existing lab administrator and do not cover a minimum-permission matrix, cross-organization marking isolation, external TLS/proxy/rate limits, RSS full-text extraction, automatic recovery after source outages, or EE features.

Advanced feed settings: measure the delay before choosing a parameter.

  1. In Deployed, record start time, completion time, pending volume, and last success. If status is buffering, check Worker logs and whether the previous batch cleared.
  2. Inspect the Compose ingestion-manager settings. Its default check interval is 30 seconds, which does not mean each feed fetches every 30 seconds. RSS/CSV have minimum intervals, and scheduling also depends on previous processing progress.
  3. Change one feed's period only after confirming scheduling is the bottleneck. If the source is rate-limiting, slow down instead of speeding up.
  4. To restrict configurable source URIs, have the administrator configure APP__URI_DENY_LIST according to organizational rules and test one allowed and one denied URL. Do not blindly block all private networks: that would also block this chapter's fixture.
  5. Restart affected platform services, compare timings and work results for the same two records, and retain original settings for restoration.

A configuration card for an isolated environment

Place these fields inside the existing opencti.environment section without adding another environment block. Change one setting at a time, apply it with docker compose up -d opencti, and repeat the same sample. These values retain the normal check interval and demonstrate only a TAXII request limit and precise rejection of one tutorial host.

Compose environment fragment · record whether settings are retained or restored after testing
      INGESTION_MANAGER__INTERVAL: 30000
      INGESTION_MANAGER__TAXII_FEED__LIMIT_PER_REQUEST: 500
      INGESTION_MANAGER__RSS_FEED__MIN_INTERVAL_MINUTES: 5
      INGESTION_MANAGER__CSV_FEED__MIN_INTERVAL_MINUTES: 5
      APP__URI_DENY_LIST: '["blocked-source.example"]'

Interval uses milliseconds; RSS/CSV minimum intervals use minutes. TAXII limit 0 means no such limit. Set INGESTION_MANAGER__RSS_FEED__USER_AGENT only when the RSS provider requires an accepted User-Agent, checking its rules; the local fixture needs none. JSON has no identically named dedicated minimum-interval parameter; adjust feed scheduling and manager settings instead. Configuration for blocked-source.example should be rejected while fixture URLs remain configurable. This checks configuration policy, not complete network isolation.

Expected: You can identify whether delay arises in scheduling, fetching, or writing.Troubleshooting: If a schedule change does not run immediately, check minimum intervals and buffering. If a URL is rejected, inspect URI policy rather than disabling all protections to avoid fixing one rule.Official advanced feed parameters and scheduling conditions

File import: choose the parser and destination before submitting.

  1. Global import suits a new batch. To attach results to an existing report, first open the Data tab of SecTools Lab — 釣魚事件建模練習. An attachment in Content has not necessarily been parsed into objects.
  2. For lab/sample-bundle.json, choose the deployed ImportFileStix; for sample.csv, choose the earlier CSV mapper. MISP JSON, YARA, and documents require ImportFileMISP, ImportFileYARA, and ImportDocument respectively. A shared JSON extension does not make parsers interchangeable.
  3. Explicitly select Draft validation in this import dialog, check account, markings, and mapper/connector, then submit. Upload knowledge files without Import knowledge allows upload but not necessarily configuration and triggering of parsing.
  4. Track work or file status, then inspect Draft. CSV upload does not guess a mapper automatically; Launch an import may be needed.

Expected: The file, parsing work, and destination draft can be matched.Troubleshooting: If no parser is available, check connector scope, status, and permissions. If processing completes without a draft, determine whether it wrote directly or made no changes. For actual STIX upload and work polling, follow the verification record and script.Official file import and permission differences

Draft and Workbench: practice the difference before and after approval.

Draft exercise

  1. First ensure the sample actually creates or updates data; unchanged reimports may produce no visible change. Start by setting the CSV third row to draft-lab.example and confirming it does not already exist.
  2. Explicitly choose Draft in the file-import flow. Find draft-lab.example inside the resulting draft, then return to the main knowledge base and confirm it is still absent.
  3. In draft Review, inspect additions, updates, deletions, and related changes. This exercise should contain only the expected new object. Stop approval if deletions or unrelated changes appear and investigate the source.
  4. Wait for draft work to finish, then Approve with an authorized account. Approval starts writing; after work completes, retrieve the new domain in the main knowledge base and compare type and value.

If approval is blocked, check Draft workflow, markings, and main-area permissions. Approval also involves deletion-capability requirements, so draft visibility alone does not imply publishing rights. Drafts lack some main-area features, including merge, playbook, and inference; missing buttons are not corruption. Basic drafts do not require EE; granular draft capabilities and advanced workflow controls do.Official Draft workspace behavior

Workbench exercise

  1. First inspect the parser's CONNECTOR_VALIDATE_BEFORE_IMPORT. When launching an import for an uploaded file and selecting Workbench, a parser not requiring validation may still write directly. This lab's STIX Connector does not require validation by default; do not assume it will hold data in Workbench.
  2. For this exercise, enable the relevant connector's validation setting in an isolated environment and redeploy. For CSV, also inspect its built-in connector settings. Upload a fresh sample and choose Workbench.
  3. Open the pending Workbench and inspect objects, sources, and relationships. Choose Convert to draft if you need the full platform interface for review, then follow the earlier Review procedure. If you Validate directly, compare the main-area results afterward.

Expected: You can identify whether data is in Workbench, Draft, or the main area.Troubleshooting: If Workbench was selected but data was written, check the actual operation path and parser settings. Changing only the platform's default Validation mode does not make every entry point behave identically.Official Analyst Workbench and validation settings

Form Intake: build a report form colleagues can submit for review.

Prerequisites: Designers need Manage ingestion. Submitters need Create / Update knowledge or Create knowledge via Form Intake. A form-only creator reuses existing objects rather than updating them through the form. Have the administrator prepare the SecTools Lab author and practice label first.

  1. Find Form intake in navigation and choose Create. The official page still describes Ingestion → Form intake. If your newer navigation groups these under Integrations, find the corresponding Form intake entry or card there, following your version's interface. Do not substitute CSV/JSON Feed. Set Name to SecTools Lab 來源初審, Description to “Collect source summaries without assuming malicious purpose,” and leave Active enabled.
  2. Choose Report as the main object and add Name, Published, and Description. Use labels such as “Report title,” “Source publication time,” and “Known, unknown, and next steps.” Require title and publication time. Select the existing SecTools Lab author rather than letting submitters invent source organizations.
  3. Enable Create as draft by default and initially disallow skipping draft review. Use a draft-name default such as “SecTools Lab pending review” and assign an existing reviewer.
  4. Save, open as the submitter, and enter title SecTools Lab 表單演練, the exercise time as Published, and description “Received the string login.example; purpose unknown; next step: check the original record.” Submit and retrieve this Report in the draft.
  5. Try again without a title; required-field validation should block submission. For duplicate name/publication-time testing, record the original ID and check reuse or update against submitter permissions instead of treating repeated submission as fresh evidence.

Only after the first version works, add Domain-Name as an extra object. Single handles one value, Multiple several, Parsed extracts text, and Lookup finds existing objects. For relationships, explicitly choose source, target, type, and required options; drawing fields alone does not create relationships. Multiple sources and targets may produce multiple pairings, so test two samples first. A draft report containing a domain does not establish C2 activity.Troubleshooting: Successful submission only means processing has begun. For missing data, check the destination draft and work errors. Exported form JSON stores the definition, not submitted responses.Official Form Intake fields, modes, and permissions

Docker verification: form data stays in a draft until approval.

Using OpenCTI Community Edition 7.261124.0, this run exercised the complete flow below through the API. intake-check.py generates unique names for each run. The complete verification record retains early diagnostic failures and later corrections. Interpret the final full run 9fd7c58e1ca7 as the completed result. It accepts only this isolated lab's internal address and uses the Worker's existing credentials without printing tokens. It deactivates its own form afterward and retains tutorial objects for read-back. A final read-only cleanup check confirmed all four forms, including early failed runs, were inactive; that result is appended to the same record.

Rerun inside the complete project · creates unique fictional data and merges two Malware objects created by this run
cd lab
docker compose exec -T worker python < intake-check.py

Prerequisites: Confirm lab and Worker health and capabilities for form management, knowledge creation, draft approval, and knowledge merging. This integrated script uses existing lab administrator credentials to verify functionality; it does not show that a form-only account can perform every step. For separate-account submission, existing-object protection, and denied review, see the minimum-permission tests.

  1. Create a Report form with the run identifier in its name and only Name, Published, and Description fields. Require Name and Published. Enable draft-by-default and disable skipping draft. This API run explicitly sends isDraft: true. It did not separately request skipping draft as a negative case, so it verifies the draft path, not every enforcement detail of the no-skip setting. No author, assignee, extra-object, or relationship fields were added, so those advanced settings are not claimed as tested.
  2. Submit data without Name first. The program requires an explicit required-name error, then queries this run's Reports and Drafts to confirm their lists are unchanged. A timeout, authorization error, or GraphQL syntax error does not count as passing this negative case.
  3. Submit a unique report name, a whole-second Published timestamp, and a fictional description stating that purpose is unknown and original records need checking. The returned success: true means work was submitted; at this point entityId refers to the Draft, not the final Report ID.
  4. Wait for the Draft's processingCount to reach 0 and for exactly one Report to be present. Read back and compare name and description exactly, then search the main knowledge base for the same report name: it must be absent before approval. This Form draft's works was empty, so the CSV-import requirement for draft works to be complete was not applied.
  5. After confirming that only the expected new object is present, request approval. In the interface, this corresponds to reading Review before Approve. The API returns a validation Work; wait until complete with no errors. The Draft must also become validated.
  6. Search the main area and verify the report name, description, Published, and STIX standard_id. The draft and main-area internal IDs did differ in this run. Use the same STIX ID and content to compare across areas. A missing draft-internal ID in the main area does not by itself mean approval lost data.
Actual output excerpt · 9fd7c58e1ca7
PASS missing Report name rejected explicitly; matching main Reports and Drafts unchanged
PASS draft isolation: exact Report name/description present in draft; main search empty
PASS approval: work complete without errors; draft validated; same STIX standard_id and exact fields in main
The main OpenCTI Report includes 9fd7c58e1ca7 in its name and a fictional-source exercise description. Publication Date shows November 29, 2026, 7:56:54 PM; Processing Status is new.Enlarge image
Read back the same run's report in the main knowledge base after approvalThe displayed name, description, and publication time match the final API run 9fd7c58e1ca7. Local UTC+8 time 19:56:54 equals 11:56:54 UTC in the record. The right-hand new is the Report's own processing status, not evidence that its draft is unapproved. Draft approval was verified through the validation Work and read-back of validated. This screenshot proves the approved result can be viewed in the UI, not that form submission and approval buttons were tested through the UI.Actual local screenshot · OpenCTI 7.261124.0 · 2026-11-29

Troubleshooting and exit conditions: For an initially empty draft, wait for asynchronous processing and inspect work/Worker rather than repeatedly submitting more items. This script waits up to 150 seconds per stage. If data differs, unrelated changes appear, or validation Work has errors, retain the current IDs and investigate. Do not approve other drafts to make up a count. Early diagnostics timed out by incorrectly applying the CSV works criterion and falsely failed by requiring matching internal IDs across draft and main areas. Those attempts remain in the record; the final test did not ignore errors.

This is an API test. The interface steps above are corresponding instructions, not a claim that every button was automatically clicked. Field formats were checked against the pinned version's official Form types and form-submission implementation. Recheck schema after upgrading. Draft review and approval rules should also inform role design.

Ingestion health: practice a recoverable source outage.

  1. Let the local CSV or RSS Feed complete once. Record last success and sample IDs, retaining healthy source-request logs.
  2. Run docker compose stop fixture, wait for the next feed schedule, open health checks in Deployed, and record the actual error. If the status has not changed, confirm a scheduled run actually occurred instead of merely waiting for the health display.
  3. Run docker compose start fixture to restore the source and wait for successful requests. Recheck source and processing results and record recovery time. This exercise changes no credentials and deletes no platform data.
  4. For other errors, follow the failing check: deactivated accounts or missing capabilities go to account settings; feed URLs/credentials to feed editing; self-managed connectors to Compose configuration and logs.

Acceptance: Healthy, interrupted, and recovered phases have comparable times and results. Critical indicates a blocking issue; Degraded may indicate a warning or configuration issue. No status may mean not yet assessed or stopped. If a connector fails to report a source problem, a healthy heartbeat still does not prove new data. Inspect both health and actual objects.Official health assessment and update timing

Data processing: use reimports to understand deduplication and updates.

  1. After the first CSV import, record login.example's platform ID, value, creator, and update time.
  2. Reimport without changing content. The object should remain retrievable under the same identity. Do not treat each import as a new intelligence source; record actual created, updated, skipped, and failed counts.
  3. For the next sample, add only processing-lab.example. Test, then import, and verify reuse of existing values and retrieval of the new value.
  4. If a field does not update, inspect the importing account's maximum confidence, existing data confidence, and writing permissions. Do not delete the original object to bypass an update restriction.

Troubleshooting: Two source rows without two new objects may be normal deduplication. Two converted records with only one visible object require checking review areas, markings, and errors. Entities, observables, and relationships have different identity rules; relationships also involve direction, type, and time. Names alone are insufficient. Retain four sets of counts: source, conversion, writing, and skipped/failed.Official Data processing

Minimum-permission tests: submitting a form does not grant arbitrary editing.

The earlier section established the flow with an administrator; this section reduces capabilities to make authorization boundaries testable. Use form-access-check.py in the same CE lab to create a separate role, group, test account, and Malware form. Full results are in the form minimum-permission record, with run identifier 6978909b5b5b. Every Malware object is fictional and includes the run identifier in its name. No real malware intelligence was tested or modified.

Repeat the isolated permission exercise · the new password stays only in memory
cd lab
docker compose exec -T worker python < form-access-check.py

Prerequisites: The existing administrator prepares roles and forms; the tester submits through its own login session. User creation disables automatic default-group membership. The group is neither automatically assigned nor automatically granted new markings. This run uses unmarked samples only, keeping TLP, organization segregation, EE-specific draft capabilities, and new-label creation outside the test.

  1. Initially grant only the knowledge-reading capability KNOWLEDGE. After login, query me to confirm that capabilities and groups exactly match the design. A valid form submission at this stage must return FORBIDDEN_ACCESS, with no new form Work and no corresponding Malware. An incorrect password or syntax error is not a successful authorization negative test.
  2. Add only KNOWLEDGE_KNFORMINTAKE to this new role: Create knowledge via Form Intake. Wait until the same session reads back exactly these two capabilities. Do not additionally grant Create / Update knowledge, Import knowledge, Manage ingestion, or Bypass.
  3. Enter a new fictional Malware name, description, and is_family: false, submitting to the main knowledge base. Read the new Work from this form's own built-in connector, wait until it is complete without errors, then retrieve the name and description. This proves that the form-specific capability lets the Worker create on the submitter's behalf without granting general knowledge-writing capability.
  4. The administrator creates an “existing” Malware object reserved for this run with a fixed description that must not change. The submitter confirms visibility, then uses the same form with the same name but a different description. Wait for this new Work to complete and confirm exactly one object, the same ID, and unchanged description and other checked fields.
  5. Direct Malware creation and description edits by the same submitter must be denied; administrator read-back confirms no creation or modification. Editing the form definition must also be denied, leaving its description unchanged. “May create through a form,” “may not write generally,” and “may not manage forms” are three separately verified properties.
  6. The administrator changes only this run's form to enable draft-by-default and prohibit skipping. The submitter deliberately sends isDraft: false, but the result must still point to Draft. After the Work completes, retrieve the unique Malware name and description from the Draft and confirm absence from the main area.
  7. The submitter's attempt to approve its own draft must be denied. The draft remains open and the object remains absent from the main knowledge base. The administrator reviews the fictional data, waits for validation Work to complete, and confirms the Draft is validated before retrieving the expected Malware from the main area.
Actual output excerpt · 6978909b5b5b
PASS restricted account creates new Malware through Form; worker complete without errors
PASS existing Malware reused with same ID and exact fields unchanged after completed Form work
PASS direct Malware update denied: FORBIDDEN_ACCESS
PASS Draft approval by form-only submitter denied: FORBIDDEN_ACCESS
PASS Task/Draft global workflow settings unchanged
ActionResult in this runGuard against a false conclusion
Submit with reading capability onlyDeniedExplicit authorization error; no new Work or Malware.
Submit a new object after adding form capabilityAllowedWait for Work completion, then retrieve the complete sample.
Resubmit an existing object through the formReused without modificationOne object, same ID, unchanged before/after fields.
Direct knowledge creation/editing and form editingDeniedCorrect error category and unchanged read-back data.
Request skipping a mandatory draftStill enters DraftCheck Work completion, exact draft content, and absence from the main area together.
Approve a draft as the form accountDeniedDraft remains open; the administrator performs approval instead.

Troubleshooting: A successful form submission alone is insufficient. Connector Work distinguishes queued from processed data. On Work errors, inspect submitter capabilities, confidence, and data restrictions rather than promoting the account to administrator. If a low-privilege account unexpectedly edits data, check inherited roles and default groups. If resubmission creates nothing new, determine whether existing data was correctly reused. The public Work.draft_context was null for these form works. An early test incorrectly treated it as a required destination and stopped; that failure and cleanup remain in the record. The corrected test verifies exact draft content and main-area absence without filling an empty field with an expected value. The script deactivates its own form and user after testing and retains evidence objects. It also confirms that global Task and Draft workflow settings are unchanged.

This tests API calls and login sessions, not UI-button automation. Granular draft-scope capabilities still require EE; this run did not use them to bypass the CE permission model. The official Form Intake permission guide and pinned-version submitter-capability and existing-object protection implementation help verify behavior after an upgrade.

Enrichment and Merge: add information while preserving existing judgments.

Enrichment: try one manual query before automation

Prerequisites: Actual execution requires an INTERNAL_ENRICHMENT connector supporting the object type and permission to use its source. This chapter supplies no paid-service credentials and does not pretend different connectors share universal parameters. Without deployment, you can inspect the interface and scope; external results remain untested.

  1. Read that connector's configuration and initially retain CONNECTOR_AUTO=false. Confirm Domain-Name is in scope, the account can read/write the sample, and Trigger filters have not separately enabled automatic execution.
  2. Open login.example and use the upper-right cloud icon to inspect available connectors. If empty, check deployment and scope rather than replacing the domain with a real target to force a result.
  3. With a local test source or an authorized query source, run the corresponding connector once. Record work ID, before/after attributes, external references, and new relationships. A no-data response may be a valid result.
  4. For automation, configure Trigger filters for the intended type and tutorial label, and use a nonmatching sample to verify no trigger. Check connector documentation for filter/auto precedence.

Troubleshooting: If querying succeeds but updates fail, inspect maximum confidence and write restrictions. A source with no record does not justify inventing a malicious verdict.Official enrichment manual entry, automatic triggers, and confidence limits

Merge: use only disposable fictional objects of the same type

  1. With Merge knowledge capability, create two separate tutorial Malware objects: SecTools Lab Merge A and SecTools Lab Merge B. Describe both as “the same fictional subject deliberately created for a merge exercise.” Do not use existing analysis on Demo Malware for your first merge.
  2. Select both in the Malware list and open Merge, retaining A as the primary object. First copy any useful explanation from B into A, because descriptions and other data from nonprimary objects may not survive.
  3. Review names, aliases, authors, and markings before confirming. Wait for background completion, retrieve the primary object by A's original ID, and inspect how B's identifiers and relationships were consolidated.
  4. Record before/after content. If names are similar but evidence is insufficient, cancel. Production data requires backup and human judgment first.

Limits and troubleshooting: The official merge is irreversible and permits two to four same-type objects at once. Correct selection or permissions for mixed types or insufficient capabilities. User-account merging is a separate administration process.Official knowledge-merge procedure, Merge count and retention limits.

Docker API test: relationships and report references follow the primary object after merge

The same intake-check.py creates uniquely named Malware A and B after form approval, plus an unmerged control. All descriptions identify fictional exercises. A already contains the explanation to retain, and B has its own alias. It also creates a B → related-to → control relationship and a new Report containing only B. These relationships and containers let us verify the actual merge effect rather than just a success message.

  1. Read all three objects first: distinct IDs, relationship source B and target control, and B as the Report's only reference. The script accepts only IDs just created by this function, with no parameter for arbitrary existing objects.
  2. With A as primary, call stixEdit(id: A) { merge(stixObjectsIds: [B]) }. This is irreversible, not a Trash exercise, and has no automatic undo. This test merges through the API directly; the UI's Launch background task was not separately tested.
  3. Recheck A: its internal ID, name, and prepared description remain, and B's name and original alias appear in A's aliases.
  4. Retrieve the original relationship ID and confirm that its source is now A while its target remains control. Reopen the Report and confirm that only A is referenced. Control's name, description, and aliases must remain unchanged. Query B to confirm it is no longer independent; this run's query by B's old ID returned null, with the actual response retained in the record.
Actual output excerpt · 9fd7c58e1ca7
PASS merge: primary ID/name/description retained; secondary name and alias preserved
PASS merge: original relationship now points from primary; Report references primary; control unchanged
Malware A's OpenCTI History page: the tooltip fully identifies the same run's Malware B merging into A, with two abbreviated alias chips and a plus-one indicator under the title.Enlarge image
Trace the merge through History tooThe tooltip explicitly identifies SecTools Lab Merge B 9fd7c58e1ca7 as merged into the same run's A. Two abbreviated alias chips and +1 are visible above. Full aliases, relationship endpoints, and container references were verified through API read-back, not inferred from abbreviated screenshot text. This is UI inspection after API Merge, not a tested UI Merge-button workflow.Actual local screenshot · OpenCTI 7.261124.0 · 2026-11-29

Verification scope: This covers two same-type fictional objects, one relationship, and one container reference transfer. It does not establish behavior for bulk data, complex markings, or concurrent users. If the primary ID changes, references fail to transfer, or control changes, stop and preserve before/after JSON. Do not rerun against production to see whether it behaves better, or treat an irreversible merge as a cancelable edit.

Finish by recording the source, mapper, execution account, review location, and one verified object in your own operation card. For further practice in source evaluation and tool selection, read practical security and tool articles at SecTools.tw and connect the next source around a requirement you can verify.

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