contrastscan-action icon indicating copy to clipboard operation
contrastscan-action copied to clipboard

Issue getting results.sarif file after scan

Open vidhya03 opened this issue 1 year ago • 0 comments

Scan is done however , file generation is not completed.

      - name: Run SAST scan        
        uses: Contrast-Security-OSS/[email protected]
        with:
          projectName: myapp
          artifact: source-artifact.zip
          apiUrl: https://app.contrastsecurity.com
          apiKey: ${{ secrets.CONTRAST_API_KEY }}
          orgId: ${{ secrets.CONTRAST_ORGANIZATION_ID }}
          authHeader: ${{ secrets.CONTRAST_AUTH_HEADER }}
          fail: false

      - name: Upload SARIF file
        uses: github/codeql-action/upload-sarif@v2
        with:
          sarif_file: results.sarif

do we need to pass arguments , i see in the log Use contrast scan --save to save results as a SARIF

vidhya03 avatar Nov 12 '24 13:11 vidhya03