This script allows for promoting a sandbox with a single call
Clone this repository:
git clone https://github.com/cadonuno/Veracode-Promote-Named-Sandbox.git
Install dependencies:
cd Veracode-Promote-Named-Sandbox
pip install -r requirements.txt
It is highly recommended that you store veracode API credentials on disk, in a secure file that has appropriate file protections in place.
(Optional) Save Veracode API credentials in ~/.veracode/credentials
[default]
veracode_api_key_id = <YOUR_API_KEY_ID>
veracode_api_key_secret = <YOUR_API_KEY_SECRET>
py promote-sandbox.py -a <application_name> -s <sandbox_name> [-d]"
Looks for a sandbox named <sandbox_name> in the application named <application_name> and promotes its latest scan
export VERACODE_API_KEY_ID=<YOUR_API_KEY_ID>
export VERACODE_API_KEY_SECRET=<YOUR_API_KEY_SECRET>
py promote-sandbox.py -a <application_name> -s <sandbox_name> [-d]
See the LICENSE file for details