Integration platform overview
Overview
Section titled “Overview”Integrations let you connect third-party services (GitHub, AWS, Google Cloud, etc.) to automatically run compliance checks and collect evidence.
Key Features:
- Extensible architecture for adding new integrations
- Multiple auth strategies (OAuth, API keys, custom credentials)
- Automated compliance checks that map to tasks
- Background execution via Trigger.dev
- Type-safe with full TypeScript support
How It Works
Section titled “How It Works”1. Integration Manifests
Section titled “1. Integration Manifests”Each integration is defined by a manifest that describes:
- Authentication method (OAuth, API key, custom)
- Available compliance checks
- User-configurable variables
- API endpoints and headers
2. Checks
Section titled “2. Checks”Checks are compliance validations that run against the external service. For example:
- GitHub: “Are all repos using branch protection?”
- AWS: “Are there any high-severity findings in Security Hub?”
- Google Workspace: “Do all users have 2FA enabled?”
3. Task Mapping
Section titled “3. Task Mapping”Checks can map to compliance task templates. When a check passes, the associated task is auto-completed.
Example: The GitHub “Branch Protection” check maps to the “Code Changes” task. When the check passes, the “Code Changes” task is automatically marked as done.
4. Connection Flow
Section titled “4. Connection Flow”OAuth integrations:
- User clicks “Connect”
- Redirected to provider’s OAuth screen
- User authorizes
- Token stored securely (encrypted at rest)
- Checks run automatically (if no variables needed) or after user configures variables
Custom auth integrations:
- User clicks “Connect”
- User enters credentials (API keys, service account, etc.)
- Credentials stored securely (encrypted at rest)
- Checks run automatically (if no variables needed) or after user configures variables
5. Auto-Run Logic
Section titled “5. Auto-Run Logic”After connecting an integration:
- If all required variables are configured → Checks run automatically via Trigger.dev
- If variables needed → User configures them → Checks run
- Checks also run daily via scheduled Trigger.dev task
Architecture
Section titled “Architecture”Integrations├── Manifests (define integrations)│ ├── Auth config (OAuth, API key, custom)│ ├── Checks (compliance validations)│ └── Variables (user configuration)├── Runtime (execute checks)│ ├── Check context (API, logging, reporting)│ └── Check runner (orchestration)├── API (NestJS backend)│ ├── Connections (manage user connections)│ ├── OAuth (handle OAuth flow)│ ├── Checks (run checks)│ └── Variables (manage user settings)└── Trigger Tasks (background execution) ├── run-connection-checks (auto-run after connect) ├── run-task-integration-checks (daily scheduled) └── sync-employees-schedule (daily employee sync)Built-in Integrations
Section titled “Built-in Integrations”Cloud Providers
Section titled “Cloud Providers”- AWS - Security Hub findings
- Azure - Microsoft Defender for Cloud
- GCP - Security Command Center
Identity & Access
Section titled “Identity & Access”- Google Workspace - User compliance, 2FA checks
- Rippling - Employee sync
Developer Tools
Section titled “Developer Tools”- GitHub - Code security, branch protection, Dependabot
- Vercel - Deployment monitoring
- Linear - Team privacy, SSO checks
Next Steps
Section titled “Next Steps”-
Writing Integrations: Learn how to create your own integration
-
Contributing: Contribute integrations to the platform
-
Self-Hosting OAuth: Configure OAuth for self-hosted deployments