For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

The token must be created by a Semgrep deployment administrator, from Settings > Tokens, with Web API access explicitly enabled. Member accounts cannot create or view tokens, and a token without Web API access is rejected.

Configure Semgrep within your BalkanID tenant

  1. To create the API Token, sign in to Semgrep as a deployment administrator.

  2. Go to Settings > Tokens, and create a new token.

  3. Under Access, enable Web API, then click Create token. Copy the value — Semgrep displays it only once.

  4. In BalkanID, go to Integrations and click Add integration.

  5. Search for Semgrep, select it, and click Next.

  6. 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.

  7. Under Select Extraction Type, choose Direct Configuration, paste your API Token, then click Next.

  8. Click Next to move onto Optional Configuration.

  9. Fill Optional Configuration, if required. This is where you would configure integration-level reviewer assignment and precedence, if required.

  10. 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

Data
Description

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

Read Only Scopes
Lifecycle Management 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?