-
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@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- 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@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
with:
sarif_file: ${{ steps.msdo.outputs.sarifFile }}