How ibossx/iboss-api-sdk works
This repository is an iboss Zero Trust SSE automation SDK: applications use a typed API client or define workflows, then run them through the CLI or optional local web UI. The graph follows connection and request handling, workflow discovery/execution, and the UI/CLI entry points, while retaining the documented API feature areas. Evidence is limited to the README and sampled/indexed files; links without direct evidence are omitted or marked dashed.
Main entry points: IbossClient.ts IbossClient · app.ts Local API server · request.ts Request layer · runner.ts Workflow runner
Components 24
SDK and API
- IbossClient
packages/sdk/src/client/IbossClient.ts - Profiles and config
packages/sdk/src/config/profiles.ts - Host discovery
packages/sdk/src/client/discovery.ts - Host tiers
packages/sdk/src/client/hosts.ts - Request layer
packages/sdk/src/client/request.ts - Session state
packages/sdk/src/client/session.ts - Feature API base
packages/sdk/src/api/base.ts - Policy management
packages/sdk/src/api/policies.ts - Policy destinations
packages/sdk/src/api/destinations.ts - Governance and AI
packages/sdk/src/api/governance.ts - Other API areas
packages/sdk/src/api
Workflow runtime
- Workflow definitions
packages/sdk/src/workflows/define.ts - Workflow discovery
packages/sdk/src/workflows/discover.ts - Workflow runner
packages/sdk/src/workflows/runner.ts - Shipped workflows
workflows
CLI
- CLI entry point
packages/sdk/src/cli/main.ts - CLI commands
packages/sdk/src/cli/commands
Web UI
- Local API server
apps/ui/server/app.ts - Run event serialization
apps/ui/server/runs.ts - UI API client
apps/ui/web/lib/api.ts - Workflow and run pages
apps/ui/web/pages - Profile settings page
apps/ui/web/pages/Settings.tsx
Other components
- Automation user
- iboss platform
Connections 29
- Automation user → IbossClient: uses
- IbossClient → Profiles and config: resolves config
packages/sdk/src/client/IbossClient.ts - IbossClient → Request layer: creates
packages/sdk/src/client/IbossClient.ts - IbossClient → Host discovery: connects through
packages/sdk/src/client/IbossClient.ts - IbossClient → Session state: stores session
packages/sdk/src/client/IbossClient.ts - Host discovery → Session state: produces
packages/sdk/src/client/session.ts - Request layer → Host tiers: routes by tier
packages/sdk/src/client/request.ts - Request layer → iboss platform: sends requests
- Feature API base → IbossClient: gets request layer
packages/sdk/src/api/base.ts - Feature API base → Request layer: dispatches requests
packages/sdk/src/api/base.ts - Policy management → Policy destinations: uses helpers
packages/sdk/src/api/policies.ts - IbossClient → Policy management: exposes
packages/sdk/src/client/IbossClient.ts - IbossClient → Governance and AI: exposes
packages/sdk/src/client/IbossClient.ts - IbossClient → Other API areas: exposes feature areas
packages/sdk/src/client/IbossClient.ts - Automation user → CLI entry point: runs commands
- CLI entry point → CLI commands: registers
packages/sdk/src/cli/main.ts - CLI commands → Workflow runner: runs workflows
- Workflow runner → IbossClient: uses client
packages/sdk/src/workflows/runner.ts - Workflow runner → Profiles and config: resolves profiles
packages/sdk/src/workflows/runner.ts - Automation user → Shipped workflows: selects workflow
- Shipped workflows → IbossClient: calls API
workflows/block-domains/index.ts - Workflow and run pages → UI API client: requests data
apps/ui/web/pages/Run.tsx - Profile settings page → UI API client: manages profiles
apps/ui/web/pages/Settings.tsx - UI API client → Local API server: calls local API
apps/ui/web/lib/api.ts - Local API server → Workflow discovery: discovers workflows
apps/ui/server/app.ts - Local API server → Workflow runner: starts workflow runs
- Local API server → Profiles and config: loads and saves config
apps/ui/server/app.ts - Local API server → Run event serialization: serializes run
apps/ui/server/app.ts - Local API server → UI API client: streams run events
apps/ui/web/lib/api.ts