Skip to content

Commit 0042486

Browse files
workflows: enable sarif output for CIFuzz (#7630)
* workflows: enable sarif output for CIFuzz This will make it easier to interpret the output of CIFuzz by making it possible to view the result in the Github security page. Signed-off-by: David Korczynski <[email protected]> * workflows: cifuzz: add sarif category Signed-off-by: David Korczynski <[email protected]> --------- Signed-off-by: David Korczynski <[email protected]>
1 parent 0714d10 commit 0042486

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/pr-fuzz.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,18 @@ jobs:
2424
fuzz-seconds: 600
2525
dry-run: false
2626
language: c
27+
output-sarif: true
2728
- name: Upload Crash
2829
uses: actions/upload-artifact@v3
2930
if: failure() && steps.build.outcome == 'success'
3031
with:
3132
name: artifacts
3233
path: ./out/artifacts
34+
- name: Upload Sarif
35+
if: always() && steps.build.outcome == 'success'
36+
uses: github/codeql-action/upload-sarif@v2
37+
with:
38+
# Path to SARIF file relative to the root of the repository
39+
sarif_file: cifuzz-sarif/results.sarif
40+
checkout_path: cifuzz-sarif
41+
category: CIFuzz

0 commit comments

Comments
 (0)