Pular para o conteúdo principal

Connect DevOps environments to Defender for Cloud

Implementation Effort: Low – Authorizing the Defender for Cloud connectors and installing the app on each DevOps organization is a bounded onboarding task, though it needs subscription and organization owners to grant access. User Impact: Low – Connecting environments and running security assessments happens in the management plane, so developers keep working in their repositories and pipelines without interruption. Lifecycle Stage: Run

Overview

Connect GitHub, Azure DevOps, and GitLab environments to Microsoft Defender for Cloud so repositories, pipelines, and service connections are assessed in one security management plane. Connecting the environments is the prerequisite, but most DevOps posture management recommendations and advanced capabilities — such as attack path analysis and code-to-cloud mapping — require Defender CSPM and any applicable Microsoft Defender for Cloud plans for the connected workloads.

Once connected, Microsoft Defender for Cloud inventories repositories, builds, pipelines, and service connections, and then runs recurring security assessments against them. It surfaces recommendations for DevOps resource hardening — such as enabling branch protection, restricting secret access, and configuring push protection — alongside the cloud security recommendations that security teams already consume. This unified view enables code-to-cloud traceability, so when a vulnerability is found in a supported Azure resource, Microsoft Defender for Cloud can trace it back to the Infrastructure as Code template or container image that introduced it, and to the repository and pipeline that deployed it.

GitHub onboarding requires an Azure subscription Contributor and a GitHub Organization Owner to authorize the connector and install the Microsoft Defender for Cloud GitHub application on the target organization, ideally for all repositories. Azure DevOps onboarding requires Project Collection Administrator permissions on the target organization, a Basic or Basic + Test Plans access level, and third-party application access via OAuth enabled on the Azure DevOps organization. GitLab onboarding requires an Azure subscription Contributor and a GitLab Group Owner to authorize the Defender for Cloud GitLab connector, and requires a GitLab Ultimate license for the group.

Organizations that do not connect their DevOps environments to Microsoft Defender for Cloud lose the ability to correlate development-time security findings with runtime risk, leaving security and development teams working from disconnected data. This task is foundational to Verify explicitly because it extends continuous security verification from runtime infrastructure back into the software supply chain. It also supports Assume breach by ensuring that if a DevOps environment is compromised — through stolen credentials, a poisoned pipeline, or a malicious pull request — the security operations team has centralized visibility to detect and respond.

Reference