This commit is contained in:
John Scott 2022-11-17 15:27:28 -08:00 коммит произвёл GitHub
Родитель 06f40e820d
Коммит 9dc8c237c1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 36 добавлений и 0 удалений

36
.github/workflows/bicep_scan.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,36 @@
name: Bicep Scan
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
scan-bicep-code:
# needs: [validate]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Sign into Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Run Microsoft Security DevOps Analysis
uses: microsoft/security-devops-action@preview
id: msdo
with:
categories: 'IaC'
- name: Upload results to Security tab
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: ${{ steps.msdo.outputs.sarifFile }}