internal/

directory
v0.0.0-...-27e7fae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: GPL-3.0

Directories

Path Synopsis
Package adminbootstrap creates the first platform administrators and their break-glass backup (the bootstrap-admin command, RFC-022 revision 4), and optionally the first organization with its owner (see organization.go).
Package adminbootstrap creates the first platform administrators and their break-glass backup (the bootstrap-admin command, RFC-022 revision 4), and optionally the first organization with its owner (see organization.go).
app
Package app provides adapters for connecting services to sub-packages.
Package app provides adapters for connecting services to sub-packages.
accesscontrol
Package accesscontrol provides the application-layer services for the 2-layer access control model (RBAC roles + Groups data scope).
Package accesscontrol provides the application-layer services for the 2-layer access control model (RBAC roles + Groups data scope).
accessrequest
Package accessrequest runs the request-access queue: people who cannot sign up (sign-up policy admin_only, request access on) ask for an organization; a platform administrator approves (the organization is created with the requester as owner) or rejects (docs/architecture/user-onboarding.md, "Request access").
Package accessrequest runs the request-access queue: people who cannot sign up (sign-up policy admin_only, request access on) ask for an organization; a platform administrator approves (the organization is created with the requester as owner) or rejects (docs/architecture/user-onboarding.md, "Request access").
accountdeletion
Package accountdeletion lets a person delete their own account (docs/rfcs/RFC-104).
Package accountdeletion lets a person delete their own account (docs/rfcs/RFC-104).
activity
Package activity provides the application service that records, queries, and aggregates user-facing activity events (asset created, finding reopened, scan triggered, etc).
Package activity provides the application service that records, queries, and aggregates user-facing activity events (asset created, finding reopened, scan triggered, etc).
actscope
Package actscope decides which scan targets an actor may scan (research/15 L-06, owner decision D9).
Package actscope decides which scan targets an actor may scan (research/15 L-06, owner decision D9).
adminapproval
Package adminapproval is the four-eyes rule of the platform console: a catastrophic action by one super admin needs the approval of another (docs/architecture/platform-console.md, "Four-eyes approvals").
Package adminapproval is the four-eyes rule of the platform console: a catastrophic action by one super admin needs the approval of another (docs/architecture/platform-console.md, "Four-eyes approvals").
adminconsole
Package adminconsole implements the platform admin console session (RFC-022, docs/rfcs/RFC-022-platform-admin-console.md).
Package adminconsole implements the platform admin console session (RFC-022, docs/rfcs/RFC-022-platform-admin-console.md).
aianalysis
Package aianalysis manages AI agents: service accounts that take part in triage like a person (same commands, permissions, approvals and audit; the only difference is the AI label and provenance), each with accountable owners who answer for its results, and the ledger of their runs.
Package aianalysis manages AI agents: service accounts that take part in triage like a person (same commands, permissions, approvals and audit; the only difference is the AI label and provenance), each with accountable owners who answer for its results, and the ledger of their runs.
aibundle
Package aibundle builds the context bundle the platform sends to an AI model about one finding: the fields the use case's data class ceiling allows, each masked (internal fields under the organization's masking policy, restricted fields with every class masked), untrusted text fenced, and a digest the run records.
Package aibundle builds the context bundle the platform sends to an AI model about one finding: the fields the use case's data class ceiling allows, each masked (internal fields under the organization's masking policy, restricted fields with every class masked), untrusted text fenced, and a digest the run records.
aiknowledge
Package aiknowledge manages the knowledge an organization gives its AI agents and retrieves it for a run: sources with a visibility and a data class, document versions that a second person approves before any AI agent can retrieve them, secret refusal and prompt-injection quarantine at ingest, lexical retrieval scoped by the AI agent's own principal, and the record of what each run saw.
Package aiknowledge manages the knowledge an organization gives its AI agents and retrieves it for a run: sources with a visibility and a data class, document versions that a second person approves before any AI agent can retrieve them, secret refusal and prompt-injection quarantine at ingest, lexical retrieval scoped by the AI agent's own principal, and the record of what each run saw.
aimaskmap
Package aimaskmap keeps, per AI run, the masking key and the placeholder map the platform needs to turn a model's output back into real values.
Package aimaskmap keeps, per AI run, the masking key and the placeholder map the platform needs to turn a model's output back into real values.
aipolicy
Package aipolicy decides whether finding content may leave the platform for an AI model: the organization's own AI application over MCP, or the platform's AI triage.
Package aipolicy decides whether finding content may leave the platform for an AI model: the organization's own AI application over MCP, or the platform's AI triage.
aiprompt
Package aiprompt holds the prompt-injection defenses every AI prompt the platform builds shares: Unicode normalisation, the known-injection filter and the nonce fence around untrusted text.
Package aiprompt holds the prompt-injection defenses every AI prompt the platform builds shares: Unicode normalisation, the known-injection filter and the nonce fence around untrusted text.
aitriage
Package aitriage implements the application service for the aitriage bounded context — orchestrates pkg/domain/aitriage entities and cross-cutting concerns (audit, notifications, RBAC).
Package aitriage implements the application service for the aitriage bounded context — orchestrates pkg/domain/aitriage entities and cross-cutting concerns (audit, notifications, RBAC).
apikey
Package apikey implements the application service for the apikey bounded context — orchestrates pkg/domain/apikey entities and cross-cutting concerns (audit, notifications, RBAC).
Package apikey implements the application service for the apikey bounded context — orchestrates pkg/domain/apikey entities and cross-cutting concerns (audit, notifications, RBAC).
apispec
Package apispec manages the API descriptions of origin assets and their drift against what scans observed (docs/rfcs/RFC-056-web-attack-surface.md WS13).
Package apispec manages the API descriptions of origin assets and their drift against what scans observed (docs/rfcs/RFC-056-web-attack-surface.md WS13).
asset
Package asset implements the application service for the asset bounded context — orchestrates pkg/domain/asset entities and cross-cutting concerns (audit, notifications, RBAC).
Package asset implements the application service for the asset bounded context — orchestrates pkg/domain/asset entities and cross-cutting concerns (audit, notifications, RBAC).
assetcanon
Package assetcanon moves stored asset names to the names ingest gives the same assets under CTIS 2.0 (docs/architecture/ctis-receiver.md and docs/operations/ctis-2-upgrade.md).
Package assetcanon moves stored asset names to the names ingest gives the same assets under CTIS 2.0 (docs/architecture/ctis-receiver.md and docs/operations/ctis-2-upgrade.md).
assetdiscovery
Package assetdiscovery turns attack-surface growth into tenant notifications: newly discovered internet-facing assets, and existing assets a re-scan turned internet-facing.
Package assetdiscovery turns attack-surface growth into tenant notifications: newly discovered internet-facing assets, and existing assets a re-scan turned internet-facing.
assetfreshness
Package assetfreshness records when each enrichable attribute class of an asset was last observed and serves the asset's freshness (docs/architecture/asset-freshness.md).
Package assetfreshness records when each enrichable attribute class of an asset was last observed and serves the asset's freshness (docs/architecture/asset-freshness.md).
assettech
Package assettech runs the asset technology jobs.
Package assettech runs the asset technology jobs.
assignment
Package assignment implements the application service for the assignment bounded context — orchestrates pkg/domain/assignment entities and cross-cutting concerns (audit, notifications, RBAC).
Package assignment implements the application service for the assignment bounded context — orchestrates pkg/domain/assignment entities and cross-cutting concerns (audit, notifications, RBAC).
attack
Package attack implements the application service for the attack bounded context — orchestrates pkg/domain/attack entities and cross-cutting concerns (audit, notifications, RBAC).
Package attack implements the application service for the attack bounded context — orchestrates pkg/domain/attack entities and cross-cutting concerns (audit, notifications, RBAC).
audit
Package audit implements the application service for the audit bounded context — orchestrates pkg/domain/audit entities and cross-cutting concerns (audit, notifications, RBAC).
Package audit implements the application service for the audit bounded context — orchestrates pkg/domain/audit entities and cross-cutting concerns (audit, notifications, RBAC).
audit/chainclassify
Package chainclassify explains why each audit_log_chain row does or does not verify.
Package chainclassify explains why each audit_log_chain row does or does not verify.
audit/chainclassify/chaintest
Package chaintest seeds audit_log_chain rows in the shapes the historical hashing defects left behind, for DB-backed tests of classification and rebaseline.
Package chaintest seeds audit_log_chain rows in the shapes the historical hashing defects left behind, for DB-backed tests of classification and rebaseline.
auth
Package auth implements the application service for the auth bounded context — orchestrates pkg/domain/auth entities and cross-cutting concerns (audit, notifications, RBAC).
Package auth implements the application service for the auth bounded context — orchestrates pkg/domain/auth entities and cross-cutting concerns (audit, notifications, RBAC).
auth/domainverify
Package domainverify implements DNS-TXT domain-ownership verification and the verified-domain gate for SSO JIT auto-provisioning (SSO P1).
Package domainverify implements DNS-TXT domain-ownership verification and the verified-domain gate for SSO JIT auto-provisioning (SSO P1).
automation
Package automation implements the application service for automations (event rules When/If/Then) — orchestrates pkg/domain/automation entities and cross-cutting concerns (audit, notifications, RBAC).
Package automation implements the application service for automations (event rules When/If/Then) — orchestrates pkg/domain/automation entities and cross-cutting concerns (audit, notifications, RBAC).
bountyprogram
Package bountyprogram imports and runs the bug-bounty programs an organization follows (RFC-065, docs/architecture/bounty-programs.md).
Package bountyprogram imports and runs the bug-bounty programs an organization follows (RFC-065, docs/architecture/bounty-programs.md).
capability
Package capability implements the application service for the capability bounded context — orchestrates pkg/domain/capability entities and cross-cutting concerns (audit, notifications, RBAC).
Package capability implements the application service for the capability bounded context — orchestrates pkg/domain/capability entities and cross-cutting concerns (audit, notifications, RBAC).
certificate
Package certificate serves the Certificates view: lists and counts compiled as the caller through the list query contract, so the tenant and the caller's data scope on the certificate asset are always in the WHERE.
Package certificate serves the Certificates view: lists and counts compiled as the caller through the list query contract, so the tenant and the caller's data scope on the certificate asset are always in the WHERE.
certmonitor
Package certmonitor implements OpenCTEM's Certificate-Transparency (CT) discovery source: a scheduled, per-tenant poller that queries public CT data (crt.sh, with SSLMate Cert Spotter as the fallback) for the tenant's own domains and emits first-class ExposureEvents.
Package certmonitor implements OpenCTEM's Certificate-Transparency (CT) discovery source: a scheduled, per-tenant poller that queries public CT data (crt.sh, with SSLMate Cert Spotter as the fallback) for the tenant's own domains and emits first-class ExposureEvents.
cirun
Package cirun runs the CI side of the platform: the OIDC token exchange that gives a pipeline run a short-lived upload token, the upload of its results, and the central gate verdict.
Package cirun runs the CI side of the platform: the OIDC token exchange that gives a pipeline run a short-lived upload token, the upload of its results, and the central gate verdict.
closuremode
Package closuremode is the organization's closing mode in front of every writer that closes findings without a person (docs/architecture/ finding-verification-plan.md, "Closing mode").
Package closuremode is the organization's closing mode in front of every writer that closes findings without a person (docs/architecture/ finding-verification-plan.md, "Closing mode").
codescan
Package codescan manages platform code scanning of repositories: the tenant's template, each repository's settings, and the baseline state of its protected branches.
Package codescan manages platform code scanning of repositories: the tenant's template, each repository's settings, and the baseline state of its protected branches.
command
Package command implements the application service for the command bounded context — orchestrates pkg/domain/command entities and cross-cutting concerns (audit, notifications, RBAC).
Package command implements the application service for the command bounded context — orchestrates pkg/domain/command entities and cross-cutting concerns (audit, notifications, RBAC).
commandlog
Package commandlog keeps the per-task logs sensors send (sensor protocol v2, POST /api/v2/sensor/commands/{id}/logs; docs/rfcs/RFC-029-sensor- protocol-v2-and-sdk-stability.md §4.4.1) and serves them to the run page.
Package commandlog keeps the per-task logs sensors send (sensor protocol v2, POST /api/v2/sensor/commands/{id}/logs; docs/rfcs/RFC-029-sensor- protocol-v2-and-sdk-stability.md §4.4.1) and serves them to the run page.
compliance
Package compliance implements the application service for the compliance bounded context — orchestrates pkg/domain/compliance entities and cross-cutting concerns (audit, notifications, RBAC).
Package compliance implements the application service for the compliance bounded context — orchestrates pkg/domain/compliance entities and cross-cutting concerns (audit, notifications, RBAC).
configoverview
Package configoverview lists the installation's operator settings for the platform console's Configuration page: for each one, whether it is managed in the console or on the server, where the effective value comes from (console, environment or built-in default), whether changing it needs a restart, and which console page changes it.
Package configoverview lists the installation's operator settings for the platform console's Configuration page: for each one, whether it is managed in the console or on the server, where the effective value comes from (console, environment or built-in default), whether changing it needs a restart, and which console page changes it.
connector
Package connector defines the common contract for cloud / infra asset-inventory connectors (AWS, GCP, Azure, Kubernetes, git-host).
Package connector defines the common contract for cloud / infra asset-inventory connectors (AWS, GCP, Azure, Kubernetes, git-host).
consolesetting
Package consolesetting holds the shared mechanics of a platform setting that moved from an environment variable into the platform console:
Package consolesetting holds the shared mechanics of a platform setting that moved from an environment variable into the platform console:
consolesetting/consolesettingtest
Package consolesettingtest holds the in-memory doubles the tests of the console settings share: a platform_settings store, an admin audit log, a notifier, a real cipher and a super admin.
Package consolesettingtest holds the in-memory doubles the tests of the console settings share: a platform_settings store, an admin audit log, a notifier, a real cipher and a super admin.
contentcatalog
Package contentcatalog is the application service of the content catalog: offline import of signed bundles into the instance catalog, and per organization install, update, pin, rollback and uninstall with an optional approval step and an audit row per action.
Package contentcatalog is the application service of the content catalog: offline import of signed bundles into the instance catalog, and per organization install, update, pin, rollback and uninstall with an optional approval step and an audit row per action.
contentpack
Package contentpack is the application service of the content pack store: ingest (canonical archive, lint, tier, credential scan), signing, storage, listing and revocation, with audit.
Package contentpack is the application service of the content pack store: ingest (canonical archive, lint, tier, credential scan), signing, storage, listing and revocation, with audit.
contentpack/contentpacktest
Package contentpacktest builds packs for tests that go through the whole upload path.
Package contentpacktest builds packs for tests that go through the whole upload path.
contentpin
Package contentpin plans the content a scan job pins at dispatch (RFC-061 §3.7, docs/architecture/content-packs.md): the platform wordlist pack the job's depth selects, named by digest, and the lists generated for the job from the organization's own data, carried inline.
Package contentpin plans the content a scan job pins at dispatch (RFC-061 §3.7, docs/architecture/content-packs.md): the platform wordlist pack the job's depth selects, named by digest, and the lists generated for the job from the organization's own data, carried inline.
contentpin/builtin
Package builtin holds the curated wordlist packs of the current release, embedded in the API so subdomain enumeration works on a fresh install with no import and no internet access (docs/architecture/wordlists.md).
Package builtin holds the curated wordlist packs of the current release, embedded in the API so subdomain enumeration works on a fresh install with no import and no internet access (docs/architecture/wordlists.md).
contentrule
Package contentrule runs detection rules on the platform (docs/rfcs/RFC-140-rule-packs.md, docs/architecture/rule-packs.md): it builds each organization's engine from the stable platform rule packs and the organization's own enabled rules, scans web documents with it, and turns secret matches into exposures.
Package contentrule runs detection rules on the platform (docs/rfcs/RFC-140-rule-packs.md, docs/architecture/rule-packs.md): it builds each organization's engine from the stable platform rule packs and the organization's own enabled rules, scans web documents with it, and turns secret matches into exposures.
contentrule/builtin
Package builtin holds the curated detection rule packs of this build: web fingerprint rules and sensitive-information rules, written for this project (docs/architecture/rule-packs.md).
Package builtin holds the curated detection rule packs of this build: web fingerprint rules and sensitive-information rules, written for this project (docs/architecture/rule-packs.md).
contentsource
Package contentsource is the application service of rule sources: an organization's git repositories of rules, templates and wordlists that the platform alone fetches, lints, signs and keeps as immutable snapshots, with candidates, promotion and rollback.
Package contentsource is the application service of rule sources: an organization's git repositories of rules, templates and wordlists that the platform alone fetches, lints, signs and keeps as immutable snapshots, with candidates, promotion and rollback.
coverage
Package coverage drives the asset coverage ledger (docs/rfcs/RFC-093-asset-coverage.md): it keeps the ledger in line with the registry's coverage policy, plans due pairs into work through the scope gate, settles them from their runs, and detects coverage gaps.
Package coverage drives the asset coverage ledger (docs/rfcs/RFC-093-asset-coverage.md): it keeps the ledger in line with the registry's coverage policy, plans due pairs into work through the scope gate, settles them from their runs, and detects coverage gaps.
ctisformats
Package ctisformats registers the CTIS 2.0 standard-format adapters with the CTIS importer (docs/architecture/ctis-receiver.md).
Package ctisformats registers the CTIS 2.0 standard-format adapters with the CTIS importer (docs/architecture/ctis-receiver.md).
dashboard
Package dashboard is the application service for customizable dashboards (docs/architecture/dashboards.md, docs/rfcs/RFC-021-customizable-dashboards.md).
Package dashboard is the application service for customizable dashboards (docs/architecture/dashboards.md, docs/rfcs/RFC-021-customizable-dashboards.md).
dashboard/facts
Package facts is the "Rebuild dashboard data" action over the dashboard fact layer (api/docs/architecture/dashboards.md, "Facts maintainer").
Package facts is the "Rebuild dashboard data" action over the dashboard fact layer (api/docs/architecture/dashboards.md, "Facts maintainer").
dashboard/widgets
Package widgets computes typed dashboard widgets from the dashboard fact tables (docs/architecture/dashboards.md, "Widget data").
Package widgets computes typed dashboard widgets from the dashboard fact tables (docs/architecture/dashboards.md, "Widget data").
datascope
Package datascope enforces the Layer 2 (group) data scope: which assets, and so which findings and other asset-bound rows, a member may see and change.
Package datascope enforces the Layer 2 (group) data scope: which assets, and so which findings and other asset-bound rows, a member may see and change.
defectdojo
Package defectdojo wires the DefectDojo co-existence connector (RFC-013): pull findings from a tenant's DefectDojo integration, convert to CTIS, and ingest them — with OpenCTEM remaining the system of record.
Package defectdojo wires the DefectDojo co-existence connector (RFC-013): pull findings from a tenant's DefectDojo integration, convert to CTIS, and ingest them — with OpenCTEM remaining the system of record.
deploymentregion
Package deploymentregion is the installation's data region: the region every new organization is stamped with at creation (tenants.region, never changed afterwards).
Package deploymentregion is the installation's data region: the region every new organization is stamped with at creation (tenants.region, never changed afterwards).
easm
Package easm serves the External Attack Surface Management overview (RFC-036 §6.10, GET /api/v1/easm/summary): the surface, how much of it is attributed, what is new, the open external exposures and how fresh the passive monitoring is.
Package easm serves the External Attack Surface Management overview (RFC-036 §6.10, GET /api/v1/easm/summary): the surface, how much of it is attributed, what is new, the open external exposures and how fresh the passive monitoring is.
easmdns
Package easmdns runs EASM's DNS-only checks (RFC-036 P1) for each tenant: dangling DNS (a CNAME or delegation pointing at something that does not exist — the subdomain-takeover precondition) and, in email.go, email security posture.
Package easmdns runs EASM's DNS-only checks (RFC-036 P1) for each tenant: dangling DNS (a CNAME or delegation pointing at something that does not exist — the subdomain-takeover precondition) and, in email.go, email security posture.
entitlement
Package entitlement is the one place that answers what an organization may add and use (docs/architecture/limits.md): its effective limits and their usage, the check every creation path calls, the feature denies every module gate and named-feature seam reads, and the grace a lost feature keeps.
Package entitlement is the one place that answers what an organization may add and use (docs/architecture/limits.md): its effective limits and their usage, the check every creation path calls, the feature denies every module gate and named-feature seam reads, and the grace a lost feature keeps.
evidence
Package evidence stores and serves the typed proof attached to findings (docs/architecture/finding-evidence.md): it normalizes and masks what a tool sent, encrypts the secret values apart from the masked item, lists the masked items, and reveals secret values to a person who may see them, with an audit record and a timeline entry for every reveal.
Package evidence stores and serves the typed proof attached to findings (docs/architecture/finding-evidence.md): it normalizes and masks what a tool sent, encrypts the secret values apart from the masked item, lists the masked items, and reveals secret values to a person who may see them, with an audit record and a timeline entry for every reveal.
exposure
Package exposure implements the application service for the exposure bounded context — orchestrates pkg/domain/exposure entities and cross-cutting concerns (audit, notifications, RBAC).
Package exposure implements the application service for the exposure bounded context — orchestrates pkg/domain/exposure entities and cross-cutting concerns (audit, notifications, RBAC).
exposurebridge
Package exposurebridge promotes internal findings that represent an EXPOSURE rather than a code vulnerability into the Exposure Register (the exposure event store), so they show up in the Exposures view continuously — realizing the CTEM Discovery "exposure ≠ vulnerability" principle.
Package exposurebridge promotes internal findings that represent an EXPOSURE rather than a code vulnerability into the Exposure Register (the exposure event store), so they show up in the Exposures view continuously — realizing the CTEM Discovery "exposure ≠ vulnerability" principle.
feedrelay
Package feedrelay is the platform side of the feed relay (docs/rfcs/RFC-142-feed-relay.md): a platform with no outbound access receives its signed feeds through platform-owned sensors that have internet access.
Package feedrelay is the platform side of the feed relay (docs/rfcs/RFC-142-feed-relay.md): a platform with no outbound access receives its signed feeds through platform-owned sensors that have internet access.
feedstatus
Package feedstatus turns the stored progress of a platform-wide intelligence feed (EPSS, CISA KEV, the vulnerability bundles) into what an operator needs: one state, an error code with parameters, honest times.
Package feedstatus turns the stored progress of a platform-wide intelligence feed (EPSS, CISA KEV, the vulnerability bundles) into what an operator needs: one state, an error code with parameters, honest times.
feedsync
Package feedsync runs a platform-wide intelligence feed's sync in the background when an operator asks for it, so the HTTP request does no download or import work.
Package feedsync runs a platform-wide intelligence feed's sync in the background when an operator asks for it, so the HTTP request does no download or import work.
finding
Package finding implements the application service for the finding bounded context — orchestrates pkg/domain/finding entities and cross-cutting concerns (audit, notifications, RBAC).
Package finding implements the application service for the finding bounded context — orchestrates pkg/domain/finding entities and cross-cutting concerns (audit, notifications, RBAC).
findingimport
Package findingimport imports the files other security tools export (Nessus, Qualys, CycloneDX, SPDX, OSV, CSAF, OpenVEX, DefectDojo, ...) uploaded by a person: it converts each file with the ctis importer package, ingests the report with the uploader's rights, and applies the statements of VEX documents to the tenant's matching findings.
Package findingimport imports the files other security tools export (Nessus, Qualys, CycloneDX, SPDX, OSV, CSAF, OpenVEX, DefectDojo, ...) uploaded by a person: it converts each file with the ctis importer package, ingests the report with the uploader's rights, and applies the statements of VEX documents to the tenant's matching findings.
findinglifecycle
Package findinglifecycle manages an organization's finding lifecycles (docs/rfcs/RFC-110-tenant-lifecycles.md): the sub-status catalog, the schemes and their versions (draft, validate, publish, roll back).
Package findinglifecycle manages an organization's finding lifecycles (docs/rfcs/RFC-110-tenant-lifecycles.md): the sub-status catalog, the schemes and their versions (draft, validate, publish, roll back).
importmapping
Package importmapping serves an organization's import mappings: CRUD with immutable versions, validation, a preview on a sample that stores nothing, and the resolution of "format=mapping:<ref>[@<version>]" for imports.
Package importmapping serves an organization's import mappings: CRUD with immutable versions, validation, a preview on a sample that stores nothing, and the resolution of "format=mapping:<ref>[@<version>]" for imports.
ingest
Package ingest provides unified ingestion of assets and findings from various formats.
Package ingest provides unified ingestion of assets and findings from various formats.
ingestqueue
Package ingestqueue accepts CI results and file imports fast and hands them to the ingest worker (docs/rfcs/RFC-122-ingest-receipts.md, "Accept fast, apply async").
Package ingestqueue accepts CI results and file imports fast and hands them to the ingest worker (docs/rfcs/RFC-122-ingest-receipts.md, "Accept fast, apply async").
instancezone
Package instancezone manages instance scan zones (docs/rfcs/RFC-100-shared-sensors.md §6.1): private ranges an instance administrator lets shared sensors scan, the shared sensors that serve each zone and the organizations it is assigned to, and the lookup the scan trigger uses to route an organization's internal target to a shared sensor.
Package instancezone manages instance scan zones (docs/rfcs/RFC-100-shared-sensors.md §6.1): private ranges an instance administrator lets shared sensors scan, the shared sensors that serve each zone and the organizations it is assigned to, and the lookup the scan trigger uses to route an organization's internal target to a shared sensor.
integration
Package integration implements the application service for the integration bounded context — orchestrates pkg/domain/integration entities and cross-cutting concerns (audit, notifications, RBAC).
Package integration implements the application service for the integration bounded context — orchestrates pkg/domain/integration entities and cross-cutting concerns (audit, notifications, RBAC).
ioc
Package ioc wires Indicators of Compromise to the runtime telemetry stream.
Package ioc wires Indicators of Compromise to the runtime telemetry stream.
jira
Package jira implements the application service for the jira bounded context — orchestrates pkg/domain/jira entities and cross-cutting concerns (audit, notifications, RBAC).
Package jira implements the application service for the jira bounded context — orchestrates pkg/domain/jira entities and cross-cutting concerns (audit, notifications, RBAC).
leakedsecretpolicy
Package leakedsecretpolicy decides whether an imported leaked secret value (the password, token or key of a leaked credential) is kept.
Package leakedsecretpolicy decides whether an imported leaked secret value (the password, token or key of a leaked credential) is kept.
licensepolicy
Package licensepolicy evaluates the organization's license policy on its package links and keeps one license finding per asset, package and declared license set that the policy denies (or flags for review, when the organization opts in).
Package licensepolicy evaluates the organization's license policy on its package links and keeps one license finding per asset, package and declared license set that the policy denies (or flags for review, when the organization opts in).
lifecycle
Package lifecycle runs the idle-organization policy (docs/architecture/idle-workspaces.md): the daily sweep that reminds, makes read-only, warns and marks for deletion the organizations nobody signs in to, the read-only check the API applies, and the platform administrator's switch that turns the policy on for one organization.
Package lifecycle runs the idle-organization policy (docs/architecture/idle-workspaces.md): the daily sweep that reminds, makes read-only, warns and marks for deletion the organizations nobody signs in to, the read-only check the API applies, and the platform administrator's switch that turns the policy on for one organization.
mcpoauth
Package mcpoauth is the OAuth 2.1 authorization server of the MCP endpoint: authorization requests, consent, the token and revocation endpoints, and the check every MCP request's access token goes through.
Package mcpoauth is the OAuth 2.1 authorization server of the MCP endpoint: authorization requests, consent, the token and revocation endpoints, and the check every MCP request's access token goes through.
module
Package module implements the application service for the module bounded context — orchestrates pkg/domain/module entities and cross-cutting concerns (audit, notifications, RBAC).
Package module implements the application service for the module bounded context — orchestrates pkg/domain/module entities and cross-cutting concerns (audit, notifications, RBAC).
navpin
Package navpin serves a member's sidebar pins (research/236 C4): a page, a built-in findings quick view or a saved view, with a live count for the two views.
Package navpin serves a member's sidebar pins (research/236 C4): a page, a built-in findings quick view or a saved view, with a live count for the two views.
onboarding
Package onboarding serves the fork a signed-in account without an organization sees (docs/rfcs/RFC-104): its pending invitations, the organizations its verified email domain may join, and whether it may create one.
Package onboarding serves the fork a signed-in account without an organization sees (docs/rfcs/RFC-104): its pending invitations, the organizations its verified email domain may join, and whether it may create one.
orgdeletion
Package orgdeletion deletes organizations after a grace period (docs/architecture/organization-deletion.md).
Package orgdeletion deletes organizations after a grace period (docs/architecture/organization-deletion.md).
orgrelay
Package orgrelay is the platform setting email.tenant_relay: whether an organization's own mail relay carries its organization mail (invitations, account setup, member notices, scheduled reports).
Package orgrelay is the platform setting email.tenant_relay: whether an organization's own mail relay carries its organization mail (invitations, account setup, member notices, scheduled reports).
orgtrust
Package orgtrust manages trusts between organizations (RFC-058): a host organization trusts a home organization, the home organization accepts, and external members from that home may then satisfy the host's SSO and 2FA policy with a session from their home identity provider.
Package orgtrust manages trusts between organizations (RFC-058): a host organization trusts a home organization, the home organization accepts, and external members from that home may then satisfy the host's SSO and 2FA policy with a session from their home identity provider.
outbox
Package outbox implements the application service for the outbox bounded context — orchestrates pkg/domain/outbox entities and cross-cutting concerns (audit, notifications, RBAC).
Package outbox implements the application service for the outbox bounded context — orchestrates pkg/domain/outbox entities and cross-cutting concerns (audit, notifications, RBAC).
pagemon
Package pagemon runs web page monitoring: watch management, the dispatch of due fetches through the coverage path, server-side change detection on fetch results, and alerts.
Package pagemon runs web page monitoring: watch management, the dispatch of due fetches through the coverage path, server-side change detection on fetch results, and alerts.
participation
Package participation serves the watchers of findings and remediation tasks (RFC-120, docs/architecture/participants-and-watchers.md).
Package participation serves the watchers of findings and remediation tasks (RFC-120, docs/architecture/participants-and-watchers.md).
platformai
Package platformai is the platform's own AI provider: the provider, model and API key that organizations in "platform" AI mode use, set by a platform administrator in the console (Settings > AI provider) instead of AI_PLATFORM_PROVIDER, AI_PLATFORM_MODEL and ANTHROPIC/OPENAI/GEMINI_API_KEY and a restart.
Package platformai is the platform's own AI provider: the provider, model and API key that organizations in "platform" AI mode use, set by a platform administrator in the console (Settings > AI provider) instead of AI_PLATFORM_PROVIDER, AI_PLATFORM_MODEL and ANTHROPIC/OPENAI/GEMINI_API_KEY and a restart.
platformalert
Package platformalert is the platform's alert webhook: an HTTPS address, set by a platform administrator in the console (Settings > Alerts), that receives the alerts the API raises for administrators (low disk space, stale backups, expiring certificates, console setting changes) next to the e-mail.
Package platformalert is the platform's alert webhook: an HTTPS address, set by a platform administrator in the console (Settings > Alerts), that receives the alerts the API raises for administrators (low disk space, stale backups, expiring certificates, console setting changes) next to the e-mail.
platformcaptcha
Package platformcaptcha is the platform's CAPTCHA (Cloudflare Turnstile): the site key and secret key a platform administrator sets in the console (Settings > CAPTCHA) instead of CAPTCHA_TURNSTILE_SITE_KEY and CAPTCHA_TURNSTILE_SECRET and a restart.
Package platformcaptcha is the platform's CAPTCHA (Cloudflare Turnstile): the site key and secret key a platform administrator sets in the console (Settings > CAPTCHA) instead of CAPTCHA_TURNSTILE_SITE_KEY and CAPTCHA_TURNSTILE_SECRET and a restart.
platformemail
Package platformemail is the platform's own e-mail (SMTP) settings, set by a platform administrator in the admin console (Settings > E-mail) instead of SMTP_* environment variables.
Package platformemail is the platform's own e-mail (SMTP) settings, set by a platform administrator in the admin console (Settings > E-mail) instead of SMTP_* environment variables.
platformlegal
Package platformlegal is the operator's legal information (links to the terms and privacy policy, the built-in legal pages' values, the security.txt contact), set by a platform administrator in the admin console (Settings > Legal) instead of LEGAL_* / SECURITY_* environment variables of the web console.
Package platformlegal is the operator's legal information (links to the terms and privacy policy, the built-in legal pages' values, the security.txt contact), set by a platform administrator in the admin console (Settings > Legal) instead of LEGAL_* / SECURITY_* environment variables of the web console.
platformmfa
Package platformmfa is the platform setting auth.mfa: the lowest two-factor requirement every organization carries (the floor).
Package platformmfa is the platform setting auth.mfa: the lowest two-factor requirement every organization carries (the floor).
platformrole
Package platformrole manages who holds which platform role (RFC-134): the console's own role assignments, never the tenant roles.
Package platformrole manages who holds which platform role (RFC-134): the console's own role assignments, never the tenant roles.
platformsociallogin
Package platformsociallogin is the platform's social login (Google, GitHub, Microsoft): the client ID, client secret, scopes and on/off switch a platform administrator sets per provider in the console (Settings > Social login) instead of OAUTH_<PROVIDER>_* and a restart.
Package platformsociallogin is the platform's social login (Google, GitHub, Microsoft): the client ID, client secret, scopes and on/off switch a platform administrator sets per provider in the console (Settings > Social login) instead of OAUTH_<PROVIDER>_* and a restart.
platformuser
Package platformuser holds the platform admin console's support actions on one account (Console > Users, RFC-022): revoke its sessions, unlock it, send a password reset, resend email verification.
Package platformuser holds the platform admin console's support actions on one account (Console > Users, RFC-022): revoke its sessions, unlock it, send a password reset, resend email verification.
posture
Package posture serves the external attack surface posture score (docs/architecture/easm-posture.md): the precomputed per-asset facts are rebuilt on each organization's schedule or on Recalculate now, and every read sums the facts of the assets the reader may see, compiled through the list query contract, so the tenant and the data scope are always in the WHERE.
Package posture serves the external attack surface posture score (docs/architecture/easm-posture.md): the precomputed per-asset facts are rebuilt on each organization's schedule or on Recalculate now, and every read sums the facts of the assets the reader may see, compiled through the list query contract, so the tenant and the data scope are always in the WHERE.
programfeed
Package programfeed imports the signed public program feed into the platform catalog and brings every subscribed program up to date (RFC-065 §16, docs/architecture/bounty-programs.md).
Package programfeed imports the signed public program feed into the platform catalog and brings every subscribed program up to date (RFC-065 §16, docs/architecture/bounty-programs.md).
programtarget
Package programtarget ingests bug-bounty program targets as the tenant's assets through the standard CTIS ingest (RFC-065 §16.8, docs/rfcs/RFC-065-bug-bounty-programs.md) and records which assets are a program's targets.
Package programtarget ingests bug-bounty program targets as the tenant's assets through the standard CTIS ingest (RFC-065 §16.8, docs/rfcs/RFC-065-bug-bounty-programs.md) and records which assets are a program's targets.
proxypool
Package proxypool is the application service for sensor proxy pools: pool and endpoint management with encrypted, write-only credentials, the network path of each sensor, the egress a scan job gets at delivery, the credentials a leasing sensor fetches, and the health the platform scores from sensor reports.
Package proxypool is the application service for sensor proxy pools: pool and endpoint management with encrypted, write-only credentials, the network path of each sensor, the egress a scan job gets at delivery, the credentials a leasing sensor fetches, and the health the platform scores from sensor reports.
query
Package query runs custom queries (docs/architecture/query-language.md) for a request's caller: it resolves the caller's principal (tenant, data scope, permissions) on the server, builds the plan with pkg/querylang, bounds concurrency per user and per tenant, and hands the plan to the executor.
Package query runs custom queries (docs/architecture/query-language.md) for a request's caller: it resolves the caller's principal (tenant, data scope, permissions) on the server, builds the plan with pkg/querylang, bounds concurrency per user and per tenant, and hands the plan to the executor.
reclassify
Package reclassify recomputes the priority class and SLA deadline of open findings from the durable finding-priority queue (docs/architecture/scoring-versions.md).
Package reclassify recomputes the priority class and SLA deadline of open findings from the durable finding-priority queue (docs/architecture/scoring-versions.md).
refingerprint
Package refingerprint re-keys stored findings to the current identity recipe (RFC-043 §6).
Package refingerprint re-keys stored findings to the current identity recipe (RFC-043 §6).
rekey
Package rekey re-encrypts every value the platform stores under APP_ENCRYPTION_KEY with a new key, in one transaction (cmd/rekey).
Package rekey re-encrypts every value the platform stores under APP_ENCRYPTION_KEY with a new key, in one transaction (cmd/rekey).
remediation
Package remediation implements the application service for remediation groups (RFC-015): grouping findings by the fix that resolves them and resolving a whole group in one action.
Package remediation implements the application service for remediation groups (RFC-015): grouping findings by the fix that resolves them and resolving a whole group in one action.
retest
Package retest runs continuous retests (RFC-039, docs/rfcs/RFC-039-continuous-retest.md): it re-checks a finding against the finding's own target and settles the finding — fixed, still present (regression reopen) or unknown.
Package retest runs continuous retests (RFC-039, docs/rfcs/RFC-039-continuous-retest.md): it re-checks a finding against the finding's own target and settles the finding — fixed, still present (regression reopen) or unknown.
retestcheck
Package retestcheck manages a finding's retest check: the custom check a person attaches to a finding so that its retest re-runs it.
Package retestcheck manages a finding's retest check: the custom check a person attaches to a finding so that its retest re-runs it.
savedview
Package savedview manages saved list views (UI style contract D15, research 17 R3, docs/rfcs/RFC-048-list-query-contract.md §3.6).
Package savedview manages saved list views (UI style contract D15, research 17 R3, docs/rfcs/RFC-048-list-query-contract.md §3.6).
sbomexport
Package sbomexport writes a software bill of materials from the components the platform stores, as CycloneDX 1.6 JSON or SPDX 2.3 JSON.
Package sbomexport writes a software bill of materials from the components the platform stores, as CycloneDX 1.6 JSON or SPDX 2.3 JSON.
scan
Package scan implements the application service for the scan bounded context — orchestrates pkg/domain/scan entities and cross-cutting concerns (audit, notifications, RBAC).
Package scan implements the application service for the scan bounded context — orchestrates pkg/domain/scan entities and cross-cutting concerns (audit, notifications, RBAC).
scancoverage
Package scancoverage holds the pure, IO-free planning logic for license-aware rolling scan coverage (RFC-007): how big a batch may be under a scanner's license, and which assets to scan next.
Package scancoverage holds the pure, IO-free planning logic for license-aware rolling scan coverage (RFC-007): how big a batch may be under a scanner's license, and which assets to scan next.
scangov
Package scangov is scan approval governance (RFC-073, docs/rfcs/RFC-073-scan-approval-governance.md): the organization's approval settings (the mode an owner chooses and the approval rules).
Package scangov is scan approval governance (RFC-073, docs/rfcs/RFC-073-scan-approval-governance.md): the organization's approval settings (the mode an owner chooses and the approval rules).
scanidentity
Package scanidentity is the platform layer of the scan identification markers: an instance-wide User-Agent and up to four request headers every organization's scan jobs carry, each optionally enforced (no organization, program or sensor-local layer replaces it).
Package scanidentity is the platform layer of the scan identification markers: an instance-wide User-Agent and up to four request headers every organization's scan jobs carry, each optionally enforced (no organization, program or sensor-local layer replaces it).
scanpolicy
Package scanpolicy serves the platform policy for scan approval (RFC-073, docs/rfcs/RFC-073-scan-approval-governance.md §5): a platform default and a per-organization override, set only by a platform administrator, that lets the organization choose its scan approval mode or forces one; and the effective mode of an organization (its owner's choice under that policy).
Package scanpolicy serves the platform policy for scan approval (RFC-073, docs/rfcs/RFC-073-scan-approval-governance.md §5): a platform default and a per-organization override, set only by a platform administrator, that lets the organization choose its scan approval mode or forces one; and the effective mode of an organization (its owner's choice under that policy).
scanrun
Package scan workflow provides adapters to bridge app types with scan workflow interfaces.
Package scan workflow provides adapters to bridge app types with scan workflow interfaces.
scanwindow
Package scanwindow applies scan window policies (RFC-067, docs/architecture/scan-windows.md): it finds the sources that govern a target (resolver.go) and manages policies and overrides (service.go).
Package scanwindow applies scan window policies (RFC-067, docs/architecture/scan-windows.md): it finds the sources that govern a target (resolver.go) and manages policies and overrides (service.go).
scanzone
Package scanzone is the application service for scan zones: CRUD, sensor assignment and the coverage view.
Package scanzone is the application service for scan zones: CRUD, sensor assignment and the coverage view.
scim
Package scim implements SCIM 2.0 provisioning (RFC-009): per-tenant bearer tokens and the User provisioning that maps SCIM operations onto OpenCTEM users + tenant memberships.
Package scim implements SCIM 2.0 provisioning (RFC-009): per-tenant bearer tokens and the User provisioning that maps SCIM operations onto OpenCTEM users + tenant memberships.
scmapp
Package scmapp binds code-host app installations to organizations and handles the code host's installation webhooks (docs/rfcs/RFC-077-ci-enforced-gate-and-pr-feedback.md, section 3.3).
Package scmapp binds code-host app installations to organizations and handles the code host's installation webhooks (docs/rfcs/RFC-077-ci-enforced-gate-and-pr-feedback.md, section 3.3).
scope
Package scope implements the application service for the scope bounded context — orchestrates pkg/domain/scope entities and cross-cutting concerns (audit, notifications, RBAC).
Package scope implements the application service for the scope bounded context — orchestrates pkg/domain/scope entities and cross-cutting concerns (audit, notifications, RBAC).
scopeauth
Package scopeauth is the one answer to "has this tenant authorized active probes of this name or address?" (RFC-054 §4.2 step 6).
Package scopeauth is the one answer to "has this tenant authorized active probes of this name or address?" (RFC-054 §4.2 step 6).
securityoverview
Package securityoverview computes the organization's security overview: a short list of posture checks (sign-in, people, credentials, scanning, organization) with a status each and one score.
Package securityoverview computes the organization's security overview: a short list of posture checks (sign-in, people, credentials, scanning, organization) with a status each and one score.
sensor
Package sensor implements the application service for the sensor bounded context — orchestrates pkg/domain/sensor entities and cross-cutting concerns (audit, notifications, RBAC).
Package sensor implements the application service for the sensor bounded context — orchestrates pkg/domain/sensor entities and cross-cutting concerns (audit, notifications, RBAC).
sensorgrant
Package sensorgrant manages per-sensor grants: reading them, narrowing and widening them, promoting and demoting the trust level, and the grant a pairing approval creates (docs/rfcs/RFC-052-sensor-pairing-and-authorization.md §5).
Package sensorgrant manages per-sensor grants: reading them, narrowing and widening them, promoting and demoting the trust level, and the grant a pairing approval creates (docs/rfcs/RFC-052-sensor-pairing-and-authorization.md §5).
sensorpairing
Package sensorpairing is interactive sensor pairing (docs/rfcs/RFC-052-sensor-pairing-and-authorization.md §4): a sensor that holds only the platform URL asks to pair with its own Ed25519 key, both sides show a short authentication string (SAS), and an administrator binds the key to the organization after comparing it, re-authenticating and ticking "the fingerprint matches".
Package sensorpairing is interactive sensor pairing (docs/rfcs/RFC-052-sensor-pairing-and-authorization.md §4): a sensor that holds only the platform URL asks to pair with its own Ed25519 key, both sides show a short authentication string (SAS), and an administrator binds the key to the organization after comparing it, re-authenticating and ticking "the fingerprint matches".
signup
Package signup serves the platform sign-up policy (who may create an organization) to every sign-up path, and lets a platform administrator change it in the console (docs/architecture/user-onboarding.md, "Sign-up policy").
Package signup serves the platform sign-up policy (who may create an organization) to every sign-up path, and lets a platform administrator change it in the console (docs/architecture/user-onboarding.md, "Sign-up policy").
signupevent
Package signupevent records sign-up events and raises burst alerts for the platform console (docs/architecture/signup-activity.md).
Package signupevent records sign-up events and raises burst alerts for the platform console (docs/architecture/signup-activity.md).
sla
Package sla is the app-layer for SLA policy & compliance.
Package sla is the app-layer for SLA policy & compliance.
storagequota
Package storagequota is the storage quota of organizations: how many MiB of uploaded files (evidence, attachments) one organization may hold.
Package storagequota is the storage quota of organizations: how many MiB of uploaded files (evidence, attachments) one organization may hold.
supportaccess
Package supportaccess runs support access: an organization owner grants a named platform administrator time-boxed, read-only access for a reason; the administrator opens support sessions inside the grant from the console; every access is written to both the organization's audit log and the admin audit log, and owners are emailed.
Package supportaccess runs support access: an organization owner grants a named platform administrator time-boxed, read-only access for a reason; the administrator opens support sessions inside the grant from the console; every access is written to both the organization's audit log and the admin audit log, and owners are emailed.
suspension
Package suspension holds the platform administrator's kill switches (docs/architecture/organization-suspension.md): suspending an organization and the access gate every credential path asks before it reaches one.
Package suspension holds the platform administrator's kill switches (docs/architecture/organization-suspension.md): suspending an organization and the access gate every credential path asks before it reaches one.
systemstatus
Package systemstatus is the platform console's Health page (RFC-114): a read-only, aggregate-only view of the installation's essentials (service health, free space, backup age, certificate expiry, version) and the watcher that tells the platform administrators when one gets worse.
Package systemstatus is the platform console's Health page (RFC-114): a read-only, aggregate-only view of the installation's essentials (service health, free space, backup age, certificate expiry, version) and the watcher that tells the platform administrators when one gets worse.
technology
Package technology serves the Technologies view of the external attack surface: lists and counts compiled as the caller through the list query contract, so the tenant and the caller's data scope on every asset that runs a technology are always in the WHERE.
Package technology serves the Technologies view of the external attack surface: lists and counts compiled as the caller through the list query contract, so the tenant and the caller's data scope on every asset that runs a technology are always in the WHERE.
template
Package template provides template validation for different scanner types.
Package template provides template validation for different scanner types.
tenablesc
Package tenablesc is the platform side of the Tenable.sc sensor connector: it turns a Tenable integration into connector_sync commands for the sensor that holds the Tenable credentials, and follows those commands to keep the integration's sync state and incremental cursor.
Package tenablesc is the platform side of the Tenable.sc sensor connector: it turns a Tenable integration into connector_sync commands for the sensor that holds the Tenable credentials, and follows those commands to keep the integration's sync state and incremental cursor.
tenant
Package tenant implements the application service for the tenant bounded context — orchestrates pkg/domain/tenant entities and cross-cutting concerns (audit, notifications, RBAC).
Package tenant implements the application service for the tenant bounded context — orchestrates pkg/domain/tenant entities and cross-cutting concerns (audit, notifications, RBAC).
tenantai
Package tenantai is an organization's AI settings: whether AI triage is turned on (consent), where the AI comes from (the platform's provider, the organization's own provider, or off), the own provider's kind, base URL, model and write-only key, and a "test connection" call.
Package tenantai is an organization's AI settings: whether AI triage is turned on (consent), where the AI comes from (the platform's provider, the organization's own provider, or off), the own provider's kind, base URL, model and write-only key, and a "test connection" call.
threat
Package threat implements the application service for the threat bounded context — orchestrates pkg/domain/threat entities and cross-cutting concerns (audit, notifications, RBAC).
Package threat implements the application service for the threat bounded context — orchestrates pkg/domain/threat entities and cross-cutting concerns (audit, notifications, RBAC).
threatalert
Package threatalert plans and delivers emerging-threat alerts: one per organization and vulnerability, opened or escalated by material vulnerability events and by findings the matcher creates, scored, routed to an immediate message, the daily digest or the list, under a per-hour cap and quiet hours.
Package threatalert plans and delivers emerging-threat alerts: one per organization and vulnerability, opened or escalated by material vulnerability events and by findings the matcher creates, scored, routed to an immediate message, the daily digest or the list, under a per-hour cap and quiet hours.
threatmodel
Package threatmodel implements the continuous threat-modeling generation engine: it resolves a scope's crown-jewel / critical targets, walks the exposure-chain graph per attacker profile, and enumerates the applicable ATT&CK techniques per hop with a live-derived status (open / mitigated / covered / accepted / theoretical).
Package threatmodel implements the continuous threat-modeling generation engine: it resolves a scope's crown-jewel / critical targets, walks the exposure-chain graph per attacker profile, and enumerates the applicable ATT&CK techniques per hop with a live-derived status (open / mitigated / covered / accepted / theoretical).
threatsource
Package threatsource is the platform setting that decides where KEV and EPSS come from.
Package threatsource is the platform setting that decides where KEV and EPSS come from.
ticketbridge
Package ticketbridge adapts the finding service's inbound ticket path (status moves and disposition requests driven by a tracker) to the ticket services' own narrow interfaces.
Package ticketbridge adapts the finding service's inbound ticket path (status moves and disposition requests driven by a tracker) to the ticket services' own narrow interfaces.
ticketmap
Package ticketmap is the application service for ticket field and status mapping profiles: create, edit (draft), validate against the tracker's live metadata, publish, roll back, preview and simulate.
Package ticketmap is the application service for ticket field and status mapping profiles: create, edit (draft), validate against the tracker's live metadata, publish, roll back, preview and simulate.
tool
Package tool implements the application service for the tool bounded context — orchestrates pkg/domain/tool entities and cross-cutting concerns (audit, notifications, RBAC).
Package tool implements the application service for the tool bounded context — orchestrates pkg/domain/tool entities and cross-cutting concerns (audit, notifications, RBAC).
validation
Package validation defines the Stage-4 contract: WHAT gets validated, WHAT counts as evidence, WHO gates it — but NOT HOW a technique runs.
Package validation defines the Stage-4 contract: WHAT gets validated, WHAT counts as evidence, WHO gates it — but NOT HOW a technique runs.
versioncheck
Package versioncheck tells platform administrators about newer releases and security releases of OpenCTEM: it fetches the signed release feed once a day (or takes an administrator's offline import of it), verifies it with a root pinned in the binary, and compares it with the running version on the instance.
Package versioncheck tells platform administrators about newer releases and security releases of OpenCTEM: it fetches the signed release feed once a day (or takes an administrator's offline import of it), verifies it with a root pinned in the binary, and compares it with the running version on the instance.
vex
Package vex manages the organization's VEX statements and applies them to findings: on create, edit, delete and expiry, and to findings ingest creates later (sticky).
Package vex manages the organization's VEX statements and applies them to findings: on create, edit, delete and expiry, and to findings ingest creates later (sticky).
vulnevent
Package vulnevent emits the platform-wide log of material vulnerability changes after each corpus import and each KEV or EPSS sync.
Package vulnevent emits the platform-wide log of material vulnerability changes after each corpus import and each KEV or EPSS sync.
vulnfeed
Package vulnfeed imports the signed vulnerability bundles the collector publishes (openctemio/vulnfeed) into the CVE corpus.
Package vulnfeed imports the signed vulnerability bundles the collector publishes (openctemio/vulnfeed) into the CVE corpus.
vulnmatch
Package vulnmatch runs inventory vulnerability matching: it evaluates each global catalog version once against its product's ranges, then reconciles each organization's findings with the matches of the software it runs.
Package vulnmatch runs inventory vulnerability matching: it evaluates each global catalog version once against its product's ranges, then reconciles each organization's findings with the matches of the software it runs.
webendpoint
Package webendpoint serves the web surface sub-inventory to people (docs/rfcs/RFC-056-web-attack-surface.md): lists and stats compiled as the caller through the list query contract (tenant and data scope always in the WHERE), and by-id reads that answer "not found" for another tenant's endpoint and for one whose origin asset is outside the caller's data scope.
Package webendpoint serves the web surface sub-inventory to people (docs/rfcs/RFC-056-web-attack-surface.md): lists and stats compiled as the caller through the list query contract (tenant and data scope always in the WHERE), and by-id reads that answer "not found" for another tenant's endpoint and for one whose origin asset is outside the caller's data scope.
webevidence
Package webevidence stores and serves what sensors saw when they fetched web assets (status, title, masked snippet, optional screenshot).
Package webevidence stores and serves what sensors saw when they fetched web assets (status, title, masked snippet, optional screenshot).
webverify
Package webverify plans the verification of sensitive web paths (docs/architecture/web-content-pipeline.md).
Package webverify plans the verification of sensitive web paths (docs/architecture/web-content-pipeline.md).
wordlist
Package wordlist manages an organization's own wordlists (docs/architecture/wordlists.md, "Organization lists"): create, edit, switch on or off and delete, each change audited.
Package wordlist manages an organization's own wordlists (docs/architecture/wordlists.md, "Organization lists"): create, edit, switch on or off and delete, each change audited.
Package authzdoc reads the authorization model from the source (the route gates, the permission catalog, the built-in roles and the role templates) and renders it as the generated authorization reference: one JSON document for the web console and markdown pages for the documentation site.
Package authzdoc reads the authorization model from the source (the route gates, the permission catalog, the built-in roles and the role templates) and renders it as the generated authorization reference: one JSON document for the web console and markdown pages for the documentation site.
Package config loads and validates application configuration from environment variables.
Package config loads and validates application configuration from environment variables.
infra
auditsink
Package auditsink streams the platform administrators' audit log off the box (RFC-022).
Package auditsink streams the platform administrators' audit log off the box (RFC-022).
bountysource
Package bountysource reads a bug-bounty program's scope from where the program publishes it (RFC-065 §14): HackerOne's researcher API (structured scopes, with the researcher's own API token) or a scope file on the program's own domain.
Package bountysource reads a bug-bounty program's scope from where the program publishes it (RFC-065 §14): HackerOne's researcher API (structured scopes, with the researcher's own API token) or a scope file on the program's own domain.
controller
Package controller implements reconciliation loop controllers for self-healing background operations.
Package controller implements reconciliation loop controllers for self-healing background operations.
fetchers
Package fetchers fetches rule source content for the platform, which is the only fetcher of rules (docs/architecture/content-sources.md).
Package fetchers fetches rule source content for the platform, which is the only fetcher of rules (docs/architecture/content-sources.md).
http
Package http hosts the HTTP server scaffolding (router, options, lifecycle).
Package http hosts the HTTP server scaffolding (router, options, lifecycle).
http/filterquery
Package filterquery is the HTTP side of the list query contract (docs/rfcs/RFC-048-list-query-contract.md): it decodes a request's filter with pkg/filterspec, answers a bad filter with 400 INVALID_FILTER, and runs the rollout for unknown and renamed params:
Package filterquery is the HTTP side of the list query contract (docs/rfcs/RFC-048-list-query-contract.md): it decodes a request's filter with pkg/filterspec, answers a bad filter with 400 INVALID_FILTER, and runs the rollout for unknown and renamed params:
http/handler
Package handler provides HTTP handlers for the API server.
Package handler provides HTTP handlers for the API server.
http/include
Package include is the one implementation of include= on a read (GET /api/v1/tools?include=settings,stats), shared by every resource that embeds related data in a response.
Package include is the one implementation of include= on a read (GET /api/v1/tools?include=settings,stats), shared by every resource that embeds related data in a response.
http/include/includetest
Package includetest is the include= conformance suite (the rules in docs/architecture/tool-availability.md, "include="): every resource that registers includes runs RunConformance from its DB-backed route test, against the real router and database.
Package includetest is the include= conformance suite (the rules in docs/architecture/tool-availability.md, "include="): every resource that registers includes runs RunConformance from its DB-backed route test, against the real router and database.
http/internalapi
Package internalapi serves the internal entitlements API (docs/architecture/limits.md, "Internal entitlements API"): a separate listener for a hosted service's control plane.
Package internalapi serves the internal entitlements API (docs/architecture/limits.md, "Internal entitlements API"): a separate listener for a hosted service's control plane.
http/middleware
Package middleware provides HTTP middleware for the API server.
Package middleware provides HTTP middleware for the API server.
http/routes
Package routes registers all HTTP routes for the API.
Package routes registers all HTTP routes for the API.
http/routes/plane
Package plane is the table of API planes (RFC-041 §5, docs/rfcs/RFC-041-api-path-design.md): which path prefixes belong to which audience, and which prefixes are closed to new routes.
Package plane is the table of API planes (RFC-041 §5, docs/rfcs/RFC-041-api-path-design.md): which path prefixes belong to which audience, and which prefixes are closed to new routes.
importer/defectdojo
Package defectdojo converts DefectDojo findings (from its /api/v2/findings/ REST endpoint) into a CTIS report, so DefectDojo can act as a 200+-parser ingestion front-end while OpenCTEM remains the system of record (RFC-013).
Package defectdojo converts DefectDojo findings (from its /api/v2/findings/ REST endpoint) into a CTIS report, so DefectDojo can act as a 200+-parser ingestion front-end while OpenCTEM remains the system of record (RFC-013).
jira
Package jira provides a REST API client for Jira Cloud/Server.
Package jira provides a REST API client for Jira Cloud/Server.
jobs
Package jobs provides background job definitions and handlers using Asynq.
Package jobs provides background job definitions and handlers using Asynq.
llm
Package llm provides abstractions for Large Language Model providers.
Package llm provides abstractions for Large Language Model providers.
malware
Package malware scans stored files with a ClamAV daemon (clamd) over its INSTREAM command.
Package malware scans stored files with a ClamAV daemon (clamd) over its INSTREAM command.
notifier
Package notifier provides clients for sending notifications to various providers.
Package notifier provides clients for sending notifications to various providers.
opsmetrics
Package opsmetrics exposes the platform-wide gauges the operator's alerts read: sensors by health, the command queue, stuck scan runs, the notification outbox, the schema version and the build.
Package opsmetrics exposes the platform-wide gauges the operator's alerts read: sensors by health, the command queue, stuck scan runs, the notification outbox, the schema version and the build.
postgres
Package postgres provides PostgreSQL repository implementations for the domain interfaces in pkg/domain/.
Package postgres provides PostgreSQL repository implementations for the domain interfaces in pkg/domain/.
redis
Package redis provides production-ready Redis integration for the OpenCTEM application.
Package redis provides production-ready Redis integration for the OpenCTEM application.
scm
Package scm provides client implementations for various SCM (Source Code Management) providers
Package scm provides client implementations for various SCM (Source Code Management) providers
scm/githubapp
Package githubapp talks to GitHub as the OpenCTEM GitHub App: app JWTs, short-lived installation tokens, the install verification and webhook signatures (docs/rfcs/RFC-077-ci-enforced-gate-and-pr-feedback.md).
Package githubapp talks to GitHub as the OpenCTEM GitHub App: app JWTs, short-lived installation tokens, the install verification and webhook signatures (docs/rfcs/RFC-077-ci-enforced-gate-and-pr-feedback.md).
scm/gitlabapi
Package gitlabapi talks to a GitLab instance with a group access token: token and group checks, commit statuses and merge request notes (docs/rfcs/RFC-077-ci-enforced-gate-and-pr-feedback.md).
Package gitlabapi talks to a GitLab instance with a group access token: token and group checks, commit statuses and merge request notes (docs/rfcs/RFC-077-ci-enforced-gate-and-pr-feedback.md).
sensortransport
Package sensortransport serves sensor protocol v3 (docs/rfcs/RFC-059-sensor-transport-v3.md): the openctem.sensor.v3 SensorService over Connect, gRPC and gRPC-Web.
Package sensortransport serves sensor protocol v3 (docs/rfcs/RFC-059-sensor-transport-v3.md): the openctem.sensor.v3 SensorService over Connect, gRPC and gRPC-Web.
signer
Package signer is the API's client of the job signer (cmd/signer) on its Unix socket.
Package signer is the API's client of the job signer (cmd/signer) on its Unix socket.
storage
Package storage provides FileStorage implementations.
Package storage provides FileStorage implementations.
telemetry
Package telemetry exposes Prometheus metrics for every CTEM stage so the loop-closure SLOs in have real numbers to alert on.
Package telemetry exposes Prometheus metrics for every CTEM stage so the loop-closure SLOs in have real numbers to alert on.
websocket
Package websocket provides WebSocket infrastructure for real-time communication.
Package websocket provides WebSocket infrastructure for real-time communication.
Package metrics
Package metrics
Package migrate applies the SQL migrations in api/migrations to PostgreSQL and records every version it applied (docs/rfcs/RFC-130-migration-applied-set.md).
Package migrate applies the SQL migrations in api/migrations to PostgreSQL and records every version it applied (docs/rfcs/RFC-130-migration-applied-set.md).
Package sensorrelay is the sensor relay: a small stateless broker that sensors and the platform's relay connector both dial out to, so a sensor on the internet can work for a platform that is only reachable inside a private network.
Package sensorrelay is the sensor relay: a small stateless broker that sensors and the platform's relay connector both dial out to, so a sensor on the internet can work for a platform that is only reachable inside a private network.
Package signer is the job-signing service (cmd/signer): it validates job statements against its own rules, assigns each a per-sensor sequence number and a nonce, signs it with a key the API never holds and records every decision in its own hash-chained log.
Package signer is the job-signing service (cmd/signer): it validates job statements against its own rules, assigns each a per-sensor sequence number and a nonce, signs it with a key the API never holds and records every decision in its own hash-chained log.
Package testdb hands DB-backed tests their connection string, but only when it points at a disposable test database.
Package testdb hands DB-backed tests their connection string, but only when it points at a disposable test database.
sqlcount
Package sqlcount opens a database/sql handle that counts the statements sent to PostgreSQL, so a test can budget how many round trips an operation makes (an import that quietly turns into one query per finding shows up as a count, long before it shows up as latency).
Package sqlcount opens a database/sql handle that counts the statements sent to PostgreSQL, so a test can budget how many round trips an operation makes (an import that quietly turns into one query per finding shows up as a count, long before it shows up as latency).
tools
assetcanoncmd
Package assetcanoncmd is the asset-canonical command: it moves stored asset names to the CTIS 2.0 canonical form (internal/app/assetcanon).
Package assetcanoncmd is the asset-canonical command: it moves stored asset names to the CTIS 2.0 canonical form (internal/app/assetcanon).
bootstrapadmin
Package bootstrapadmin is the bootstrap-admin command: a CLI tool to create the first platform administrators.
Package bootstrapadmin is the bootstrap-admin command: a CLI tool to create the first platform administrators.
citrustscopeplan
Package citrustscopeplan is the ci-trust-scope-plan command.
Package citrustscopeplan is the ci-trust-scope-plan command.
refingerprintcmd
Package refingerprintcmd is the refingerprint command.
Package refingerprintcmd is the refingerprint command.
repomerge
Package repomerge is the repomerge command.
Package repomerge is the repomerge command.
toolaudit
Package toolaudit writes the tenant audit entry an operator command leaves behind.
Package toolaudit writes the tenant audit entry an operator command leaves behind.
Package versions is the version manifest built into the API: a copy of the repository's versions.yaml (api/docs/rfcs/RFC-037), embedded at build time and parsed once when the package is loaded.
Package versions is the version manifest built into the API: a copy of the repository's versions.yaml (api/docs/rfcs/RFC-037), embedded at build time and parsed once when the package is loaded.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL