Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

185 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Veracode Community Open Source Projects

A collection of useful open source projects that integrate with the Veracode APIs to automate scanning, results retrieval and other tasks.

These projects are community contributed and not supported by Veracode. For a list of supported projects, please see the listing of projects on Veracode.com.

Contents

Automating common Veracode Platform tasks

Developer tools

Auto Packagers (for SAST)

CI/CD

Azure DevOps

GitHub

  • Veracode Application Sandboxes Helper (Lerer) - An Action to handle Sandboxes mainly as a set of clean-up activities such as: deleting a sandbox and promoting Sandbox scan to Policy Scan with or without deleting the sandbox

Build tools

  • Gradle (CalgaryScientific, based on Kctang) - Set of Gradle tasks, usable either as a command line submission tool or integrated as part of a continuous integration build process, to perform Veracode submission for applications and scan results for flaws.

  • Sbt-veracode (Sullis) - sbt plugin for Veracode.

IDEs

API testing tools

  • Insomnia (Veracode) - Adds an HMAC authentication header to Veracode API requests in Insomnia.

  • Veracode-Postman (Veracode) - Pre-request authentication script and instructions for accessing Veracode APIs from Postman.

Other

  • Ansible (Telus Digital) - allows uploading and scanning with Veracode from Ansible, with an option to send results to a Slack channel

  • Flowdock (Brian1917) - Utility designed to be run in a build process after a Veracode scan to notify a Flowdock flow that the scan completed. Optional to include policy compliance info in notification.

  • PowerShell (Unregistered436) - PowerShell script for pushing binaries to Veracode using Java API.

  • Slack (Ctcampbell) - AWS Lambda commands that provide the ability to access Veracode application and build information from Slack.

  • SonarQube (Buzzcode) - Unofficial Veracode plugin for SonarQube.

  • Veracode QuickScan (relaxnow) - PHP example of how to connect to the APIs, scan a couple of files and get results.

  • veracode-tools (Ctcampbell) - Docker image with all Veracode tools pre-installed.

  • Veracode Upload and Scan Shell Script (Christyson) - A shell script to upload and scan a application (zip or war etc.) and create the application if necessary. Uses Curl and hmac headers.

Pipeline Scan projects

Dynamic Analysis projects

Results collection and display

  • Excel (XLS) (Komiblanka) - Python scripts to format Veracode XML results into Excel workbook formats for easier human consumption.

  • (XLSX) (Komiblanka) - Python scripts to format Veracode XML results into Excel workbook formats for easier human consumption.

  • Generate License Notice file (Dave Ferguson) - Python script that creates a License Notice file (sometimes called an Attribution Report) for an application that has been scanned by Veracode SCA.

  • Generate SBOM (Chris Tyson) - Python script to generate a Software Bill of Materials (SBOM) for an application in either CycloneDX or SPDX format.

  • Hygieia (Mickfeech) - Veracode scan collector and parser for the Hygieia dashboard.

  • JupiterOne Graph Veracode (JupiterOne) - A graph conversion tool for Veracode.

  • SCA Extractor (Brian1917) - Creates a CSV file with open source vulnerability (SCA) findings for all builds in the input file.

  • Veracode Container Scan results to HTML (cadonuno) - Converts the JSON output of a Veracode container scan into HTML.

  • Veracode Scan Compare (antfie) - Use this tool to compare two Veracode Static Analysis (SAST) scans to understand why they are different.

  • Veracode Scan Health (antfie) - Produces a SAST scan health report with guidance on changes to make in order to improve the packaging and module selection to achieve greater flaw accuracy.

  • Stats (Ctcampbell) - Summary statistics for a Veracode account on the command line.

  • VeraData (Seb Coles) - Console application that will retrieve data (all scans, flaws, mitigations etc) for a given AppId and store the results in a relational schema (only supports MSSQL Server currently) ready for plugging your favourite BI tool into!

  • VeraCustomTriage (Seb Coles) - App that generates a .xlsx remediation plan from a set of scan results augmented with text from JSON configuration files. Custom text is added when flaw criteria is met (such as a CWE ID, module name, file or line number). This allows custom text such as internal workflows, wiki links, training, code snippets, 2nd party information or other languages into the auto generated remediation plan. Enables app sec teams to triage large volumes of flaws quickly whilst sharing a core advice repository in code.

  • Veracode Report Converter (CSV) (Dipsylala) - .NET Framework utility to extract useful data from Detailed Report XML file into CSV format

  • Veracode Report Converter Portable (CSV) (Dipsylala) - .NET Core utility to extract useful data from Detailed Report XML file into CSV format

  • Veracode Gitlab SCA results report and issue generation (julz0815) - Rewrites Veracode's Agent Based SCA json results in Gitlab readable report format in (orde)r to display results as dependency scanning on the pipeline run

  • Veracode Gitlab static results report and issue generation (julz0815) - A little Java Script will download json results from a Veracode policy or sandbox scan into Gitlab readable report format in order display results as SAST results on the pipeline run and create Gitlab issues on the findings

  • veracode-to-csv (Ctcampbell) - This script outputs one CSV file per scan per application profile visible in a Veracode platform account. The output can be imported into Splunk for further analysis.

  • VCCLI (Michaelhorty) - Veracode AST and Security Labs utility in .NET Core.

  • Veracode Container Security Display (Unofficial) (relaxnow) - Display, sort and filter Container Security JSON results.

  • TopDesk (Daniel-Marchi) - Integration with ITSM | CSC | ESM tool called TopDesk.

User provisioning, management and deprovisioning

Application vulnerability correlation

  • DefectDojo - DefectDojo is an open-source application vulnerability correlation and security orchestration application. DefectDojo supports importing Veracode results.

  • Veracode Archer (Veracode) - Script to export a Veracode Archer report file to disk. Usage: set on a timer and run daily or weekly, then import the results into RSA Archer.

HMAC Signing libraries

  • auth.js (undefined) - Veracode custom HMAC request signing algorithm (used for API authorization), written in JavaScript -- uses Web Crypto API instead of the Node Crypto library

  • PythonHMAC (Veracode) - simple example of usage of the Veracode API signing library provided in the Veracode Help Center

  • NodeJS (undefined) - NodeJS lib, written in JavaScript, to generate authorization header with Veracode API Key and ID. Sample usage in the comment of the gist

  • vcodeHMAC (Brian1917) - Go package that creates an authorization header using Veracode API Key and ID.

  • vcodeHMAC-CLI (Brian1917) - CLI tool to generate an authorization header for Veracode APIs using API ID and Key. Given an HTTP method and URL, and the location of your Veracode API credentials file, you will get the value of an Authorization header printed out for piping into curl, httpie, or other scripting uses.

  • veracode-go-hmac-authentication (antfie) - A simple Go package that follows the format of the existing HMAC Authentication Examples found in the Veracode Help Center.

  • Veracode_HMAC_Auth (rafaelzm2000) - A PowerShell example for doing HMAC authentication to the Veracode APIs.

  • Using curl and openssl to access the Veracode API endpoint (m9aertner) - short article illustrating use of built-in shell tools to handle HMAC signing and send API requests from the command line.

API wrappers

Other integrations

  • Bash shell (Aparsons) - Bash script for scanning a directory of code with the Veracode platform.

  • F5 WAF (Julz0815) - Transforms Veracode dynamic result files into the F5 generic scanner result format for import into the F5 web application firewall.

  • verapi (Fsclyde) - Lambda function for automating Veracode static scans

  • veracode-api (Node) (Kinichahau87) - Node.js package for automating Veracode scanning from the command line.

  • Veracode-cli (Adidas) - Automated way to check application status and DevSecops compliance.

  • Veracode Notifier (Ctcampbell) - Lambda function that sends a message to a web hook, for instance for use with Slack

  • VeraHooks Mitigation Webhooks (Seb Coles) - React .NET Core solution for creating custom webhooks that watch application profiles and trigger when mitigations meet specified conditions.

Secure coding examples

Insecure applications

  • VeraDemo (Jtsmith2020) - Sample insecure application written in Java and Javascript, showing vulnerabilities in realistic Java code.

  • VeraDemoAPI (Veracode) - Sample insecure application written in Javascript, showing vulnerabilities in realistic Javascript code.

  • VeraDemoJava (Veracode) - Sample insecure application written in Java, showing vulnerabilities in realistic Java code.

  • VeraDemoDocker (Veracode) - Bringing the 2 demo apps above VeraDemoJave and VeraDemoAPI together and start them within a docker environment. You will get a Java Web Application, a JavaScript node express API. a MySQL database and a vulnerable container.

  • NodeGoat (Buzzcode) - NodeGoat, built w/CircleCI, showing how to use a yaml file to scan w/Veracode.

Automating Security Labs tasks

About

Collection of open source projects that include automation of common Veracode Platform tasks, new integrations, HMAC signing libraries, etc

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors