BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)Security and compliance scanning strategy
Lesson256 words

Security and compliance scanning strategy

Design a strategy for security and compliance scanning

Four scan types, four different questions:

ScanAsksTypical tool
DependencyAre our third-party components vulnerable?Dependabot, dependency review
Code (SAST)Does our own code contain vulnerable patterns?CodeQL
SecretHave credentials been committed?Secret scanning + push protection
LicensingAre we complying with dependency licences?Dependency review, feed policy

Where each belongs

Loading Diagram...
Figure 1 — Mermaid diagram

The two ends matter most:

  • Push protection blocks a secret before it enters history. Detecting it afterwards means rotating the credential, because the commit is permanent even if you delete the branch.
  • Continuous alerting catches vulnerabilities disclosed after your code stopped changing. A repository that has not been committed to for six months can become vulnerable overnight — which is why a "scan on commit only" strategy has a hole in it, and why a nightly scan needs always: true.

Blocking versus reporting

Block on what is unambiguous and fixable — a committed secret, a known-critical vulnerability with a patched version available. Report on what needs judgement, or you train people to bypass the gate. A scanner that blocks the build on every medium-severity finding gets switched off within a month.

Primary sources

  • https://docs.github.com/en/code-security/dependabot
  • https://docs.github.com/en/code-security/code-scanning
  • https://docs.github.com/en/code-security/secret-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.

Loading Diagram...
Flowchart, left to right. Author<br/>IDE hints connects to Push<br/>secret push protection. B connects to Pull request<br/>dependency review · CodeQL. C connects to Merge / build<br/>full scan. D connects to Continuous<br/>Dependabot alerts on new CVEs.