liveBook · Manning

Microsoft Security DevOps

As explained in Azure Security

Microsoft Security DevOps is a Microsoft application that integrates security analysis tools into software development and continuous integration pipelines.

Microsoft Security DevOps is an application for installing, configuring, and running static analysis tools in development workflows. It shifts security left by finding code vulnerabilities, exposed secrets, and infrastructure-as-code (IaC) misconfigurations before deployment. When repositories are onboarded to Defender for Cloud, findings can give security teams dashboard visibility alongside developers’ repository-level results. section 11.4 section 11.4.2

Use it as part of a layered DevSecOps workflow rather than as a complete security control. The application embeds checks in GitHub Actions or Azure DevOps pipelines, while Defender for DevOps connects the resulting findings to cloud security posture management. GitHub and Azure DevOps are the supported source-control platforms described here. section 11.4 section 11.4.1

The application can run analyzers for several code and deployment artifacts:

  • Static code analysis, including Python, JavaScript, and Windows or ELF binaries. section 11.4.2
  • IaC misconfiguration scanning for ARM, Bicep, Terraform, CloudFormation, Kubernetes, Helm, Dockerfiles, and Kustomize. section 11.4.5
  • Secrets and credential scanning in Azure DevOps, including passwords and SQL connection strings in source or configuration files. section 11.4.2 section 11.4.8
  • Container-image, Git-repository, and file-system analysis through Trivy. section 11.4.2

Run an IaC-only GitHub scan

Add the Microsoft Security DevOps GitHub Action to a workflow and set categories to IaC. On pushes or pull requests, the workflow runs the IaC analyzers; the workflow can then upload the generated SARIF alerts to GitHub’s Security tab. After repository onboarding, the same results are also visible in Defender for Cloud. section 11.4.4 section 11.4.5

Add checks to an Azure DevOps pipeline

Install the Microsoft Security DevOps Azure DevOps extension, then add the MicrosoftSecurityDevOps@1 task to a pipeline. Set categories to IaC to focus on template misconfigurations, or secrets to detect exposed credentials. Save the YAML change and run the pipeline as part of CI/CD. section 11.4.6 section 11.4.7 section 11.4.8

Table 11.2 Open source tools used by the Microsoft Security DevOps application (view table figure)

Open source tool

Provides analysis of

Bandit

BinSkim

Eslint

Template Analyzer

Terrascan

 

Trivy

Python language

Binary—Windows, ELF

JavaScript

ARM template, Bicep file

Terraform (HCL2) and Cloud Formation template, Kubernetes (JSON/YAML), Helm v3, Dockerfiles, Kustomize

Container images, Git repositories, and file systems

Browse the analyzer table to match a repository’s languages and deployment artifacts to the tools Microsoft Security DevOps runs. section 11.4.2

How Azure Security covers it

How deep it goes
Details installation and YAML configuration for GitHub and Azure DevOps, including IaC and secrets categories, without explaining analyzer internals.
Examples
Demonstrates GitHub Actions SARIF upload and Azure DevOps MicrosoftSecurityDevOps@1 tasks for IaC and secret scanning.
What it assumes
Assumes repository and pipeline access; requires GitHub Advanced Security before GitHub configuration and Azure DevOps organization administration for extension installation.
What you can do after
Apply it via GitHub Actions or Azure DevOps pipelines to scan code, IaC templates, and secrets before deployment.
How it connects
Connects Defender for DevOps, Defender for Cloud, GitHub Advanced Security, static application security testing, IaC scanning, and secret scanning.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Azure Security. The section links point to the parts of the book it draws on.