Veracode Automation CLI (using Jenkins for SDL integration)

16
v0.5 (nov 2016) Veracode Automation CLI

Transcript of Veracode Automation CLI (using Jenkins for SDL integration)

Page 1: Veracode Automation CLI (using Jenkins for SDL integration)

v0.5 (nov 2016)

Veracode Automation CLI

Page 2: Veracode Automation CLI (using Jenkins for SDL integration)

VERACODE AUTOMATION CLI

Why?

▸ Automate Application Security Scans

▸ Embed security scans in CI

▸ Based on Jenkins build pipeline

▸ Leverage central AppSec skills and distributed (one per app) network of Security Champions

Page 3: Veracode Automation CLI (using Jenkins for SDL integration)

VERACODE CLI

Page 4: Veracode Automation CLI (using Jenkins for SDL integration)

VERACODE AUTOMATION CLI

Veracode CLI

▸ Based on existing official REST API

▸ Hosted on GitHub, released under Apache 2.0 license

▸ https://github.com/DinisCruz/veracode-api

▸ Created to improve productivity and to allow easy creation of scan scripts

▸ Provides easy access to apps, scans, builds and results

Page 5: Veracode Automation CLI (using Jenkins for SDL integration)

VERACODE AUTOMATION CLI

List existing applications and builds

Page 6: Veracode Automation CLI (using Jenkins for SDL integration)

VERACODE AUTOMATION CLI

Current scan status

Page 7: Veracode Automation CLI (using Jenkins for SDL integration)

VERACODE AUTOMATION CLI

Create app, upload file, trigger scan, download, delete app

Page 8: Veracode Automation CLI (using Jenkins for SDL integration)

JENKINS INTEGRATION

Page 9: Veracode Automation CLI (using Jenkins for SDL integration)

VERACODE AUTOMATION CLI

Product Jenkins job triggers scan (on code push)

Page 10: Veracode Automation CLI (using Jenkins for SDL integration)

VERACODE AUTOMATION CLI

Simple configuration

Page 11: Veracode Automation CLI (using Jenkins for SDL integration)

VERACODE AUTOMATION CLI

Jenkins job to Download reports

▸ Runs every x minutes (at the moment set to 15m)

Page 12: Veracode Automation CLI (using Jenkins for SDL integration)

VERACODE AUTOMATION CLI

Downloads reports that are ready, deletes app

Page 13: Veracode Automation CLI (using Jenkins for SDL integration)

VERACODE AUTOMATION CLI

Results stored in GitHub (pushed from Jenkins)

Page 14: Veracode Automation CLI (using Jenkins for SDL integration)

CONCURRENT SCANS

Page 15: Veracode Automation CLI (using Jenkins for SDL integration)

VERACODE AUTOMATION CLI

Scans

Page 16: Veracode Automation CLI (using Jenkins for SDL integration)

Thanks