Skip to content

mattmurp/asoc-bamboo-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IBM Application Security on Cloud Bamboo Plug-in

Easily integrate security scanning with the IBM Application Security on Cloud service into your builds running on Atlassian Bamboo.

Prerequisites

  • An account on the IBM Application Security on Cloud service. You'll also need to create an application on the service and copy down its numeric ID in the browser URL. This ID will be required later on when configuring the SAST scan task.
  • The plug-in has been tested to run on Bamboo server version 5.13.2 or later.
  • To build the plug-in, you will need to install the Atlassian plug-in SDK.
  • You will need to setup the Static Analyzer Client Utility on your Bamboo server (to initiate scans on local agents), or on remote agent machines. For more information on obtaining the client utility, see the docs here.

Building the Plug-in

  • Navigate to the plug-in's root folder and issue the atlas-package command. The built plug-in JAR will be in the target folder.

Installation and Configuration

  1. Install the plug-in via the Bamboo's administration dashboard. After installing the plug-in, it will appear in the list of user installed add-ons.

  2. Via Bamboo's administration dashboard, add the SA Client capability to your server (for local agents), or to your remote agents. Specify the path to the Static Analyzer Client Utility.

 

  1. Enter your IBM Application Security on Cloud account username and password in Bamboo's shared credentials page.

Adding the SAST Scan Task to your Build Plan

  1. Add the SAST scan task to your build plan after your artifacts have been built. The SAST scan task will generate an intermediate representation of your artifacts and submit it to the cloud service for scanning.

 

  1. Enter information for the SAST scan task:

 

  • Select the client utility to use from the dropdown

  • Select the credentials to use to login to the cloud service

  • Enter the ID of the application to associate your scan with

  • Optionally, specify the criteria for whether or not to fail the build when security findings are found

Scan Results after a Build

  1. The SAST scan task publishes two artifacts:

    • IRX - this is the intermediate representation of your artifacts that is uploaded to the cloud service for scanning.

    • Scan Results - HTML report of the security findings that are found.

  2. Messages about the outcome of the scan will also be emitted to the build log:

 

License

All files found in this project are licensed under the Apache License 2.0.

About

Plugin for integrating ASoC scanning into Bamboo builds

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published