https://github.com/veracode/veracode-bruno
pre-request script that creates an HMAC header using Veracode api key and secret
https://github.com/veracode/veracode-bruno
Last synced: 6 months ago
JSON representation
pre-request script that creates an HMAC header using Veracode api key and secret
- Host: GitHub
- URL: https://github.com/veracode/veracode-bruno
- Owner: veracode
- License: mit
- Created: 2025-04-29T15:03:24.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-15T17:35:36.000Z (about 1 year ago)
- Last Synced: 2025-05-15T18:34:37.045Z (about 1 year ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README

# Accessing Veracode APIs with Bruno
## Overview
Using [Veracode APIs](https://docs.veracode.com/r/c_gettingstarted) with Bruno requires initial configuration to accommodate HMAC signing. Below are instructions for getting up and running with Veracode APIs in Bruno.
## Before You Begin
### Generate Token Credentials
If you have not does so, please follow these steps to generate the necessary API Token Credential to use with Bruno.
1. [Generate API credentials](https://docs.veracode.com/r/t_create_api_creds) for your Veracode user.
2. Store the credential information is a safe place or as a [credential file](https://docs.veracode.com/r/c_configure_api_cred_file) for use with Veracode products.
### Setup Bruno
1. Install Bruno on your machine.
2. Create a Collection.
3. In the **Script** tab paste in the code from [bruno-pre-request-script.js](bruno-pre-request-script.js) and click the save button.
4. Create a new **Environment** for the Veracode platform.
5. Update the following variables as type *secret*
- *api_id* : (set to your Veracode API ID)
- *api_key* : (set to your Veracode API Key)
6. Be sure to save
7. In the collection (left nav) add and save a new request.
- GET 'https://api.veracode.com/api/authn/v2/users/self'
## License
[](LICENSE)
See the [LICENSE](https://github.com/veracode/.github/blob/main/LICENSE) for details