Skip to content

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.

License

Notifications You must be signed in to change notification settings

brian1917/vcodeFlowdockNotifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Veracode Flowdock Notifier Utility

Go Report Card

Description

Utility designed to be run in a build process after a Veracode scan to notify Flowdock that the scan completed. Optionally, the notification can also include the compliance policy assigned to that app and whether or not it's passing. For builds that don't wait for the Veracode scan to complete, the utility can be set to run on a schedule to provide notifications.

Executables

Executables for Windows, Mac, and Linux will be available in the releases section of the repository (https://github.com/brian1917/vcodeFlowdockNotifier/releases)

Running the Utility

The utility takes one argument - the location of the JSON config file. Run the utility as a command line action at the end of the build (after Veracode completed): vCodeFlowdockNotifer appABCconfig.json

Configuration File

A sample config file is shown below. The 7 parameters below are require to be present.

{
    "credsFile": "/Users/bpitta/.veracode/credentials",     // Location of Veracode credentials file
    "appID": "123456",                                      // App ID in Veracode being targeted
    "flowdockToken": "530b7d5e03f51d4835dcfa2a4f248096",    // API token from Flowdock (this example is random)
    "flowdockOrg": "organization",                          // Name of organization used in Flowfock endpoint   
    "flowdockFlow": "flow",                                 // Name of Flowdock flow in endpoint      
    "onlyNotifyOnNotPass" : false,                          // Will only notify if the scan violates policy
    "includePolicyStatus" : true                            // Will include policy name and compliance status in notification
}

In this example, the utility will provide a notifcation for App ID 123456 in the Veracode Platform for all builds (not just ones that don't pass), and will include policy information in the notification.

Veracode Credentials File

Must be structured like the following:

[DEFAULT]
veracode_api_key_id = ID HERE
veracode_api_key_secret = SECRET HERE

Third-party Packages

github.com/brian1917/vcodeapi (https://godoc.org/github.com/brian1917/vcodeapi)

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages