Semgrep Integration Setup
Getting Started
Use this guide to connect Semgrep to your BalkanID tenant. You will need an API token from Semgrep and access to the Integrations section in BalkanID.
Requirements:
Before you begin, collect the following value from Semgrep:
API Token
Configure Semgrep within your BalkanID tenant
To create the API Token, sign in to Semgrep as a deployment administrator.
Go to Settings > Tokens, and create a new token.
Under Access, enable Web API, then click Create token. Copy the value — Semgrep displays it only once.
In BalkanID, go to Integrations and click Add integration.
Search for Semgrep, select it, and click Next.

Under Data Sync Preferences, choose the entity types you want BalkanID to sync. Everything supported is selected by default. Users are always synced and cannot be deselected, and the relationships between the types you select are synced for you.
Under Select Extraction Type, choose Direct Configuration, paste your API Token, then click Next.

Click Next to move onto Optional Configuration.
Fill Optional Configuration, if required. This is where you would configure integration-level reviewer assignment and precedence, if required.
Once you have filled in the information, click Save. Your integration is now configured and you will see the status of the integration displayed alongside other integrations on the Integrations page. When data is available, the integration Status column will read Connected and the integration Message will read Data available.
What BalkanID extracts
Users
The members of your Semgrep deployment, their organization role, and whether they are managed through SCIM
Teams
The teams configured in your deployment, and their parent/child structure
Team roles
The role a user holds on a specific team
Projects
The projects in your deployment, and which teams and users can access them
SSO providers
The single sign-on providers configured for your deployment, and whether each is enabled
SCM integrations
The source code management integrations connected to your deployment, and the scopes granted to their access tokens
Integration Scopes
Web API — everything this integration reads: deployment membership, organization and team roles, teams, projects, SSO providers, and SCM integrations.
N/A
One scope covers everything this integration reads, so Web API is the only permission to enable on the token.
Semgrep accounts carry no HR data, so no employee records are extracted.
Last updated
Was this helpful?

