Getting the following Error at the Convert sarif for uploading to GitHub step
I have tried Tag v1.2, v1.3 and main
Run security-code-scan/security-code-scan-results-action@main
Run dotnet tool install --global Sarif.Multitool --version 2.3.10
Welcome to .NET 7.0!
---------------------
SDK Version: 7.0.202
Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
You can invoke the tool using the following command: sarif
Tool 'sarif.multitool' (version '2.3.10') was successfully installed.
D:\a\ViVeTool-GUI\ViVeTool-GUI\convert.js:12
run.tool.driver.rules = run.tool.driver.rules.filter((e => e.id.startsWith("SCS")));
^
TypeError: Cannot read properties of undefined (reading 'filter')
at Object.<anonymous> (D:\a\ViVeTool-GUI\ViVeTool-GUI\convert.js:12:51)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:[81](https://github.com/PeterStrick/ViVeTool-GUI/actions/runs/4616456594/jobs/8161487714#step:8:83):12)
at node:internal/main/run_main_module:23:47
Node.js v18.15.0
Error: Process completed with exit code 1.
Workflow File:
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow integrates SecurityCodeScan with GitHub's Code Scanning feature
# SecurityCodeScan is a vulnerability patterns detector for C# and VB.NET
name: SecurityCodeScan
on:
push:
pull_request:
schedule:
- cron: '30 6 * * 3'
jobs:
SCS:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: nuget/setup-nuget@fd9fffd6ca4541cf4152a9565835ca1a88a6eb37
- uses: microsoft/setup-msbuild@v1.3.1
- name: Set up projects for analysis
uses: security-code-scan/security-code-scan-add-action@v1.2
- name: Restore dependencies
run: nuget restore
- name: Build
run: msbuild
- name: Convert sarif for uploading to GitHub
uses: security-code-scan/security-code-scan-results-action@main
- name: Display Sarif Files in the results Folder
run: cat D:\a\ViVeTool-GUI\results\*.sarif
- name: Upload sarif
uses: github/codeql-action/upload-sarif@v2
Getting the following Error at the
Convert sarif for uploading to GitHub
stepI have tried Tag v1.2, v1.3 and main
Workflow File:
Link to failed Workflow: https://github.com/PeterStrick/ViVeTool-GUI/actions/runs/4616456594