serif_exists output not returing true #95

Closed
opened 2025-04-07 14:06:16 -04:00 by brettcurtis · 4 comments
brettcurtis commented 2025-04-07 14:06:16 -04:00 (Migrated from github.com)

I'm not sure this is working anymore (based off the README.md):

        if: steps.nuclei_scan.outputs.sarif_exists == 'true'

Regardless this is skipped.

Here is an example:

This should have ran: https://github.com/osinfra-io/google-cloud-kubernetes/actions/runs/14316089159/job/40122413889

I'm not sure this is working anymore (based off the README.md): ```none if: steps.nuclei_scan.outputs.sarif_exists == 'true' ``` Regardless this is skipped. Here is an example: This should have ran: https://github.com/osinfra-io/google-cloud-kubernetes/actions/runs/14316089159/job/40122413889
dogancanbakir commented 2025-04-11 08:14:34 -04:00 (Migrated from github.com)

I couldn't repro this issue. This is the setup I used to debug it:

name: Nuclei - Vulnerability Scan

on:
  push:
  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://example.com

      - name: Debug sarif_exists
        run: 'echo "sarif_exists: ${{ steps.nuclei_scan.outputs.sarif_exists }}"'

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

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

Pls ignore the err since it's specific to my private repo:
Image

Please let me know if I missed something here!

I couldn't repro this issue. This is the setup I used to debug it: ```yaml name: Nuclei - Vulnerability Scan on: push: 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://example.com - name: Debug sarif_exists run: 'echo "sarif_exists: ${{ steps.nuclei_scan.outputs.sarif_exists }}"' - name: GitHub Workflow artifacts uses: actions/upload-artifact@v4 with: name: nuclei.log path: nuclei.log - name: GitHub Security Dashboard Alerts update if: steps.nuclei_scan.outputs.sarif_exists == 'true' uses: github/codeql-action/upload-sarif@v3 with: sarif_file: nuclei.sarif env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` <img width="356" alt="Image" src="https://github.com/user-attachments/assets/247ce843-60e8-4f1e-9cb9-3ea7672a33f4" /> Pls ignore the err since it's specific to my private repo: <img width="1404" alt="Image" src="https://github.com/user-attachments/assets/c612c4f5-e5c9-483b-a547-2c198bc70bfd" /> Please let me know if I missed something here!
brettcurtis commented 2025-04-11 19:22:15 -04:00 (Migrated from github.com)

Ah I see, can you guys cut a release? https://github.com/projectdiscovery/nuclei-action/compare/v2.0.1...main I'm using v2.0.1. Thanks!!

Ah I see, can you guys cut a release? https://github.com/projectdiscovery/nuclei-action/compare/v2.0.1...main I'm using v2.0.1. Thanks!!
brettcurtis commented 2025-09-09 14:19:57 -04:00 (Migrated from github.com)

Is a release planned?

Is a release planned?
dogancanbakir commented 2025-09-10 05:07:15 -04:00 (Migrated from github.com)

@brettcurtis We recommend using the main branch as shown in the README. There are currently no plans for a new release.

@brettcurtis We recommend using the `main` branch as shown in the README. There are currently no plans for a new release.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
projectdiscovery/nuclei-action#95
No description provided.