gitlab_security_report_converter 1.0.1

dotnet tool install --global gitlab_security_report_converter --version 1.0.1                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local gitlab_security_report_converter --version 1.0.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=gitlab_security_report_converter&version=1.0.1                
nuke :add-package gitlab_security_report_converter --version 1.0.1                

GitLab Security Code converter

Convert Security reports to GitLab Report format

security-code-scan (SAST)

use te following example to create the file

dotnet tool install gitlab_security_report_converter --tool-path tools
for f in $(find . -type f -name *.csproj) ; do dotnet add "$f" package SecurityCodeScan ; done
dotnet build --no-incremental /flp:v=q /flp:logfile=msbuild.out
./tools/gitlab_security_report_converter --converter=security_code_scan --input=msbuild.out --output=gl-sast-report.json

dotnet-retire (Dependency Scanning)

dotnet tool install dotnet-retire --tool-path tools
dotnet tool install gitlab_security_report_converter --tool-path tools
RESULTFILE=$PWD/dotnet-retire.out
export PATH="$PATH:$PWD/tools"
for f in $(find . -type f -name *.csproj) ; do echo $f && pushd $(dirname $f) > /dev/null && echo \<\<$f\>\> >> $RESULTFILE && dotnet-retire >> $RESULTFILE && popd > /dev/null ; done
./tools/gitlab_security_report_converter --converter=dotnet-retire --input=dotnet-retire.out --output=gl-dependency-scanning-report.json
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.1 806 6/26/2019
1.0.0 620 6/20/2019