Documentation for people who develop OpenCTEM. To install, configure, operate or use OpenCTEM, see docs.openctem.io (install, configuration, operations).
- Getting started (development)
- Development setup
- Repositories and how the platform fits together
- Architecture overview
- Glossary: one name per concept, for every layer
- RFCs: design documents and decisions
- User guide: the product from a user's point of view
- Web console:
web/docs/
- Setup, coding style, testing, logging
- Migrations
- CI/CD and releases, versioning and releases, version check, versions manifest, sensor compatibility, signing keys
- Pre-commit and security tooling
- Asset type registry, relationship types
- Makefile reference, Swagger annotations
- REST API overview and reference notes (the spec is served at
/openapi.yaml; see the reference notes for who can read it in production) - API conventions, dashboard metrics, list query contract, saved views, findings bulk by filter, findings triage mode, My Work, operations, custom query language, finding practices, held findings, compliance checks, page views and request budgets, console API: screens and their data, console API examples
- Tenant API keys, MCP server, attack paths, MCP authorization (OAuth 2.1), error responses a person reads
- Credential import, suppressions
Foundations
- Overview, OpenCTEM as one machine (organ map and eight flow diagrams, shipped and planned), clean architecture, project structure
- Dashboards: organization and personal, module coupling, limits and feature denies, extensions, extension points and grants, idle-organization policy, organization suspension and account block (runbook), organization deletion grace, ownership invitations for an organization created for an existing account, account space for a person with no organization
- Organization settings, product brand, third-party notices, database notes, row-level security rollout, modules, platform settings in the admin console, sidebar pins, system actors
- Decisions: ADR-001 standard net/http, ADR-002 protocols, ADR-003 connectors, ADR-004 finding provenance
Identity and access
- Authorization matrix (the canonical authorization model), access control rules, generated authorization reference
- User onboarding, sign-up feed and burst alerts, two-factor authentication, platform two-factor floor, step-up re-authentication, session refresh and the rotation grace, linking Google, GitHub and Microsoft sign-in
- SSO authentication, multi-tenant Entra ID model, SAML SSO, SCIM provisioning
- Platform console (its own service, site and plane), Audit hash chain, Security overview and audit log export, Outbound requests, platform permission reference
Assets and scope
- Asset inventory v2, asset schema, asset properties schema
- Asset identity resolution, IP/hostname correlation, deduplication, source priority, attribute reconciliation, freshness and automatic enrichment, asset technologies, software components, software version history
- Asset ownership, asset deletion, asset group recalculation, smart asset groups, criticality propagation, asset risk score, scoring versions, finding severity override, SLA clock and escalation, finding verification plan, asset risk governance
- Data provenance, component relationships, web surface, web content pipeline, web path discovery
- Scoping overview, active-probe gate, replacing a scope entry's pattern, scope entries on provider shared addresses
- EASM, exposure taxonomy and monitoring state, EASM DNS checks, certificate transparency monitoring, change detection
- Provider shared addresses: the one-time move (runbook)
Sensors and scanning
- Sensor and platform workflow (the end-to-end flow and its failure paths), sensors, sensor identity, sensor pairing, sensor readiness, sensor ↔ platform trust, signed jobs, result binding, sensor relay, AI analyze contract, AI harness, sensor transport v3, sensor proxies, task secrets, scan identification markers
- Scan lifecycle, scan orchestration, scan stages, scan zones, placement, job dispatch, scan naming
- Scan targets, scan ownership, managed scans, scan approval, scan intensity, scan windows, asset coverage, asset liveness, code scanning
- Tool contract, tool availability, secret scanning, credential leaks
- Content packs, content catalog: signed content packages, offline import, installs and revocation. Wordlists: the first-party packs. Feed transfer.
- Detection rules: web fingerprint and sensitive-information rules, built-in packs, organization rules, masked secret exposures
- Rule sources: git repositories the platform syncs rules from, snapshots, promotion and rollback
- Rule sources: a scan runs the platform's rules, the organization's templates, or both in one run
- Platform contracts: the platform depends on contracts only, never on a sensor or the SDK
- CI runner identity and gate, shift-left CI scanning, branch-only findings
- Scan coverage (Tenable), Tenable.sc connector
- Connector framework and run modes: sensor-run pull, platform request/response and push-in connectors, the shared kit, matching and precedence, signed connector packs
Findings and prioritization
- Vulnerability model, vulnerability page, emerging-threat alerts, finding import, import and run receipts, finding sightings (who reported a finding), finding source records (what each source reported), exploration: how we found this, leads and next steps, import mappings, bug-bounty and disclosure reports, finding source interop, finding evidence, finding lifecycles (sub-statuses and schemes), file storage,
not_observedstatus, finding write concurrency (row_version) - Vulnerability matching, finding status lifecycle, finding closure, suppression rules, cross-rule correlation, finding title and target, append-only comments, informational findings in the work views, participants and watchers, bug-bounty programs
- Global catalog trust, priority explainability, CTEM-ID mapping, AI triage, AI agents that organizations build, Intelligence feeds status, AI agents, AI use cases, changes AI agents make without a person, AI context masking, knowledge for AI agents
- Validation engine, continuous retest, finding retest checks, retest strategy by provenance
Mobilization, automation and reporting
- Remediation tasks, remediation campaigns, campaign Jira sync, ticketing (Jira), ticket create policy, GitHub Issues ticketing, ticket field and status mapping
- Automations, notification system, durable jobs, SIEM ingest
- Dashboards: fact layer, CTEM program metrics, CTEM definition of done, report PDF export, pentest report templates, pentest remediation and retest, pentest campaign phases, delivery and sign-off, pentest campaign profile, pentest methodology checklists
- API ↔ CTIS decoupling
- CTIS 2.0 receiver
- Pair a sensor, fix a sensor's setup checklist, sensors behind a private CA
- Connect CI pipelines, GitLab CI, post the CI gate to GitLab merge requests, register the OpenCTEM GitHub App
- Verify a domain for EASM, EASM monitoring settings
- Mark things out of scope, and how it reaches sensors
- Blocked target names and exceptions (platform owners)
- Send mail without an online provider
- Configure Microsoft Entra ID, SCIM provisioning, give a team access
- Configure Jira ticketing, SIEM forwarding
Install and day-to-day operation are documented at docs.openctem.io. These runbooks stay with the code because they change with it:
- Upgrading from v0.8 to v0.9
- Upgrading to CTIS 2.0
- Monitoring and alerting
- Diagnose and get support:
server doctor(what is wrong and how to fix it) andserver support-bundle(an archive without your data, to send to whoever helps you) - Hotfix and incident response: severity, containment, hotfix release, deploy, rollback, disclosure
- Moving provider shared addresses into their names' history: the
provider-addressescommand (dry run, apply, restore) - Environment variable reference (generated from
internal/config/env_registry.yamlbymake env-docs) - Safe deploy and migrations
- Least-privilege database roles
- Rotating
APP_ENCRYPTION_KEY - Docker (development), Kubernetes requirements, Redis
- Install from the release archives (no containers, systemd)
- Private registries and air-gapped installs