Skip to content

aszaryk/delete_latest_scan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delete Builds from Applications and Sandboxes

Script to delete scans from application profiles and sandboxes, requiring a list of application ID's and sandbox names as input

Uses Python3

Setup

Clone this repository:

git clone https://github.com/aszaryk/delete_latest_scan

Install dependencies:

cd delete_latest_scan
pip3 install -r requirements.txt

(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>

Usage

Tested using Python3

usage: delete_latest_build.py apps_sandboxes.csv

NOTE:

--apps_sandboxes.csv is a REQUIRED text file containing application and sandbox ID's: [app_id,sandbox_name]. See example file.

--If no [sandbox_name] is provided, the utility will delete the most recent policy level scan from the app profile

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages