BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)GitHub Advanced Security for GitHub and Azure DevOps
Lesson277 words

GitHub Advanced Security for GitHub and Azure DevOps

Configure GitHub Advanced Security for both GitHub and Azure DevOps

GHAS is three capabilities, and the exam expects you to name them:

CapabilityDetects
Code scanning (CodeQL)Vulnerable patterns in your own code
Secret scanningCredentials committed to the repository
Dependency reviewVulnerable or non-compliant dependencies introduced by a pull request

Two products, one feature set

GitHub Advanced Security for Azure DevOps brings the same three capabilities to Azure Repos. It is enabled per repository and its findings appear in the Azure DevOps Advanced Security tab rather than in GitHub.

The reason this exists — and the reason the objective names both — is that many organisations keep code in Azure Repos while wanting GitHub's scanning engines. You do not have to migrate to GitHub to use CodeQL.

Code scanning setup

SetupWhat it isUse when
Default setupGitHub configures and runs CodeQL for you; no workflow fileStandard projects; fastest to enable
Advanced setupGenerates a workflow file you own and editCustom build steps, compiled languages needing a specific build, container scanning, non-default query suites

Reach for advanced setup only when default cannot express what you need — a maintained workflow file is a maintenance burden that default setup avoids entirely.

Secret scanning and push protection

Secret scanning alerts on credentials already present. Push protection rejects the push that would introduce one. Enable both: the first covers history and third-party patterns, the second prevents new occurrences.

Primary sources

  • https://docs.github.com/en/get-started/learning-about-github/about-github-advanced-security
  • https://learn.microsoft.com/en-us/azure/devops/repos/security/configure-github-advanced-security-features
  • https://docs.github.com/en/code-security/code-scanning
All Designing and Implementing Microsoft DevOps Solutions (AZ-400) Study Resources

Related Notes

  • Agent and runner infrastructure421 words
  • Agent and runner infrastructure — quick notes150 words
  • Alerting on pipeline events255 words
  • Alerting on pipeline events — quick notes94 words
  • Analyzing usage and application performance241 words
  • Analyzing usage and application performance — quick notes73 words
  • Appropriate access levels217 words
  • Appropriate access levels — quick notes85 words
  • Automating container scanning277 words
  • Automating container scanning — quick notes96 words
  • Automating documentation from Git history191 words
  • Automating documentation from Git history — quick notes55 words

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up.

Start Studying

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free
Designing and Implementing Microsoft DevOps Solutions (AZ-400) ResourcesExplore All HivesBlogHome

© 2026 BrainyBee. Free AI-powered exam prep.