This tool is intended to help package application for Veracode scanning. It is a personal project and has no affiliation with Veracode.
Much of the implementation was inspired by https://github.com/nhinv11/veracode-dotnet-packager
In fact, this project only exists as I wanted to install and use the packager as a dotnet global tool.
To build:
dotnet build .\Packager.sln -c Release
The primary application project is found in ./src/Packager
The tool currently supports packaging .net core and .net 5+ applications. Applications must be published before they can be packaged. To publish, from the target application source directory run:
dotnet publish c Debug /p:UseAppHost=false /p:SatelliteResourceLanguages="en"
veracode-package pack --help
Description:
Creates an archive including the required files for Veracode scanning
Usage:
veracode-packager pack <target> [options]
Arguments:
<target> The directory containing the application
Options:
-o, --output <output> The output file path [default: <string-sortable-date>-veracode-package.zip]
-p, --platform <Dotnet|DotnetFramework> The targeted application platform
-?, -h, --help Show help and usage information
Veracode Packager can be run as a standalone application or as a dotnet tool.
dotnet pack .\src\Packager\Packager.csproj -c Release -o .\nupkg\
dotnet tool install veracode-package --global --add-source .\nupkg\ --prerelease
Please do. Feel free to add features and fix bugs using a Merge Request
.
If you find a bug, please file an Issue GitHub, and fix it yourself with a Merge Request
or wait for me to address as time allows.