-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
40 lines (32 loc) · 1.05 KB
/
fluidscan.yml
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
34
35
36
37
38
39
40
name: Fluidattacks - Code scanning
on:
schedule:
- cron: '0 10 * * 1'
workflow_dispatch:
permissions:
contents: read
jobs:
fluidattacks-scan:
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
steps:
- name: "Checkout code"
uses: actions/checkout@f095bcc56b7c2baf48f3ac70d6d6782f4f553222
with:
persist-credentials: false
- name: "Run Fluidattacks scanner"
run: |
bash scripts/run-fluidattacks-scanner.sh
- name: "Upload scan results"
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: SARIF scan results
path: fluidscan-results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
with:
sarif_file: fluidscan-results.sarif