Skip to main content

Python CLI for Veracode's API

Project description

vcapi is a python cli wrapper to veracode’s upload api.

Usage

Save your credentials in a two line file named .veracoderc in your home directory, or specify a credential file with the –cred-file option. The file should have your username on the first line and your password on the second line.

Usage: vcapi [OPTIONS] COMMAND [ARGS]...

  Veracode command line interface

Options:
  --cred-file TEXT  Two line file containing username and password.
  -v, --verbose     Enables logging
  --help            Show this message and exit.

Commands:
  begin-prescan        Begins the prescan.
  begin-scan           Begins a scan
  create-app           Creates a new app.
  create-build         Creates a build.
  delete-build         Deletes a build.
  get-app-info         Gets information for a particular app.
  get-app-list         Gets a list of apps and their ids.
  get-build-info       Gets info for an app build.
  get-build-list       Gets a list of builds for an app.
  get-file-list        Gets a list of files uploaded to a build.
  get-policy-list      Gets a list of policies you have defined.
  get-prescan-results  Gets the results of a prescan.
  get-vendor-list      Gets a list of vendors you have defined.
  remove-file          Removes a file from an app.
  update-app           Updates an app.
  update-build         Updates build infomation for a build.
  upload-file          Uploads a file

Examples

List all the apps you have access to:

vcapi get-app-list

Get help on a particular command:

vcapi update-app --help

Perform a command with verbosity:

vcapi -v get-app-list

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

vcapi-1.0.1a4.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

vcapi-1.0.1a4-py2.py3-none-any.whl (7.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file vcapi-1.0.1a4.tar.gz.

File metadata

  • Download URL: vcapi-1.0.1a4.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for vcapi-1.0.1a4.tar.gz
Algorithm Hash digest
SHA256 806eb81dc6015bcf224716e3a5e3be62e3de766b45158d36435fcd2ddf3f504e
MD5 9f01dc98028978f3ddfa40e0f7018fdc
BLAKE2b-256 fb5d52a8fd8a131a675482e745ad7a89ec485fd1fec7f69ce7dc16bba3f63f5b

See more details on using hashes here.

File details

Details for the file vcapi-1.0.1a4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for vcapi-1.0.1a4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 82aa8e188bb3a9245c98100e2e5d250981d6453d1a0750b454544d05e5e103bc
MD5 f47bca74ba754a40a1808836868591a5
BLAKE2b-256 ff79d3af4d67bbf1424fa040f39953e3dd1e80c096600825c0e4b19d855a85e3

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