Skip to content

cadonuno/Veracode-Promote-Named-Sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Veracode Promote Sandbox

Overview

This script allows for promoting a sandbox with a single call

Installation

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

Getting Started

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>

Running the script

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

If a credentials file is not created, you can export the following environment variables:

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]

License

MIT license

See the LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages