This script allows for bulk importing application profiles into the Veracode platform
Clone this repository:
git clone https://github.com/cadonuno/Veracode-Bulk-Application-Creator.git
Install dependencies:
cd Veracode-Bulk-Application-Creator
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>
The Excel template present in the repository can be used to prepare the metadata. After the script finishes execution,
a new column will be added to the right containing the status of each line
py bulk-create-applications.py -f <excel_file_with_application_definitions> -r <header_row> [-d]"
Reads all lines in <excel_file_with_application_definitions>, for each line, it will create a new application profile.
<header_row> defines which row contains your table headers, which will be read to determine where each field goes.
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> python bulk-create-applications.py -f <excel_file_with_application_definitions> -r <header_row> [-d]
See the LICENSE file for details