A working homepage is good news. It is only the first check.
The image downloads and first initialization are behind you. Before enabling every feed, perform a small but complete acceptance check: services respond, authentication works, data can be created and read back, and background processing can handle work.
Keep a record of these checks as a baseline for upgrades and migrations. When someone says ‘it worked yesterday,’ you will know exactly what passed yesterday.
Check the endpoint from the host first.
docker compose ps
curl -s -o /dev/null -w 'HTTP %{http_code}\n' http://localhost:18080/The homepage should return a successful HTTP response. A result of 000 generally means no HTTP response was received; check services, ports, and connectivity first. A 4xx or 5xx response means you reached an HTTP endpoint, but you still need to determine whether the platform or an intermediate proxy responded. This command does not test login or database contents and cannot replace a functional test.
The lab's Compose configuration calls the platform health endpoint with a dedicated health-check key. Do not expose that key in browser screenshots or a shared terminal for convenience. The container's healthy status is sufficient as the first layer of evidence.
At first login, establish which identity you are using.
- Open
http://localhost:18080in a local browser. This is the lab platform;octi-zh.sectools.twis the teaching website. They are separate services. - Use the
lab/.envfile'sOPENCTI_ADMIN_EMAILandOPENCTI_ADMIN_PASSWORDvalues. Read them locally in a text editor rather than printing them into shared records. - After signing in, confirm the current account and platform version, then locate reports, observables, threats, and settings. Interface language, menu layout, and visible features may differ by version and permissions.
- Keep the administrator account for lab configuration. For real collaboration, create ordinary users with suitable roles instead of sharing one administrator password.
On November 29, 2026, password login was completed in a local browser, and the homepage and teaching report were confirmed readable. A successful API token check does not establish that every UI operation was tested; these forms of evidence are recorded separately.
EnlargeFor API reads, check the response data and the errors field.
A GraphQL request can return HTTP 200 while its response still contains errors. The API chapter provides a complete Python example that prompts for a token interactively, keeping secrets out of source code and shell history.
query HandbookVersion {
about {
version
}
}Expect a platform version with no GraphQL errors. The returned version should match the deployment plan. If it does not, check the endpoint and Docker context before changing the expected test result.
Use a small dataset to verify that knowledge is actually stored.
The shared fictional case is ‘SecTools Lab — 釣魚事件建模練習’ (a phishing incident modeling exercise). It contains a report, an intrusion set, a malware object, an example domain, and a ‘uses’ relationship. All names are educational examples. Do not use the sample domain as a real blocking indicator.
Create the case manually using the report chapter, or reproduce it with the verification scripts. Acceptance requires more than a successful API mutation: query the report again, check its included objects, and confirm the relationship's source and target. On a second run, verify that the same data is reused rather than creating another report with the same name.
Commands, outputs, and downloadable examples for the complete local test are collected in the Docker verification record. This lets you distinguish observed execution results from explanations of how the workflow operates.
Leave a checklist for the next upgrade.
| Check | Evidence of success | Where to investigate a failure |
|---|---|---|
| Dependencies and platform | Health checks pass and services are not repeatedly restarting | Resources, kernel parameters, configuration, and dependency logs |
| HTTP endpoint | The host receives a successful response from the homepage | Ports, context, URL, and proxy |
| Identity and API | Authenticated queries succeed without GraphQL errors | Token, permissions, and expiration |
| Data writes | The same report and relationship can be read back after creation | Write permissions, confidence ceiling, and data fields |
| Background jobs | Work is processed and its results can be retrieved | Connector, RabbitMQ, worker, and job errors |
| Persistence | Previously verified data remains readable after a restart | Volumes and Compose project name |
Completing this checklist says much more than ‘the screen looks fine.’ You are turning a tool into a maintainable working environment rather than relying on a one-off successful installation.
See the official getting-started guide and official API documentation. To apply this approach to other security tools, explore more practical security work at SecTools.tw.
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.