Quickstart: Connect your Azure DevOps repositories to Microsoft Defender for Cloud
Cloud workloads commonly span multiple cloud platforms. Cloud security services must do the same. Microsoft Defender for Cloud helps protect workloads in Azure, Amazon Web Services, Google Cloud Platform, GitHub, and Azure DevOps.
In this quickstart, you connect your Azure DevOps organizations on the Environment settings page in Microsoft Defender for Cloud. This page provides a simple onboarding experience (including auto-discovery).
By connecting your Azure DevOps repositories to Defender for Cloud, you extend the security features of Defender for Cloud to your Azure DevOps resources. These features include:
Microsoft Defender Cloud Security Posture Management features: You can assess your Azure DevOps resources for compliance with Azure DevOps-specific security recommendations. You can also learn about all the recommendations for DevOps resources. The Defender for Cloud asset inventory page is a multicloud-enabled feature that helps you manage your Azure DevOps resources alongside your Azure resources.
Workload protection features: You can extend the threat detection capabilities and advanced defenses in Defender for Cloud to your Azure DevOps resources.
API calls that Defender for Cloud performs count against the Azure DevOps global consumption limit. For more information, see the common questions about Microsoft Defender for DevOps.
To complete this quickstart, you need:
An Azure account with Defender for Cloud onboarded. If you don't already have an Azure account, create one for free.
The Microsoft Security DevOps Azure DevOps extension configured.
|Release state:||Preview. The Azure Preview Supplemental Terms include legal terms that apply to Azure features that are in beta, in preview, or otherwise not yet released into general availability.|
|Pricing:||For pricing, see the Defender for Cloud pricing page.|
|Required permissions:||Account Administrator with permissions to sign in to the Azure portal.
Contributor on the Azure subscription where the connector will be created.
Security Admin in Defender for Cloud.
Organization Administrator in Azure DevOps.
Basic or Basic + Test Plans Access Level in Azure DevOps. Third-party applications gain access via OAuth, which must be set to
|Regions:||Central US, West Europe, Australia East|
National (Azure Government, Microsoft Azure operated by 21Vianet)
Connect your Azure DevOps organization
To connect your Azure DevOps organization to Defender for Cloud by using a native connector:
Sign in to the Azure portal.
Go to Microsoft Defender for Cloud > Environment settings.
Select Add environment.
Select Azure DevOps.
Enter a name, subscription, resource group, and region.
The subscription is the location where Microsoft Defender for DevOps creates and stores the Azure DevOps connection.
Select Next: Select plans.
Select Next: Authorize connection.
The authorization automatically signs in by using the session from your browser's tab. After you select Authorize, if you don't see the Azure DevOps organizations that you expect, check whether you're signed in to Microsoft Defender for Cloud on one browser tab and signed in to Azure DevOps on another browser tab.
In the popup dialog, read the list of permission requests, and then select Accept.
Select your relevant organizations from the drop-down menu.
For projects, do one of the following:
Select Auto discover projects to discover all projects automatically and apply auto-discovery to all current and future projects.
Select your relevant projects from the drop-down menu. Then, select Auto-discover repositories or select individual repositories.
Select Next: Review and create.
Review the information, and then select Create.
The Defender for DevOps service automatically discovers the organizations, projects, and repositories that you selected and analyzes them for any security problems.
When you select auto-discovery during the onboarding process, repositories can take up to 4 hours to appear.
The Inventory page shows your selected repositories. The Recommendations page shows any security problems related to a selected repository.