Skip to content

Commit

Permalink
Upload sarif as artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
pritchyspritch committed Jul 25, 2024
1 parent 8ca49c1 commit 6cbb3ec
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test-nuclei.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,16 @@ jobs:
urls: "${{ github.workspace }}/urls.txt"
flags: "-sf ${{ github.workspace }}/secrets.yaml"
sarif-export: "${{ github.workspace }}/dfe_login.sarif"

- name: Upload sarif artifact
uses: actions/upload-artifact@v4
with:
name: "nuclei_sarif"
path: "${{ github.workspace }}/dfe_login.sarif"
retention-days: 1

- name: GitHub Security Dashboard Alerts update
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: "${{ github.workspace }}/dfe_login.sarif"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6cbb3ec

Please sign in to comment.