Skip to main content

Technical Reference

Complete technical documentation for engineers working on or integrating with ThreatWeaver. Start with the section most relevant to your task.

Quick Navigation​

DocumentWhat you'll find
API ReferenceAll REST endpoints, request/response schemas, auth headers
Environment VariablesEvery process.env.* the backend reads, with defaults and descriptions
Auth Deep DiveJWT structure, middleware chain, multi-tenant auth, SSO/SAML
Database SchemaEntity relationships, table definitions, tenant isolation model
Module ArchitecturePer-module middleware stacks, entities, services, external integrations
Request FlowsEnd-to-end flows for scanning, dashboard load, Tenable sync
Webhook & EventsInbound/outbound webhook schemas, SSE streams, retry logic
Permission MatrixRBAC matrix β€” which roles can call which endpoints
TypeScript DocsHow to generate TypeDoc locally from source
Architecture DiagramsSystem and component-level diagrams
Dependency GraphsModule and package dependency maps
Performance TuningDB indexing, query optimization, scan throughput, caching
Postman CollectionDownload the Postman collection for API testing
Deployment ModelsDedicated, SaaS, and hybrid deployment architectures
Error CodesHTTP error codes, error shapes, and resolution steps
GlossarySecurity and ThreatWeaver-specific terminology

Where to start​

Setting up locally? β†’ Environment Variables then Auth Deep Dive

Building a new feature? β†’ Module Architecture then Database Schema

Integrating via API? β†’ API Reference or the interactive Swagger UI

Debugging an error? β†’ Error Codes then Request Flows

Performance issues? β†’ Performance Tuning