Trigger an on-demand agentic scan (private preview)
In brief
The documentation now covers SCM connectors, including GitHub and Azure DevOps. Repositories may take up to one hour to become available after connector activation, and each scan can use the default GPT-General profile or the MAI-Augmented preview profile.
What Defender admins need to know
Administrators should allow up to one hour for onboarded repositories and can choose a scan profile for each scan.
Summaries are generated from the documentation change itself.
Documentation change
The comparison below shows only the changed extract. Use the full-page view for complete context.
Trigger an on-demand agentic scan (private preview)
After activating the GitHubSCM connector, the ability to trigger an on-demand agentic code scan for onboarded repositories becomes available within up to one hour.repositories.
Prerequisites
A GitHub connector created and activated. See Create a GitHub connector.Prerequisites
- A SCM connector created and activated. See Create a GitHub connector or Create an Azure DevOps connector
Step 1: Open Manage scans
- In the
Microsoft Defender portal,Microsoft Defender portal, go to Exposure management > Initiatives. - Open the Codename MDASH - Agentic code scanner (preview) initiative, and then select Open initiative page.
- Select the Manage scans button (next to the Settings button).
- Scan status — last scan
- Tokens consumed in the last scan
The repository size and tokens consumed signals can help your security team predict the impact of a scan before running it.rescan.
Step 3: Select a repository and run a scan
- Select the repository you want to scan.
- Select Start scan.
Confirm inIn thedialog that appears.confirmation dialog, choose the scan profile to use for this scan only — keep the default GPT-General profile, or select MAI-Augmented profile (Preview) — then select Scan repo. The selection applies to this scan only. A profile whose required models aren't deployed shows an inline error and can't be selected. For the models required by each profile, see Deploy the required models.
If your tenant already has 10 queued scans from the portal and the CLI combined, a warning appears. You can still submit the scan. Queued scans that don't start running within 72 hours of submission are automatically cleaned up, so some queued scans might not run.
@@ -8,15 +8,18 @@ ai-usage: ai-assisted # Trigger an on-demand agentic scan (private preview) -After activating the GitHub connector, the ability to trigger an on-demand agentic scan for onboarded repositories becomes available within up to one hour.+After activating the SCM connector, the ability to trigger an on-demand agentic code scan for onboarded repositories.++> [!IMPORTANT]+> Onboarded repositories become available within up to one hour. ## Prerequisites -- A GitHub connector created and activated. See [Create a GitHub connector](create-github-connector.md).+- A SCM connector created and activated. See [Create a GitHub connector](create-github-connector.md) or [Create an Azure DevOps connector](create-azure-devops-connector.md) ## Step 1: Open Manage scans -1. In the Microsoft Defender portal, go to **Exposure management** > **Initiatives**.+1. In the [Microsoft Defender portal](https://security.microsoft.com), go to **Exposure management** > **Initiatives**. 1. Open the **Codename MDASH - Agentic code scanner (preview)** initiative, and then select **Open initiative page**. 1. Select the **Manage scans** button (next to the **Settings** button). @@ -33,13 +36,13 @@ For each repository, you can see: - Scan status — last scan - Tokens consumed in the last scan -The repository size and tokens consumed signals can help your security team predict the impact of a scan before running it.+The repository size and tokens consumed signals can help your security team predict the impact of a rescan. ## Step 3: Select a repository and run a scan 1. Select the repository you want to scan. 1. Select **Start scan**.-1. Confirm in the dialog that appears.+1. In the confirmation dialog, choose the scan profile to use **for this scan only** — keep the default **GPT-General profile**, or select **MAI-Augmented profile (Preview)** — then select **Scan repo**. The selection applies to this scan only. A profile whose required models aren't deployed shows an inline error and can't be selected. For the models required by each profile, see [Deploy the required models](/security-exposure-management/mdash-foundry-integration). *If your tenant already has 10 queued scans from the portal and the CLI combined, a warning appears. You can still submit the scan. Queued scans that don't start running within 72 hours of submission are automatically cleaned up, so some queued scans might not run.* @@ -49,6 +52,8 @@ A notification appears confirming the scan was started. The new scan appears in - [Create a GitHub connector](create-github-connector.md) +- [Create an Azure DevOps connector](create-azure-devops-connector.md)+ - [Codename MDASH - Agentic code scanner initiative](mdash-initiative.md) - [Review agentic code scan results in the Microsoft Defender portal](review-portal-results.md) 