Defender for cloud DevOps Security: Is it mandatory to have Github Advanced security enabled to find code vulnerabiltiy in azure devops repos

ahd 210 Reputation points
2025-06-09T20:55:10.2+00:00

We are exploring the feature Microsoft Security DevOps and noticed there are no code vulnerability listed in the defender except Iac templates. As per the following table, is it a must have to enable Github Advanced Security to discover code or secret vulnerability ?

For example: I had tested Github advanced security last week (currently disabled) which reported one of the issue, image 1, but now the same code is scanned using MicrosoftSecurityDevOps@1 Defender for Cloud and nothing is listed under code issues as per the new scan in image 2.

Code vulanerabilty listed with CodeQL scan

User's image

https://learn.microsoft.com/en-us/azure/defender-for-cloud/devops-support

User's image

Microsoft Security | Microsoft Defender | Microsoft Defender for Cloud
0 comments No comments
{count} votes

Accepted answer
  1. Jose Benjamin Solis Nolasco 3,511 Reputation points
    2025-06-09T21:03:13.1633333+00:00

    Yes to detect code vulnerabilities (SAST, dependency scanning, secret scanning) in Azure DevOps repos via Defender for Cloud’s DevOps Security, you must enable GitHub Advanced Security for Azure DevOps (GHAzDO). Without it, only IaC templates are scanned; code-level vulnerabilities won't appear

    Take a look a this additionals feature may insterest you in the future https://docs.github.com/en/get-started/learning-about-github/about-github-advanced-security

    😊 If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily. Thanks!

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.