Veracode API Tool
used to help automate scanning applications during the development cycle
Installation
you can install globally to use it in the jenkins execute node script plugin
npm install -g veracode-api
Usage
veracode_api \\path\\to\\zip app_name scantype:[prescan,scan]
Before you use
this tool needs credentials to access the api. It uses 3 environment variables 'VERACODEUSER', 'VERACODEPSWD' and 'DEBUG'. Makesure whatever username you are using has developer access. Without the DEBUG variable set you will not see any output to standard out. Refer to the node debug module for setting this environment variable.
DEBUG=main
or debug turned on for everything
DEBUG=*
Examples
example prescan:
veracode_api C:\Users\kmorfin\test "test app" prescan
example scan:
veracode_api C:\Users\kmorfin\test "test app" scan