Skip to main content

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

  1. Different API calls require different roles or permissions. Consult the Veracode Docs.
  2. This library does not include a complete set of Veracode API methods. In particular, it only provides a handful of XML API methods.
  3. Contributions are welcome. See the Contributions guidelines.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

veracode_api_py-0.9.67.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

veracode_api_py-0.9.67-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

Details for the file veracode_api_py-0.9.67.tar.gz.

File metadata

  • Download URL: veracode_api_py-0.9.67.tar.gz
  • Upload date:
  • Size: 35.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for veracode_api_py-0.9.67.tar.gz
Algorithm Hash digest
SHA256 ab3cc50777bc3939d5de8ba2d1f9941528c1dd69a2e41514e19ae72316df404e
MD5 5ee6959bba52f88fd28cb2a9fc663f5e
BLAKE2b-256 4776fad698d855cb5a047d940a83c2890602814a231ed3b327ba5201c06592a0

See more details on using hashes here.

File details

Details for the file veracode_api_py-0.9.67-py3-none-any.whl.

File metadata

File hashes

Hashes for veracode_api_py-0.9.67-py3-none-any.whl
Algorithm Hash digest
SHA256 a3a3e30b589e4d9c89e597a0c29e37144b0e2660d3adb2855309ada7401753ef
MD5 981f2be79b2c0e1a161fc653b40c3539
BLAKE2b-256 634e65915cafacba377429cee46223eb2cb8058c6048670f67218caedde23ec7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page