Skip to content

Commit

Permalink
Create nuclei.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gjofili authored Sep 12, 2024
1 parent 6d0a8ed commit ff1e5c3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/nuclei.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Nuclei - Vulnerability Scan

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
nuclei-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Nuclei - Vulnerability Scan
id: nuclei_scan
uses: projectdiscovery/nuclei-action@main
with:
target: https://demo.owasp-juice.shop/#/

- name: GitHub Workflow artifacts
uses: actions/upload-artifact@v4
with:
name: nuclei.log
path: nuclei.log

- name: GitHub Security Dashboard Alerts update
uses: github/codeql-action/upload-sarif@v3
if: steps.nuclei_scan.outputs.sarif_exists == 'true'
with:
sarif_file: nuclei.sarif
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ff1e5c3

Please sign in to comment.