From 4d11e77761d357406fff948832d5a8e27eb827f6 Mon Sep 17 00:00:00 2001 From: Techini Date: Thu, 31 Aug 2023 22:27:42 -0400 Subject: [PATCH] Create nuclei.yml --- .github/workflows/nuclei.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/nuclei.yml diff --git a/.github/workflows/nuclei.yml b/.github/workflows/nuclei.yml new file mode 100644 index 00000000000..e0b3defb77a --- /dev/null +++ b/.github/workflows/nuclei.yml @@ -0,0 +1,28 @@ +name: Nuclei - Vulnerability Scan + +on: + schedule: + - cron: '0 0 * * *' + workflow_dispatch: + +jobs: + nuclei-scan: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Nuclei - Vulnerability Scan + uses: projectdiscovery/nuclei-action@main + with: + target: https://example.com + + - name: GitHub Workflow artifacts + uses: actions/upload-artifact@v2 + with: + name: nuclei.log + path: nuclei.log + + - name: GitHub Security Dashboard Alerts update + uses: github/codeql-action/upload-sarif@v2 + with: + sarif_file: nuclei.sarif