Microsoft Defender for Cloud
Cloud and workloads

Configure the Microsoft Security DevOps Azure DevOps extension

In brief

The documentation now explains installing the Microsoft Security DevOps extension, configuring YAML pipelines with static analysis tools, and publishing SARIF findings to Defender for Cloud. It also documents the optional SARIF SAST Scans Tab extension for displaying results in the pipeline’s Scans tab.

What Defender admins need to know

Administrators configuring the integration can follow the expanded installation and pipeline guidance; no required change is stated.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Prerequisites

Before you install the extension, make sure you meet the following prerequisite:

  • You need Project Collection Administrator privileges in your Azure DevOps organization to install the extension. If you don't have access, request these privileges from your Azure DevOps administrator.

ConfigureInstall the Microsoft Security DevOps Azure DevOps extension

To install the Microsoft Security DevOps extension:

Configure pipelines using YAML

To configure a pipeline with YAML:

  1. Sign into Azure DevOps

    To configure a pipeline with YAML:

    1. Sign into Azure DevOps.

    Defender for Cloud can ingest SARIF results from other security tools for code-to-cloud visibility. To upload these results, ensure your Azure DevOps repositories are onboarded to Defender for Cloud. After onboarding, Defender for Cloud continuously monitors the CodeAnalysisLogs artifact for SARIF output.

    Use the PublishBuildArtifacts@1 task to publish SARIF files to the CodeAnalysisLogs artifact. For example:The following YAML step publishes the SARIF results file as a build artifact so that Defender for Cloud can ingest the findings:

    - task: PublishBuildArtifacts@1