Easily integrate security scanning with the IBM Application Security on Cloud service into your builds running on Atlassian Bamboo.
- 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.
- 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.
-
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.
-
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.
- Enter your IBM Application Security on Cloud account username and password in Bamboo's shared credentials page.
- 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.
- 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
-
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.
-
-
Messages about the outcome of the scan will also be emitted to the build log:
All files found in this project are licensed under the Apache License 2.0.