-
Notifications
You must be signed in to change notification settings - Fork 5
33 lines (28 loc) · 965 Bytes
/
security-devops.yml
File metadata and controls
33 lines (28 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Microsoft Security DevOps
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "23 9 * * *" # Every day at 9:23 AM UTC
permissions:
security-events: write
concurrency:
group: msdo-${{ github.ref }}
cancel-in-progress: false
jobs:
msdo:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Run Microsoft Security DevOps
uses: microsoft/security-devops-action@d0736c546281e0632667b8e0046ae3d7bba0bf67 # latest
id: msdo
- name: Upload results to Security tab
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v3.29.5
with:
sarif_file: ${{ steps.msdo.outputs.sarifFile }}