Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
GitHub Advanced Security (GHAS) integration with Microsoft Defender for Cloud connects your source code repositories to cloud workloads, providing unified security visibility across your development lifecycle. This integration automatically maps code changes to production environments, prioritizes security alerts based on real runtime context, and enables coordinated remediation workflows between development and security teams.
Use this integration to:
- Track vulnerabilities from source code to deployed applications
- Focus on security issues that affect production workloads
- Coordinate fixes between GitHub repositories and Azure environments
- Leverage AI-powered remediation tools for faster resolution
This overview explains how the integration works and helps you understand its core capabilities before deployment.
Main capabilities
Smart code-to-cloud mapping
When you connect your GitHub organization or repo to Microsoft Defender for Cloud (MDC) as explained here, the system automatically maps source repositories to running cloud workloads. It uses MDC proprietary "Code 2 Cloud" methods that ensure every workload is tracked to its repo of origin and vice versa.
This capability gives you instant end-to-end visibility, so you know which code powers each deployed application without time-consuming manual mapping.
Production-aware alert prioritization
Cut through noisy security alerts and focus on vulnerabilities that truly matter.
GHAS Security findings in GitHub are prioritized by real runtime context from MDC, highlighting risk factors like Internet Exposure, Sensitive Data processing, Critical Resources, and Lateral Movement. These risks, identified in runtime workloads, are dynamically linked to those workloads' code repositories of origin and the specific build artifacts in GitHub. You can filter, triage, and act only on security issues with actual production impact, helping your team stay efficient and keep your most important applications secure.
Unified AI-driven remediation
Bridge the gap between security and engineering teams with integrated workflows and relevant context.
Within MDC, security managers can see which security issues the engineering team already knows about and their status by selecting the View on GitHub link.
They can assign security recommendations for resolution to the relevant engineering teams by generating a GitHub issue assignment.
The assignment is generated on the repository of origin, providing runtime information and context to facilitate the engineering fix.
Engineering managers can assign the issue to a developer for further resolution, and the assignee can leverage Copilot Coding Agent for AI-powered autofixes.
GitHub issue fixes, progress, and campaign advancements are tracked in real time, and the statuses are reflected both in GitHub and in MDC.
This approach ensures fixes are delivered rapidly, creates clear accountability, and simplifies collaboration, all inside the tools your teams already use.
Prerequisites
| Aspect | Details |
|---|---|
| Environmental Requirements | - GitHub account with a connector created in Microsoft Defender for Cloud (MDC) - GitHub Advanced Security (GHAS) license - Defender CSPM enabled on the subscription - GitHub Security Copilot (optional for automated remediation) |
| Roles & Permissions | - Security Admin permissions - Security Reader on the Azure Subscription (to view findings in MDC) - GitHub organization Owner |
| Cloud Environments | - Available in Commercial Clouds only (not in US Gov, China Gov, or other sovereign clouds) |
Note
GHAS and MDC native integration is supported for Containers workloads only for the current preview release.
Next steps
- Learn about DevOps security in Defender for Cloud: Overview of Microsoft Defender for Cloud DevOps security
- Learn how to set up GHAS and MDC native integration: Deploy GitHub Advanced Security integration
- Connect your GitHub organizations