This page provides step-by-step instructions on enabling and running an AI-powered scan. For details on what AI-powered detection can uncover, known limitations, and beta considerations, see AI-powered detection overview.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.
Prerequisites
To run Semgrep Code’s AI-powered detection, ensure that you meet the following requirements:- You have added your projects to Semgrep Managed Scans. Look for the
managed-scantag in the Projects section of the Semgrep AppSec Platform. - You have enabled Semgrep Multimodal for your organization.
Enable or disable AI-powered detection
This feature is enabled by default for all Semgrep Multimodal users. To enable or disable AI-powered detection in Semgrep AppSec Platform, go to Settings > Code and then toggle AI-powered scanning on or off.Scan with AI-powered detection
To scan the default or main branch:Choose the projects by selecting the checkboxes next to their names. This enables the Run a new scan drop-down menu.
Click Details for your project of interest. On the project’s Details page, click Run a new scan and choose AI-powered detection.
View findings
Findings generated by AI-powered detection scans are part of Semgrep Code findings and are listed on the Code page. You can use the filters icon to filter for AI-powered scan findings. The findings card indicates whether a finding was detected by an AI-powered scan or a Rule-based scan.Add additional context to AI-powered detection scans
INFOOnly Admins can upload context documents to Semgrep projects.
The finding Details page references the uploaded context document under the finding description.
For an in-depth understanding of how AI-powered detection works, see AI-powered detection: concepts, limitations, and FAQs.