Python helper library for working with the Veracode APIs. Handles retries, pagination, and other features of the modern Veracode REST APIs.
Project description
Veracode API Python
Python helper library for working with the Veracode APIs. Handles retries, pagination, and other features of the modern Veracode REST APIs.
Not an official Veracode product. Heavily based on original work by CTCampbell.
Setup
Install from pypi:
pip install veracode-api-py
Authenticating from a developer machine
Save Veracode API credentials in ~/.veracode/credentials
[default]
veracode_api_key_id = <YOUR_API_KEY_ID>
veracode_api_key_secret = <YOUR_API_KEY_SECRET>
Authenticating from a pipeline
Set Veracode API credentials as environment variables.
export VERACODE_API_KEY_ID=<YOUR_API_KEY_ID>
export VERACODE_API_KEY_SECRET=<YOUR_API_KEY_SECRET>
Authenticating through a proxy
To use this library (or a script based on it) with a proxy server, set environment variables with the address of the proxy:
export HTTP_PROXY='http://10.10.10.10:8000'
export HTTPS_PROXY='http://10.10.10.10:1212'
Use in your applications
Import VeracodeAPI or one of the individual API classes into your code and call the methods. Most methods return JSON or XML depending on the underlying API.
You can find sample scripts for some APIs in the Samples folder.
Docs
For detailed documentation on the available methods, please see the veracode-api-py docs.
Notes
- Different API calls require different roles or permissions. Consult the Veracode Docs.
- This library does not include a complete set of Veracode API methods. In particular, it only provides a handful of XML API methods.
- Contributions are welcome. See the Contributions guidelines.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file veracode_api_py-0.9.54.tar.gz
.
File metadata
- Download URL: veracode_api_py-0.9.54.tar.gz
- Upload date:
- Size: 33.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d9f0b08591f814a347ee8b7e846b211dea0f22d7a752c4099f5fab642035eb1 |
|
MD5 | 1d6e3fca8297e0dc16e75128f135a905 |
|
BLAKE2b-256 | bbfc4ca545cfdda25ee41ba94c1041fc1de81d15ed5f01ddedb63a2df45a52a5 |
File details
Details for the file veracode_api_py-0.9.54-py3-none-any.whl
.
File metadata
- Download URL: veracode_api_py-0.9.54-py3-none-any.whl
- Upload date:
- Size: 34.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 250bf8931fe9ca4446c857bfba582fcac89726438ec58c404cd151fba6758ce9 |
|
MD5 | 8a8a54c06d803d09e16c7a6bff0a00d8 |
|
BLAKE2b-256 | 59256ed08309d19daa9bee7b998610fcccde06fb2ff0805a3e72b723692040e2 |