BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)Topic 4.3 — Security and compliance scanning — cram sheet
Cram Sheet323 words

Topic 4.3 — Security and compliance scanning — cram sheet

Topic 4.3 — Security and compliance scanning · cram sheet

Four scan types

Dependency · code (SAST) · secret · licensing.

  • Push protection blocks a secret before it enters history. Detected after → rotate; the commit is permanent.
  • Continuous alerting catches CVEs disclosed after the code stopped changing.
  • Block on unambiguous + fixable; report on judgement, or the gate gets bypassed.

GitHub Advanced Security

Code scanning (CodeQL) · secret scanning · dependency review.

SetupUse when
Default setupStandard projects — no workflow file to maintain
Advanced setupCustom build, CodeQL in a container, custom query suites

GHAS for Azure DevOps = the same capabilities on Azure Repos. No migration to GitHub required.

Defender for Cloud DevOps Security

  • Aggregates and correlates — it does not scan the code. GHAS does the scanning.
  • Connectors: Azure DevOps · GitHub · GitLab.
  • Value: map a cloud finding back to the repository and template that produced it.
  • Order: enable GHAS → enable DevOps Security plan → create connector → findings flow. Wrong order = inventory, no findings.

Container scanning

  • Scan before push (keep bad images out) and continuously in the registry (catch new CVEs).
  • CodeQL in a container requires advanced setup.
  • Most base-layer findings are fixed by rebuilding on a patched base, not by changing code.

Dependabot — the three features

FeatureDoes
AlertsTell you a dependency is vulnerable
Security updatesRaise a PR to a fixed version
Version updatesKeep dependencies current regardless

.github/dependabot.yml configures version updates only. Alerts and security updates are enabled in repository/organisation settings — the most common real-world confusion. Dependency review surfaces licences of dependencies a PR introduces. Staying current is security: several majors behind means a patch needs a migration first.

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.