Skip to content

cadonuno/Veracode-Bulk-Application-Creator

Repository files navigation

Veracode Bulk Application Creator

Overview

This script allows for bulk importing application profiles into the Veracode platform

Installation

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

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>

Preparing the Excel Template

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

Running the script

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]

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