OpenCTI dashboards and cases: daily views, notifications, tasks, and defense validation.
The data has been found. How should the team use it? Starting with the SecTools Lab report, this chapter builds a dashboard whose results can be checked, puts unresolved questions into cases, and tracks progress through notifications and tasks. It then introduces Security Coverage, connecting awareness of threats with records of which defensive capabilities have been tested.
This chapter follows the official latest documentation consulted on November 29, 2026. Local UI tests verified Dashboard List/Number widgets, Text variables, Preset switching/reloading, and RFI/task persistence. API checks separately covered in-app notifications, background batches, data-consistency dry runs, configuration transfer of a disabled Custom View, and manual Security Coverage data relationships. Coverage scores are explicitly fictional; no real defensive assessment was performed. Each section identifies its evidence, and unlisted extensions still need acceptance checks. Activity & history statistics require Enterprise Edition (EE). OpenAEV requires separate deployment and integration; a running OpenCTI instance does not make it available automatically.
Prepare exercise artifacts that another person can continue using
Complete Chapter 14's report query first. Use an account that can create dashboards and edit tutorial data. You can still read the procedures without administration rights, but an unauthorized action is not a product failure.
Open the existing SecTools Lab report, login.example, and uses relationship. Confirm these are the same objects used in the previous chapter.
Clear search text and temporary filters in Reports. Record visible reports and their count as the baseline for the first List widget; do not restrict author yet.
For the first list, leave Relative time, Start date, and End date empty and sort by created_at, the platform creation time. Save date-range work for the later exercise. The local widget date menu has no published option; do not interpret created_at as publication time.
Search for existing “SecTools Lab|每日報告檢視” (daily report view) and “SecTools Lab|確認網域觀察來源與用途” (confirm the domain observation source and role) artifacts. Continue them if present rather than creating duplicates.
Create an acceptance record separating configuration, results, permissions, and untested items. Record success only when a notification is actually received or a task is actually completed.
Acceptance check: The baseline list, unrestricted date scope, and exercise names are fixed, providing a reference for later results.
If blocked, check: If the baseline list is already empty, return to the previous chapter and fix the query instead of guessing from an empty dashboard.
Wrap-up: Keep baseline links and counts. Modify only the dedicated tutorial artifacts in this chapter.
For the first Dashboard, build a report list that survives reopening.
Start with a simple question: which reports can currently be read in the platform? Set only Entity type = Report, without author or date restrictions, and sort newest first by platform creation time. Verify the list before adding statistics or time conditions so later differences remain explainable.
Dashboards have View, Edit, Manage, and other access levels. Viewers may also have different data visibility. This section verifies creating and saving the dashboard with your own account. Separate CE workspace-member positive/negative checks appear in the permission tests; they do not establish that this particular dashboard has been publicly shared.Official custom dashboards and permissions
Tested steps: create a List widget and make it readable
Requires Create / Update dashboards and existing readable reports. Field names below follow the local OpenCTI 7.261124.0 English interface. Your data count may differ; do not duplicate reports merely to obtain three rows.
Open Dashboards → Custom dashboards, choose Create Dashboard, enter “SecTools Lab|每日報告檢視” as Name, and click Create. Open the existing exercise dashboard if already present.
Click Create Widget, choose List, then Entities. In filter configuration, choose Add filter → Entity type → Report, then Validate filters.
Set Title to “示範報告|依平台建立時間” (example reports by platform creation time), Number to 10, Sort by to Created_at, and direction to Desc. Here Number is the list's displayed-item limit, not the statistical widget named Number.
Choose created_at (Technical date) for Date attribute. In Customize columns, retain only Name, Platform creation date, and Author, then click Create. This date is platform creation time, not report publication time.
Leave Relative time, Start date, and End date blank. If the default widget is narrow, drag its lower-right corner to span the row and increase its height so name, creation date, and author can be read together.
Click Save, reload, and check that the list, columns, and layout persist. Compare with the Reports baseline. This early reload still showed three reports; the later name-variable exercise changes the query scope.
Acceptance check: The early baseline retains one List widget showing two Connector import-verification reports and one phishing-modeling report. All three happen to be from SecTools Lab, but the query has no author condition.
If blocked, check: For an empty list, check Entity type = Report and lingering top-level time restrictions. Widen or heighten the widget if columns are unreadable. If only ten records appear, check the Number display limit rather than treating visible rows as the database total.
Wrap-up: Keep the dashboard and widget. Complete Save and reload checks before continuing to the tested Number, Text variable, and Preset workflow. Date ranges and public sharing require separate acceptance.
EnlargeA widget's meaning comes from what it counts, not its shape.
The official creation flow separates visualization, data perspective, filters, and parameters. Decide what is counted before choosing a chart. Use Entities for report counts, Knowledge graph for links between entity types, and Activity & history for platform operations. The last requires EE; account-operation counts are not attack-event counts.Official widget creation and data perspectives
| Question | Suggested presentation | How to check it |
|---|---|---|
| How many reports remain to read? | Number alongside List | Confirm that the list and number use identical filters. |
| How does the number of new records change over time? | Line or Vertical bars | State the date field, bucket interval, and time zone. |
| Which categories account for the largest share? | Horizontal bars or Donut | Explain the denominator, grouping field, and uncategorized data. |
| Which objects have a particular relationship to a threat? | Relationship-based widget | Check source, target, and direction, not just endpoint names. |
Some relationship questions require filtering both endpoint entities before selecting matching relationships. Validate a small scope with a known answer, such as the existing Demo Intrusion Set uses Demo Malware relationship. Check direction before expanding scope. This is easier to troubleshoot than starting with a graph of all data.Official relationship queries and widget-design tips
Time series can be split by field values, such as comparing report volume by author. Current documentation lists Vertical bars, Line, Area, and Heatmap as supporting this. Series-count and Other settings affect what is shown; check whether only a subset of values appears. An author missing from a chart is not proof that the author published no reports.Official time-series breakdown guidance
Exercise: verify one relationship and one time series
You need a basic dashboard and the known Demo Intrusion Set uses Demo Malware relationship. The following Knowledge Graph relationship counts and time series are extension instructions, not locally tested workflows. Create separate widgets from the verified Entities Number report count.
Add a Number widget with Perspective = Knowledge Graph and a main query restricted to uses. Select the existing Intrusion Set and Malware in source and target filters respectively.
Create a relationship List using identical conditions. Open results and verify source, target, and type. If the platform contains duplicate relationships, explain the actual result rather than prescribing a fixed count.
Create a Line or Vertical Bar widget using Entities, Report, and author SecTools Lab. Bucket by the available created_at field to represent platform creation time. The local menu does not offer published, so do not describe it as publication-time statistics.
Inspect the unsplit series first. Where Parameters supports it, choose Break down by author or an existing label. Record series-count and Other settings.
Return to the source list and check reports for each period. With only one report, one nonzero bucket is correct; do not add fictional incidents just to enrich the curve.
Use a title stating both counted object and date meaning, such as “New tutorial reports | Platform creation time, daily.” Keep relationship counts separate from report counts.
Acceptance check: You can explain whether Number counts relationships or entities and identify the reports behind nonzero time buckets.
If blocked, check: For too many relationships, check direction and endpoint restrictions. For different time-series results, compare date fields and bucket sizes. Activity & History is EE, not a free substitute for knowledge statistics.
Wrap-up: Keep verified widgets. Remove unsuccessful exploratory widgets if needed; underlying knowledge objects and relationships are unaffected.
Let List and Number answer together, then save the context as a Preset.
Continue the existing “SecTools Lab|每日報告檢視.” Add a name condition to its List and create a Number with the same scope. Then drive both with one Text variable, verifying a switch from one tutorial report to two Connector reports, followed by save, reload, and reset. This section records actual local UI actions, not a documentation-only prediction.
Requires Create / Update dashboards, edit access to this dashboard, and readable tutorial reports. This round uses no date restriction. Official Variables and Presets documentation explains variable types, defaults, and saved scope. Only widgets actually referencing a variable will respond to it.
Step 1: make two fixed-condition widgets both return 1
Open the existing “SecTools Lab|每日報告檢視.” Its local Dashboard ID is
2d9e7532-c4a4-4d38-ad4d-6875e9c3f7a0; use your own corresponding page rather than copying this ID.Edit the existing List filters. Keep Entity type = Report and add an AND Name condition with starts with and fixed value
SecTools Lab — 釣魚事件建模練習. Verify the complete prefix, including spaces and the em dash. The List should show only that report.Click Create Widget → Number → Entities. Set exactly the same conditions: Entity type = Report AND Name starts with the complete prefix above. Click Validate filters.
Set the title to “教學報告數|依平台建立時間” (tutorial report count by platform creation time) and Date attribute to
created_at, then create and save. Locally this menu offers only created_at, updated_at, created, modified, first_seen, and last_seen. It has no published option, so this is not publication-time counting.Leave Relative time, Start date, and End date empty. Inspect the List row by row: one matching Report and Number = 1. It counts report objects, not the domains or relationships inside them.
Step 2: connect the shared name condition to a Text variable
Click + Variable, name it “報告名稱前綴” (report-name prefix), choose Type = Text, and set Default value to
SecTools Lab — 釣魚事件建模練習, then save.Edit Name starts with in both List and Number. Change Value source from a fixed value to Variable and select “報告名稱前綴.” Creating a variable alone is insufficient; connect it to the filter and retain Entity type = Report.
Save both widgets and the Dashboard. At the default value, List still has one report and Number is 1. If one widget does not respond, check whether it still uses a fixed value.
In the dashboard variable bar, change the current value to
SecTools Lab — Connector 匯入驗證. Locally the List shows two reports with different verification identifiers, and Number changes to 2. No data was added; the same layout now queries a different scope.
Step 3: save a Preset and verify the same scope after reload
While the value remains the Connector import-verification prefix, open the Save menu, choose Save as new preset…, and name it “Connector 匯入報告” (Connector import reports). No separate time range was set.
Click Reset to defaults. The variable returns to the phishing-modeling report prefix, List shows one report, and Number = 1.
Select the “Connector 匯入報告” Preset again, confirm two List rows and Number = 2, then reload the whole page. This round retained that Preset and both results after reload, completing persistence acceptance.
Finally click Reset to defaults again. Both widgets return to 1, while the Preset remains available. Do not mistake the screenshot's 2 for the final default state.
| State | Name prefix | Tested List / Number |
|---|---|---|
| Default and final reset | SecTools Lab — 釣魚事件建模練習 | 1 report / 1 |
| Connector import-report Preset, including after reload | SecTools Lab — Connector 匯入驗證 | 2 reports / 2 |
Troubleshooting: If count and list disagree, compare Entity type, Name conditions, Value source, and time range, then the List display limit. For zero results, check prefix spaces and dash characters, read permissions, and actual report names. If your lab contains more reports with that prefix, compare against the real list rather than deleting data to force 1 or 2.
Verification boundary: This establishes Entities List/Number, Text variables, and Preset save, reselection, reload, and reset. It does not extend to entity variables, date bucketing, cross-platform import, or public snapshots.
Enlarge
Custom Views: put relevant information directly on an object page.
A Dashboard starts from a work question; a Custom View places widgets on the detail page for a particular entity type. Analysts can see a consistent summary whenever they open a Report or Intrusion Set without switching to a separate dashboard.
An administrator with Manage customization can follow Settings → Customization → Entity types, select a type, and manage Custom Views. Start with a non-default report view and simple widgets. Preview it across two reports and confirm results change with the current entity before considering it as a default entry point.
Preserve the preconfigured current-entity filter context. Replacing it with a fixed report ID could make every report page display the same data. Custom Views cannot directly accept Dashboard variables; importing widgets using them has restrictions. Use Dashboards for general context switching and Custom Views for entity-dependent displays.Official Custom View configuration, preview, and import
Docker verification: transfer the configuration before enabling it
This CE round completed create → export → import → readback. Both source and copy remained disabled and non-default. They exist only in the Report-type configuration list and changed no existing report's entry point. This is configuration verification; browser rendering, Preview data, and dynamic current-entity switching remain unverified.
Complete the Chapter 2 Docker lab, then run the following workspace-check.py from the project root. The script creates both this disabled view and the later manual Coverage samples in one run. If already run, reuse its RUN rather than executing it once per section.
Record the output RUN. The successful run here was
3f25306821a6. Under Settings → Customization → Entity types → Report → Custom Views, search forSecTools Lab disabled viewand that RUN to locate the source view.Check enabled = false and default = false. The script configures one Number widget with fixed Entity type = Report and Name equal to this run's newly created report. That fixed scope verifies transfer consistency; it is not a contextual view ready to enable for all reports.
The script exports the configuration of
type: custom-viewand imports it under another name. FindSecTools Lab imported disabled viewand confirm it has a different ID, still targets Report, and retains the source's widget title, filters, and layout.The script queries both IDs again to verify saved configuration equality and compares pre-existing Report views to ensure they were not overwritten.
Finally it performs a negative test by changing the source Number's name condition to a Dashboard variable reference. The platform rejects the update; readback confirms the original manifest, disabled state, and non-default setting remain unchanged. A widget working in a Dashboard does not guarantee that it can be copied unchanged into a Custom View.
docker --context colima-opencti-tutorial compose -f lab/compose.yaml \
exec -T worker python < lab/workspace-check.pysource: 69dea361-5835-4ef2-bb05-34b8f79a6d0b
imported: 307ca060-e39d-4b8b-96c0-a9f98f3a575c
enabled: false
default: false
create → export → import → fresh readback: PASS
Dashboard variable widget: rejected
saved manifest after rejection: unchangedTroubleshooting: The tab's absence from ordinary Report pages is intentional because this test leaves it disabled. For import failure, check that the file is a Custom View export and whether widgets reference Dashboard variables. Do not set it as default as a repair attempt. The GraphQL manifest is encoded configuration; generate it with the script rather than pasting a visible JSON fragment directly into the field.
Wrap-up: Keep both disabled configurations for comparison. To practice a real contextual tab, create a separate view with the dynamic current-entity conditions below. Verify previews and comparison across reports before enabling it.
Extended UI exercise: add a non-default contextual Report view; not yet tested
Requires Manage customization. Prepare at least one existing tutorial report. With only one report, verify a single preview and defer cross-report switching until a second real dataset is available.
Open Settings → Customization → Entity types → Report → Custom Views and click Add a custom view.
Set Name to “SecTools Lab 練習檢視” (practice view) and describe its testing purpose. Leave Set as default custom view off so it is an ordinary tab first.
Add a simple List widget, retain the default current-entity dynamic filter, and add the required object-type restriction. Do not hard-code the current report ID.
Select the tutorial report in the preview selector and inspect Preview data. If another report has different content, switch once and confirm that the widget reflects each report's contained data.
After checking configuration, enable the view and open its tab from an ordinary report page. Compare the result with the configuration preview.
To practice transfer, Export first, then Import a custom view as a copy. Confirm disabled and non-default after import and inspect settings before replacing any existing entry point.
Acceptance check: The new tab opens on ordinary report pages, and its dynamic filter follows the current report instead of always showing the first report.
If blocked, check: For empty content, inspect current entity, object type, and report membership. For a missing tab, check whether the view is disabled and whether the current object is actually a Report.
Wrap-up: Disable the exercise view when finished, retaining configuration for review. Do not leave multiple enabled copies or make it the default before validation.
Use cases to carry unresolved questions beyond the report.
The role of login.example remains unknown, making it suitable for a Request for Information (RFI) exercise. Choose that case type, use a title asking to confirm the tutorial domain's observation source and role, attach the existing report and domain as context, and describe what evidence would answer the question. This fictional case requires no message to an external organization.
Cases also includes Incident Response, Request for Takedown, Tasks, and Feedbacks. Incident Response is a case for organizational work; Incident is a knowledge object describing an event. They can be linked without being the same thing. Request for Takedown tracks a removal request; creating one does not automatically remove an external website.Official case-type navigation
Question: what does login.example represent in the tutorial material?
Known context: the report contains the domain but no real connection records.
Task 1: check the report description and external references.
Task 2: document missing observation time, source, and evidence of purpose.
Completion criteria: deliver a traceable answer; explicitly say "unconfirmed" without evidence.
Closure rationale: record what was answered and the limitations that remain.Assign owners, states, and appropriate deadlines to tasks, and retain analysis in Notes. Administrators can turn recurring workflows into case templates. Check each task's deliverable before deciding whether to close the case. Checked tasks do not mean a threat has disappeared. Feedbacks can capture process or data-quality improvements so the same gap need not be rediscovered repeatedly.Official case management and template workflow
Tested steps: create an RFI and add two tasks from the case
Requires capabilities to create and edit the relevant knowledge. First verify case and task persistence. This round did not set an assignee, deadline, or workflow and contacted no external party.
Open Cases → Requests for information and search for “SecTools Lab|確認網域觀察來源與用途.” If the exercise case is absent, open Create Request for information.
Enter “SecTools Lab|確認網域觀察來源與用途” as Name and click Create. Leave optional RFI types, Severity, Priority, and similar fields empty when no assessment supports a value; do not invent severity merely to submit the form.
In the case Overview, find Tasks, click Add a task to this container, then Create a task.
Enter “核對報告來源” (check the report source) as the task Name, leave other fields empty, and click Create. Confirm the new row appears in this case's Tasks.
Repeat Add a task to this container → Create a task with Name “整理證據缺口” (document evidence gaps), then click Create. Confirm it belongs to the same RFI rather than existing as an unrelated standalone task.
Reload the case and inspect both tasks under Overview. Record actual status, assignee, and due-date fields; successful creation does not mean completed work.
Acceptance check: Both tasks persisted after reload, establishing in-case creation and saving. Task workflow is unconfigured here: task status is Disabled and RFI status Unknown. Assignment, deadlines, task completion, and case closure were not verified.
Field-verification discrepancy: An attempt to change RFI Confidence from its default to 50 resulted in Not Specified on Overview. This did not establish successful confidence persistence. Form input and readback need separate investigation; do not record “confidence 50 verified.”
If blocked, check: If a task is missing from the case, confirm it was created through that case's Add a task to this container, then reload. Disabled does not mean completed. Have an administrator confirm workflow and status settings before practicing transitions.
Why was workflow not simply enabled for these two Tasks?
The API inventory found Task workflow_configuration set to true, but workflow_id、workflow_published_version_id and the workflow definition were empty, with an empty statuses list. Actual workflowEnabled remained false. Supporting workflow configuration differs from having a usable workflow already configured.
The setting applies to the entire Task type, not just one task in this case. Creating statuses, configuring a workflow, or publishing a version can affect other Tasks. Reverting a boolean does not guarantee that transitioned task states are restored. This round therefore performed a read-only inventory and, after other tests, confirmed that configuration, statuses, and definitions remained identical.Task status transitions remain untested; Disabled is not relabeled as completed.
Before team adoption, prepare a recoverable practice environment and preserve Task-type settings, status templates, workflow definitions, and current task states. Then design creation, handling, completion, and return paths. If a published version exists, evaluate restoring it. This lab has no published version, so “restore published version” is not an available ready-made rollback plan.Official workflow and assignment guidance.
Wrap-up: Retain this RFI and both tasks for the next section. On repetition, search the existing names rather than creating duplicates.
EnlargeExtended exercise: complete context, assignment, and deliverables; not yet tested
Have an administrator confirm available case/Task workflows and Status templates first. Continue the RFI above and record each item as passed only after actually completing it.
Add the existing tutorial report and login.example in the case's Knowledge area, checking identifier links individually. Do not create same-name replacements.
Edit “核對報告來源” with the source to examine and expected deliverable. Assign your test account, set a reasonable deadline, and read back the saved values.
After reading the source, record in the task or a case Note: “The available material is a teaching scenario with no real connection evidence.” Then change status through the configured workflow and verify persistence.
Edit “整理證據缺口” with missing observation time, source, and purpose, plus an owner and next action. Keep an appropriate incomplete state until the evidence is supplied.
Under Cases → Tasks, query your assigned work, then return to the RFI and read both deliverables. Consider closure only when completion criteria are actually met, not merely because tasks exist.
This exercise accepts contextualized cases, accountable tasks, and traceable outputs, separately from the preceding creation-and-save check. If status cannot change, inspect configuration and permissions rather than inventing arbitrary statuses in place of a team workflow.
After creating a notification rule, wait for an actual in-app Alert.
Notifications route relevant changes to the right person. Triggers in Notification Center are rules; Alerts are received content. Successful rule creation does not prove delivery. The built-in User interface notifier sends only in-platform alerts. Email needs SMTP, and a Webhook needs its own receiver.Official notifications, digests, and Notifiers.
This test creates a uniquely named fictional report and dedicated Trigger through the API, changes the description once, waits for an in-app notification, and verifies its report ID. A preceding run also checked Alerts in the browser. The screenshot and final terminal record belong to different RUNs and are labeled separately rather than presented as one operation.
Reproduce the verified API workflow
Complete the Docker lab and confirm platform and Worker health. Download analysis-check.py and read its opening scope note. Besides notifications, this combined script creates background-batch fixtures and indicator rules restricted to tutorial labels. Finally it clears this run's notification delivery methods and disables its indicator rules, retaining fictional data for inspection. It sends no email, calls no Webhook, and performs no data-consistency repair.
cd lab
docker compose exec -T worker python < analysis-check.pyRecord the first-line RUN. Each run uses a new random suffix so a previous notification cannot masquerade as the current result. For evidence-only reading, open the complete terminal record.
The program creates a fictional SecTools Lab notification report with the RUN suffix and a matching User interface Trigger. Recipients are limited to the current lab account. The API event is
update, displayed as Modification in the UI.The Trigger filters only this report ID. After waiting for the manager to load the rule, the script modifies the description once and polls for notification with a maximum wait of 150 seconds.
Use the top bell to open Notification Center → Alerts and find the matching RUN title and modification time. If absent, clear incompatible read-state or Trigger filters and check the recipient account.
Open the alert and compare the report ID. The API also checks
notification_content.events.entity_internal_id. A similar name in the message is insufficient; the event must point to this run's report.Read the final cleanup result. This Trigger API has no active field, and a live trigger rejects empty event_types. The script stops delivery by clearing its own notifiers without changing other rules. On repetition, stop test delivery before further description changes or cleanup edits.
RUN 202b001aa69e
Report: bfd4c660-00ac-45f2-818b-834640945be1
Notification: 8805494d-2743-418e-bfaa-1083ebafb2c5
Event operation: update
Event entity_internal_id: bfd4c660-00ac-45f2-818b-834640945be1
Cleanup: trigger notifiers clearedWhen creating through the UI yourself: add a dedicated Instance trigger under Triggers, selecting one fictional report, Modification, User interface delivery, and only yourself as recipient. Save, modify that report once, and inspect Alerts as above. This is the corresponding UI exercise. Complete creation and event-match evidence comes from the API; the browser screenshot proves received Alerts are visible.
Troubleshooting: Do not repeatedly edit a report immediately after creating the rule. The successful notification here arrived roughly one minute after modification, depending on buffering, scheduling, and load; this is not a delivery SLA. Wait for the script's finite limit before examining Notification manager, Publisher manager, and logs for the same interval. In custom filters, key is an array, for example ["ids"]. This notification uses supported ids rather than copying elementId from another query.
Not yet verified: Digest, email, and Webhook are outside this round's passed scope. A digest needs a separately scoped rule, an actual scheduled run, and comparison of multiple events. Mark it pending until received. If the script fails partway, inspect finally cleanup before repeatedly rerunning and accumulating data.
Enlarge
3f18e7596629 with report ID ef38a361-cd28-4407-8609-3d7839f2fe62; the current terminal record instead comes from the reviewed and strengthened rerun 202b001aa69e. The image proves visibility of the earlier in-app alert, not the final run or email/Webhook success.Actual local interface · OpenCTI 7.261124.0 · 2026-11-29Custom Notifiers: validate content before connecting an external channel.
Under Settings → Customization → Notifiers, choose a simple mailer, templated Platform mailer, or HTTP Webhook as required. First restrict allowed users, groups, or organizations, then set destination and content. Object name, change summary, and platform link usually help recipients act more effectively than a full raw record. Webhook templates run in a restricted environment; arbitrary JavaScript features cannot be assumed available.Official custom Notifiers and permissions
Official Teams live and digest examples illustrate message structure: live templates handle one event, while digest templates must iterate over several. Replace the OpenCTI URL and check the receiver against current official Teams configuration before use. The sample is not a universal ready-made integration for every tenant and version. Use a dedicated test channel and fictional data to check formatting, links, and event count, ensuring a digest has not retained only the first event.Official Notifier examples
EJS templates can access structures such as data、content、notification and user for data, event summaries, notification information, and user information. Current guidance recommends the stable entity_internal_id for platform links, with the older instance_id as a compatibility fallback. Test missing fields, quotes, line breaks, and multi-event digests. HTML and JSON require different output handling; do not insert unescaped data into the wrong format.Official template variables and Notifier design tips
Exercise: prepare templates for individual events and digests
Requires Notifier management capability. Real delivery also needs a controlled test mailbox or your own Webhook receiver. Without a receiver, complete template design only; do not claim channel verification.
Open Settings → Customization → Notifiers and create “SecTools Lab|通知通道測試” (notification-channel test). Choose Platform mailer, Simple mailer, or Webhook to match your infrastructure.
Set allowed members and the test destination first. For Webhooks, check HTTP method, URL, headers, and expected format individually. Keep sensitive Tokens out of this article and screenshots.
Initially include only notification name, event summary, and platform link. If adapting the Teams example, replace the platform base URL and adjust the card structure to the receiver's currently supported format.
Process every event in content, not only the first. Prefer entity_internal_id for links, falling back to instance_id when needed. Use fictional data to test missing fields, quotes, and line breaks.
Attach the notifier to a Trigger covering only the tutorial report. Test one modification, then a two-event digest. Separately verify platform trigger activation, receiver delivery, and working links.
Record HTTP or mail delivery results, receipt time, and rendered content. Remove Tokens and personal data before preserving screenshots.
Acceptance check: The template handles individual events and multiple-event digests with the correct receiver format and links to original objects.
If blocked, check: If the platform matches but nothing arrives externally, inspect SMTP or HTTP responses. For malformed received messages, check EJS escaping, JSON structure, and digest iteration rather than changing the Trigger conditions to hide the problem.
Wrap-up: Remove the test Trigger's reference to this notifier, then disable or delete the test notifier. Keep de-identified templates and acceptance results.
Background tasks: two objects change while the third stays unchanged.
A submitted batch may not finish immediately. Rule, Knowledge, and User background tasks have distinct scopes and are separate from Connector import work. Inspect work under Data → Processing → Tasks, then read objects back to distinguish an existing task ID from a correctly completed modification.Official background tasks and permissions.
This test does not modify the existing Demo Malware or Intrusion Set. The same analysis-check.py from the previous section creates three unique tutorial domains, adds a label to the first two, and leaves the third as an unselected control. All are .example teaching values requiring no external domain queries.
Repeatable workflow: trace selection scope through to object results
Complete the preceding script run and record its RUN and three ARTIFACT batch domains IDs. Use those new records for this exercise, without mixing in original intelligence or rerunning the whole script solely for this section.
For the final successful run, search for
batch-0-202b001aa69e.example、batch-1-202b001aa69e.exampleandbatch-2-202b001aa69e.example. The first two are selected targets, and the third is the control. Use your new RUN when repeating the test.The script uses a Knowledge list task, supplying only the first two object IDs. Its action is ADD on the object-label relationship field, adding
sectools-batch-202b001aa69e. It neither replaces existing labels nor applies to the entire search result.Under Data → Processing → Tasks, locate the work by the output task ID. After completion, check completed, expected, processed, and errors. This round's task is
201f3541-5318-417c-95be-122f96b4fcdb.Open all three domains and inspect Labels: 0 and 1 must carry this run's label; 2 must not. The script also reads each object, so correct scope is not inferred merely from completed status.
For a UI repetition, create three separately named fictional objects and a new label first. Select exactly two rows and choose the batch add-label action. Confirm the selected count is two, then follow the same work/control checks. This click-by-click UI path is outside the API success claim.
id: 201f3541-5318-417c-95be-122f96b4fcdb
completed: true
task_expected_number: 2
task_processed_number: 2
errors: []
Readback: batch-0 and batch-1 have the label
Control: batch-2 does not have the labelTroubleshooting: Even with completed=true, inspect errors and object contents. One rerun completed work before label queries reflected it, so the script waits at most another 60 seconds while reading each object. A timeout still fails, and an altered third control fails immediately. If processed differs, inspect failed objects and selected IDs rather than selecting the whole page again. For missing work, check account and page capabilities. For locks or waiting, preserve task ID, time, and logs instead of resubmitting the batch and creating duplicate work.
Wrap-up and scope: The three fictional domains, label, and background task remain for comparison. Removing the label to restore the prior state was not counted as tested. If cleanup is needed, handle only your run's tutorial fixtures and check references from other exercises first. This is not proof of bulk performance, permanent deletion, or a regular user's minimum permissions.
Complete requests and readback checks are in analysis-check.py, with raw output in analysis.txt. Comparing three objects before increasing batch size is far easier than investigating an entire incorrectly modified batch afterward.
Data consistency: estimate a repair's impact first.
Data sanity manager performs specific consistency repairs, unlike routine selected-object batch edits. The official page consulted describes GraphQL operations and provides no graphical interface. Do not assume a general “repair everything” button exists when encountering a data issue.
Confirm the operation supported by your version, then use dataSanityOperationDryRun to estimate impact and inspect returned estimated_impact. The documented caseSensitiveDuplicatedId addresses case-related identifier collisions, involving recalculation and merging of Attack Pattern and Course of Action objects. It is not a general similar-name deduplication tool.
Only after reviewing backup, impact, and change arrangements should you consider scheduling the actual operation. Official APIs also support requesting execution and stopping stalled work. Inspect target data and logs afterward because individual failed merges may be logged and skipped. This exercise does not ask you to repair the tutorial database; it teaches how to decide whether the problem matches the operation.Official Data sanity manager and dry run
Locally verified: RUN 202b001aa69e queried caseSensitiveDuplicatedId and returned estimated_impact of Attack-Pattern = 0 and Course-Of-Action = 0. This is an estimate for that specific operation only. No repair was scheduled, and it does not establish that the whole database has no consistency issues. The complete read-only query and boundary appear in the advanced chapter's Data sanity test.
Exercise: run only the dry run and understand repair impact
This administration exercise requires API support in your version and corresponding permissions. Prepare a GraphQL interface or existing API tool and send only the query below, not a repair mutation.
Record the platform version and compare the official operation list, confirming that caseSensitiveDuplicatedId applies. Do not schedule repairs directly from another version's example.
Paste the query below into GraphQL, set operation_name = caseSensitiveDuplicatedId in Variables, and verify that the request is a query.
Run it once, read estimated_impact, and save each key/count pair in the internal maintenance record.
For zero counts, record “no impact of this type estimated in this run.” Do not deliberately create case-colliding objects to produce numbers.
For nonzero impact, identify affected types and backup/recovery arrangements first. Treat execution as a separate assessed maintenance task; this exercise stops at estimation.
Acceptance check: Obtain a readable estimate or clearly record that the version/account cannot use the operation. The query does not change knowledge objects.
If blocked, check: For Unknown field, check the version's schema; for Forbidden, check capabilities. Do not switch to RequestRun to try to eliminate the error.
Wrap-up: Preserve the estimate and version. There are no data changes to clean up, and an unexecuted repair must not be recorded as completed.
query InspectConsistency($operation_name: String!) {
dataSanityOperationDryRun(operation_name: $operation_name) {
estimated_impact { key count }
}
}
# Enter Variables separately in the variables panel:
# {"operation_name": "caseSensitiveDuplicatedId"}Security Coverage: connect report, result, and technique before reading scores.
Security Coverage connects defensive assessment to intelligence context. Coverage identifies the report or threat being assessed; Result stores an assessment result; and the has-covered relationship identifies techniques or other supported objects covered by that result. Distinguishing these three layers explains where the displayed numbers originate.
This CE round completed a manual Docker API data flow: new Report → Manual Coverage → Result → selected Attack Pattern. It also verified that editing Result updates the parent Coverage summary.Both 60/20 and 80/40 are explicitly fictional test values, used only to verify field persistence and relationships. No endpoint, detection, or prevention test was performed.Do not import these samples into production performance reports.
Step 1: run the sample and locate one run's data
First complete workspace-check.py from this chapter's Custom Views section. It creates both experiments together. If already run, reuse its RUN instead of running it again. The successful identifier here is
3f25306821a6.Search for
SecTools Lab workspace coverage 3f25306821a6and open the new Report. Its description marks the scores as fictional, and Knowledge includes only this run's selected fictional Attack Pattern. That technique is not a MITRE ATT&CK entry and does not impersonate an ATT&CK ID.Under Analyses → Security Coverages, find
SecTools Lab fictional manual coverage 3f25306821a6. Compare the script's objectCovered ID to confirm it links to the same report, not merely a similar name.Confirm
auto_enrichment_disable = true. No OpenAEV Connector was enabled and no external assessment was submitted. This local CE workflow does not require an Enterprise license as a prerequisite for manual modeling.
Step 2: check Result and the has-covered direction
Read Coverage results and confirm one Result was created. Its resultOf must point back to the original Coverage. Initial test values are detection 60 and prevention 20.
Follow
Result → has-covered → 選定的 Attack Patternand inspect the relationship. The script checks source ID, target ID, and relationship test scores, and confirms that the other unselected Attack Pattern is absent.This round also tests an unsupported type: directly creating
Security-Coverage-Result → has-covered → Domain-Nameis rejected by OpenCTI 7.261124.0. A subsequent query confirms the result still contains only the originally selected Attack Pattern.Official automated-Coverage guidance mentions domains in a report as assessment input. That does not mean this version permits Domain-Name directly as a has-covered target. Check supported types and the integration model rather than renaming an entity to bypass validation.
Step 3: edit the result and reread the summary
The script edits the same Result, changing the fictional values to detection 80 and prevention 40 and restating in the description that no real defense assessment occurred.
Query the original Coverage again. Its results still contains the same Result ID, and parent coverage_information now reads 80/40. With only one Result, these values can be compared directly; averaging multiple results was not tested.
Do not conflate the parent summary with scores on individual technique relationships. Only Result was edited; the original has-covered relationship was created with 60/20. Updating a technique's real assessment would require separately checking that relationship and source evidence. A changed summary does not prove every technique score synchronized.
Keep this run's RUN, Coverage, Result, and relationship IDs. Hand over both findings: the data workflow passed, and actual defensive assessment remains unperformed.
| Object in this run | Identifier and acceptance check |
|---|---|
| Report | 4508d1c1-845b-47a9-89a9-a4289a0801e3 |
| Manual Coverage | e74e069f-0a44-43fd-bb01-8379051500f4; automatic enrichment disabled |
| Result | 8501c12a-1272-4dfa-acda-eb2378696c47; edited summary 80/40 |
| has-covered | f1279266-b078-41f0-8bd8-665752923258; linked only to the selected fictional Attack Pattern |
| Control and negative case | Unselected technique has no relationship; direct Domain-Name relationship rejected |
Expand this run's raw Docker API verification record
RUN 3f25306821a6 UTC 2026-11-29T11:55:37.143210+00:00
PASS API connected: OpenCTI 7.261124.0
OBSERVE Task workflow (read-only): {"entitySettingByType": {"id": "7b6a6751-bc46-42f2-909e-d78be78e090d", "target_type": "Task", "workflow_configuration": true, "workflow_id": null, "workflow_published_version_id": null}, "subType": {"id": "Task", "workflowEnabled": false, "statuses": []}, "workflowDefinition": null}
PASS manual Coverage created one local result linked to the exact Report; auto enrichment disabled
ARTIFACT initial manual coverage {"id": "e74e069f-0a44-43fd-bb01-8379051500f4", "name": "SecTools Lab fictional manual coverage 3f25306821a6", "auto_enrichment_disable": true, "objectCovered": {"id": "4508d1c1-845b-47a9-89a9-a4289a0801e3"}, "coverage_information": [{"coverage_name": "detection", "coverage_score": 60}, {"coverage_name": "prevention", "coverage_score": 20}], "results": [{"id": "8501c12a-1272-4dfa-acda-eb2378696c47", "name": "Result of SecTools Lab fictional manual coverage 3f25306821a6", "resultOf": {"id": "e74e069f-0a44-43fd-bb01-8379051500f4"}, "coverage_information": [{"coverage_name": "detection", "coverage_score": 60}, {"coverage_name": "prevention", "coverage_score": 20}]}]}
PASS has-covered relationship points from Result to selected Attack Pattern; unselected control absent; fictional scores retained
PASS negative relation: direct Result has-covered Domain-Name rejected by this version
PASS result edit persisted; parent summary reflects revised fictional 80/40 scores
ARTIFACT final manual coverage {"id": "e74e069f-0a44-43fd-bb01-8379051500f4", "name": "SecTools Lab fictional manual coverage 3f25306821a6", "auto_enrichment_disable": true, "objectCovered": {"id": "4508d1c1-845b-47a9-89a9-a4289a0801e3"}, "coverage_information": [{"coverage_name": "detection", "coverage_score": 80}, {"coverage_name": "prevention", "coverage_score": 40}], "results": [{"id": "8501c12a-1272-4dfa-acda-eb2378696c47", "name": "Result of SecTools Lab fictional manual coverage 3f25306821a6", "resultOf": {"id": "e74e069f-0a44-43fd-bb01-8379051500f4"}, "coverage_information": [{"coverage_name": "detection", "coverage_score": 80}, {"coverage_name": "prevention", "coverage_score": 40}]}]}
ARTIFACT has-covered f1279266-b078-41f0-8bd8-665752923258; selected Attack Pattern 1f1eb871-bc40-4911-b695-f5e2cbd348f1; control Attack Pattern 70cc0ce4-6407-4a20-a4eb-07c1767d671d
LIMIT manual scores verify storage and association only; no OpenAEV, sensor, endpoint or real defense effectiveness test
PASS Custom View create/export/import/fresh readback: one Number widget preserved; both disabled and non-default; prior Report views unchanged
ARTIFACT custom views {"source": "69dea361-5835-4ef2-bb05-34b8f79a6d0b", "imported": "307ca060-e39d-4b8b-96c0-a9f98f3a575c", "widget": "1a6aed55-4141-4d06-a526-802a4b3ee432", "enabled": false, "default": false}
PASS negative Custom View edit: Dashboard variable widget rejected by platform
PASS rejected edit left saved manifest and disabled/non-default state intact
LIMIT Custom View enabled tabs, current-entity filters, preview and visual rendering were not tested
PASS Task type settings, statuses and workflow definition unchanged
LIMIT Task workflow transitions were not tested; enabling them changes the whole Task type
PASS no enabled Custom View, default-tab change, enrichment request or external assessment created
EnlargeTroubleshooting: If Result is missing, check whether the creation flow supplied assessment content rather than relying on an existing Coverage ID. For empty relationships, check direction from Result to technique and distinguish indexing delay from explicitly unsupported types. The script uses a finite visibility wait, not infinite retries. If scores fail to update, check which Result was edited and whether the displayed field is a summary or relationship score.
Wrap-up: All explicitly fictional samples remain for inspection, with no schedules or external jobs to stop. A real manual assessment should have traceable dates, scope, methods, and results before scores are entered. Do not treat this section's test numbers as actual outcomes.
OpenAEV extension: not deployed or tested here
Automated Coverage requires a working OpenAEV deployment and Coverage Enrichment Connector. In the handbook version, confirm the integration under Integrations before selecting Automated using Enrichment. The official page still uses the older Data → Ingestion entry name, and the result page requires a compatible OpenAEV version. Without these prerequisites, stay within manual modeling; a missing Connector is not automatically an Enterprise restriction.Official manual and OpenAEV-automated Security Coverage.
Even with integration, verify scenario generation, actual execution, and valid results separately. Empty results and placeholders must not be recorded as zero risk. Production acceptance needs OpenAEV test assets, test content, and returned records. Creating local Coverage successfully does not establish completed automated defense validation.
Dashboard export and public sharing: settings persist while data can change.
Dashboard configuration export transfers layout and queries. Manage access handles signed-in collaboration. Public Dashboard lets anonymous viewers read widgets using settings saved at publication. This CE round verified configuration export/import, anonymous positive/negative cases, and disabling access, using independent fictional reports on a loopback-only platform.
Official documentation calls a Public Dashboard a snapshot. In OpenCTI 7.261124.0, this List/Number experiment showed that editing the private dashboard's title and filters does not rewrite published configuration, yet newly added intelligence matching the existing conditions appears in public widgets.Treat it as a snapshot of published configuration, not an audit artifact that permanently freezes the underlying data.
Step 1: establish a dedicated scope and export/import it
Complete the Docker lab and run the following dashboard-check.py from the project root. Each execution uses a new RUN; this successful run is
6ba5c83f2165. The script does not alter existing dashboards, groups, or user permissions.The script creates three fictional Reports. Two names begin with
SecTools Public 6ba5c83f2165and carry TLP:CLEAR and TLP:RED respectively. The third begins SecTools Outside and is an out-of-scope control. An administrator first retrieves both matching reports, proving that restricted data exists rather than simulating isolation with an empty dataset.Under Custom dashboards, find
SecTools Lab dashboard source 6ba5c83f2165. Both List and Number use fixed Entity type = Report and Name starts with this run's prefix. There is no date range, and other exercise runs cannot enter the scope.Export configuration containing version,
type: dashboard, and manifest, then import it asSecTools Lab dashboard imported 6ba5c83f2165. The script reads the new ID and compares both widgets' filters, titles, and layout. The imported workspace's explicitly listed managing member is only the importer.For a negative case, change file type to widget; the Dashboard importer must reject it. This verifies configuration transfer within the same platform and version, not cross-version compatibility or an intelligence-data backup. Moving across platforms also requires handling filters for objects that exist only on the source.Official Dashboard configuration format and import restrictions.
docker --context colima-opencti-tutorial compose -f lab/compose.yaml \
exec -T worker python < lab/dashboard-check.pyStep 2: verify public scope with genuinely unauthenticated requests
The script creates a dedicated Public Dashboard from the imported copy, with maximum marking TLP:CLEAR. Publishing requires Manage public dashboards and Manage access to the original Dashboard. This test neither bypasses authorization nor raises group sharing limits.Official public dashboards and marking restrictions.
Use a fresh HTTP session without Authorization or login Cookies to request public List and Number. Initially only the CLEAR report should appear, and Number
totalshould be 1. The same-prefix RED report and out-of-scope report must remain absent.Using that same anonymous session, directly query the known private Workspace and Report IDs. Both ordinary APIs must reject access. A readable public page must not allow arbitrary private workspace or intelligence access.
The public manifest does not expose full selection conditions as freely editable filters. Public widgets query using server-saved settings. This test covers those two ordinary APIs and fixed widgets only; it is not a complete platform security audit.
Step 3: test configuration changes separately from new data
The script changes widget titles in the imported private copy and replaces its private filter with a nonmatching prefix. After confirming those private edits by readback, it queries public manifest and data: published configuration remains unchanged and List still shows the original CLEAR report.
It then creates a fourth Report whose name matches the original published prefix and whose marking is TLP:CLEAR. Without republishing, the anonymous List grows to two reports and Number total becomes 2.
Record both published configuration and data-query time in a handover. If an immutable deliverable is required, separately preserve a report or data export. A Public Dashboard link alone is not proof that the data was frozen.
Step 4: after disabling, try anonymous reads again
In finally, the script disables its own public page. After the administrator reads back enabled: false, the anonymous session requests List and Number again. Both return no data and UNSUPPORTED_ERROR in this round. Disabled does not mean deleted: the page name or configuration metadata may remain queryable. Acceptance therefore means widgets stop serving data, not merely a disabled icon, and not the disappearance of every trace of the public page.
| Checkpoint | Observed result |
|---|---|
| Private administrator query | Two prefix matches: CLEAR and RED; out-of-scope excluded |
| Initial anonymous public query | CLEAR only: one List row and Number total = 1 |
| Edit original Dashboard configuration | Published configuration unchanged; public data still one report |
| Add a matching CLEAR report | Without republishing, public List/Number total becomes 2 |
| Disable public page | enabled = false; anonymous List and Number return no data |
Expand raw Dashboard-configuration and anonymous-isolation records
RUN 6ba5c83f2165 UTC 2026-11-29T12:12:23.498305+00:00
PASS API connected: OpenCTI 7.261124.0
PASS admin positive control sees two scoped Reports; third outside-name control excluded
PASS Dashboard configuration export/import/fresh readback: List and Number layouts/filters retained; distinct ID; importer-only admin
ARTIFACT dashboards {"source": "2df4b166-c301-47d2-95d3-b34ce4c3bc90", "imported": "3a331081-53c9-486b-a7f3-f95999aed5ae", "list_widget": "729f3eb9-e4ad-48e1-b5b9-376b32cd18ea", "number_widget": "677acbe8-b2f9-48f8-8c6e-b95bef1598b3"}
PASS negative import: widget-type file rejected by dashboard importer
ARTIFACT public dashboard {"id": "761bd7cd-52e1-45cb-be56-fcd472953de7", "enabled": true, "uri_key": "sectools-lab-6ba5c83f2165"}
PASS anonymous enabled widgets: one CLEAR row and Number=1; scoped RED and outside-name controls absent
ARTIFACT anonymous rows [{"node": {"id": "3eba7e4b-22bd-4779-aed6-ddb25f023483", "name": "SecTools Public 6ba5c83f2165 clear visible"}}]
PASS anonymous cannot read private workspace API even when knowing its ID
PASS anonymous cannot read private report API even when knowing its ID
PASS changing private dashboard title/filter does not alter already published manifest/filter
PASS adding matching CLEAR knowledge changes public List/Number to 2: snapshot freezes configuration, not all underlying data
ARTIFACT reports {"clear": "3eba7e4b-22bd-4779-aed6-ddb25f023483", "red": "2ee25bd3-d285-43bd-86ce-9f3b1c101562", "outside": "8ba071b4-b5c2-48a5-b13b-6a8289cea9ce", "later_clear": "42bcbb3d-8e8f-47a6-91bc-a7dcc1905908"}
LIMIT same-instance API round-trip only; no cross-version migration, UI rendering or internet exposure tested
PASS cleanup: own public dashboard disabled and fresh admin readback false; anonymous List/Number return no data
ARTIFACT disabled public error codes ["UNSUPPORTED_ERROR", "UNSUPPORTED_ERROR"]
FOCUSED REVIEW 2026-11-29: exact negative-case reasons checked against retained RUN 6ba5c83f2165 objects.
PASS anonymous workspace and report requests: data null; extensions.code=AUTH_REQUIRED; message="You must be logged in to do this."
PASS wrong-type import using retained source export: FUNCTIONAL_ERROR; "Invalid type. Please import OpenCTI dashboard-type only"; reason=widget; HTTP status 400.
The script now asserts these exact reasons. This focused check did not republish the disabled public dashboard or rerun the complete sharing scenario.
PASS additional focused cleanup check: retained disabled public List/Number each returned UNSUPPORTED_ERROR and no data; cleanup now requires that exact code as well.
Troubleshooting: Number API returns both count and total; this run compares total, not the other field, for total records. Importer-access checks use authorizedMembers member_id. Its id identifies the access relationship, not the user. If RED appears publicly, disable the page immediately and inspect maximum markings and object markings. Editing only the private layout does not repair a published filter.
Wrap-up: Keep the original workspace, imported copy, and clearly fictional data for comparison, with the public page disabled. Chapter 18 separately covers internal-member View access, rejected edits, and revocation; anonymous tests do not replace those. Internet-facing deployment, reverse proxies, and cross-version transfer were not tested here.
Acceptance: numbers can be checked, cases have answers, and notifications have owners.
Complete three handover actions: verify dashboard counts against a list, make the RFI completion criteria understandable to another reader, and test notification delivery with one controlled change. If adding Security Coverage, attach actual assessment evidence and scope. OpenCTI then becomes a working environment the team can sustain, rather than only a database.
Final exercise: let a colleague take over the worksheet
Prepare verified Dashboard, RFI, task, and notification records. List untested features separately; successful creation and a passed end-to-end workflow are different claims.
Reopen the dashboard, explain its current author/date scope and counted objects, then open a report from the list to check it.
Follow the report or a saved link to the RFI and ask the reader to explain answered questions and evidence still needed.
Find your two assigned Tasks and confirm that completed tasks have deliverables while incomplete tasks have a next step.
Compare notification records with source-modification times and ensure test rules are disabled or removed. If a digest has not arrived, leave its status pending verification.
Inventory public pages, Custom Views, and test labels that need cleanup. Retain only tutorial artifacts with a clear purpose and traceable provenance.
Acceptance check: The next person can explain what to review today, what remains unfinished, who acts next, and which features still need verification.
If blocked, check: If charts look polished but cannot be traced to source data, add query scope and source links. If a case lacks completion criteria, correct task content first.
Wrap-up: Hand over results together with limitations. Do not leave unowned notifications or public snapshots running.
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.
Progress is saved only in this browser. No account or automatic device sync. Clearing site data also removes progress.