Skip to content

Commit 424c8d8

Browse files
authored
Add Azure Security for DevOps to CI Pipeline (#557)
* Update azure-dev-validation.yaml * Update azure-dev-validation.yaml
1 parent 265ce2e commit 424c8d8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/azure-dev-validation.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,15 @@ jobs:
1717
uses: azure/CLI@v1
1818
with:
1919
inlineScript: az config set bicep.use_binary_from_path=false && az bicep build -f infra/main.bicep --stdout
20+
21+
- name: Run Microsoft Security DevOps Analysis
22+
uses: microsoft/security-devops-action@preview
23+
id: msdo
24+
continue-on-error: true
25+
with:
26+
tools: templateanalyzer
27+
28+
- name: Upload alerts to Security tab
29+
uses: github/codeql-action/upload-sarif@v2
30+
with:
31+
sarif_file: ${{ steps.msdo.outputs.sarifFile }}

0 commit comments

Comments
 (0)