
Semgrep
Connect Semgrep to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Enter your Semgrep API token to sync your static analysis data — deployments, projects, code (SAST) and supply chain (SCA) findings, and secrets — into the PostHog Data warehouse.
Create a token in Semgrep AppSec Platform under Settings → Tokens and grant it the Web API scope. The API requires a Semgrep Team or Enterprise plan.
Configuration
| Option | Type | Required |
|---|---|---|
API token | password | Yes |
Linking Semgrep to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select Semgrep
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import