Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.semgrep.dev/llms.txt

Use this file to discover all available pages before exploring further.

This article walks you through enabling Semgrep Multimodal for your deployment.
PREREQUISITES
Building context for Semgrep Multimodal requires Azure DevOps permissions, specifically code access granted through an access token you generate through Azure DevOps. Ensure that the token has the following scopes:
  • Code: Read & write
  • Pull Request Threads: Read & write
You can provide this token to Semgrep by adding Azure DevOps as a source code manager.Semgrep recommends using a service account, not a personal account, to generate the personal access token provided to Semgrep. Regardless of whether you use a personal or service account, the account must be assigned the Owner or Project Collection Administrator role for the organization.

Enable Multimodal

2
Go to Settings > Global, and click the Semgrep Multimodal toggle to enable.
3
The Set up Semgrep Multimodal dialog appears. Click Accept & Enable Semgrep Multimodal to proceed.
After enabling Semgrep Multimodal, you can configure the AI provider and enable additional features:
  • Scan with AI-powered detection: Run AI-powered scans to identify complex business logic flaws, such as insecure direct object references (IDORs) and broken authorization issues. Enabling Semgrep Multimodal does not automatically run AI-powered scans.
  • Weekly priority emails: Send weekly summary emails to organization admins highlighting the top three backlog priorities across all findings.
  • Noise filter for Code PR/MR comments: Filter out findings identified as false positives. You can choose to suppress PR or MR comments entirely or display informational comments indicating that a finding is a false positive.
  • Suggested fix: Enable Multimodal-generated autofix suggestions in PR and MR comments. You can also set a minimum confidence threshold for AI-generated fixes when a rule does not include a human-authored autofix.