Semgrep is a static analysis tool that helps developers find and fix security vulnerabilities and code issues using customizable rules across multiple languages.
Required Permissions
Semgrep API token with Agent CI and Web API scopes enabled, granting read access to:
Deployments
Projects
Findings
Scytale follows the least-privilege principle, limiting permission scopes strictly to what's required for audit evidence collection.
How to Connect
In Scytale, go to 'Integrations'.
Search for Semgrep and select 'Connect'.
Paste your API token.
Add a connection name — this will be used to differentiate between your connections — and then select 'Connect'.
You have now successfully connected to Semgrep.
How to Create an API Token in Semgrep
Admin logs in to https://semgrep.dev
Navigate to Settings → Tokens → API Tokens
Click Create API Token → give it a descriptive name (e.g. "Scytale Integration")
Enable the Web API scope and Agent (CI) scope (critical — without it, API calls return 404)
Copy the token (shown only once) and paste it into the integration connection form
System validates the token via
GET /deploymentsSystem stores the encrypted token; deployment
slugis fetched dynamically for subsequent calls




