Share this page

# Set up an integration with Fortify

This topic explains how to set up an integration with Micro Focus Fortify, bringing security testing into your development cycle.

In this topic:

## Overview of the ALM Octane integration with Fortify

What is Fortify?

Micro Focus Fortify is an application security testing service. It performs static code analysis on your application's code, assessing it for potential security vulnerabilities. It can be cloud-based or installed on premises.

Why integrate ALM Octane with Fortify?

Integrate ALM Octane with Fortify to bring security testing into your development cycle:

- Identify security vulnerabilities soon after they are introduced into the code and correct them.

- Raise developers' awareness, encouraging them to avoid introducing vulnerabilities.

Tip: If you are using a static code analysis tool other than Fortify, you can inject security vulnerability issues detected by the tool into ALM Octane using the ALM Octane REST API. For details, see Add vulnerability issues into ALM Octane.

How does the integration work?

Fortify on Demand

Periodically, during the development cycle, run a pipeline on Jenkins that includes a Fortify on Demand Upload step. After this step uploads the application's code to Fortify on Demand, a security assessment of your code begins.

If the pipeline run is successful, ALM Octane polls the Fortify on Demand server. When the assessment is complete, ALM Octane retrieves the newly found vulnerabilities and displays them in the pipeline run.

Fortify Software Security Center (SSC)

To begin, you need to create a script that scans your code for security issues, and generates an .fpr file. Fortify SSC analyzes the .fpr file and generates data on vulnerabilities in your code. After you configure the integration as described below, this data is sent to ALM Octane via Jenkins.

The integration requires two plugins: one to integrate between Jenkins and Fortify SSC, and one to integrate between ALM Octane and Jenkins. After you set up the plugins, run a pipeline in Jenkins that includes a Security Fortify Assessment step, which uploads an .fpr file to SSC for assessment. When the assessment is complete, Jenkins pushes the newly found vulnerabilities to ALM Octane, and they are displayed in the pipeline run.

After reviewing the vulnerabilities, you can create a relevant defect to fix your code, or dismiss and close the issue. For details, see Track security vulnerabilities.

Important privacy note: If your Fortify data contains personally identifiable information (PII), contact your system administrators to check the geographical locations of the Fortify data farm and the ALM Octane server. If the two are located in different geographical locations, verify with your chief information security officer or privacy office that this integration complies with your regional regulations.

Back to top

## Set up Fortify and ALM Octane to integrate with Jenkins

Fortify on Demand

Start by setting up Jenkins to integrate with Fortify on Demand and setting up ALM Octane to integrate with Jenkins:

1. Set up your Fortify on Demand account. For details, see https://software.microfocus.com/en-us/software/fortify-on-demand.

   Define an application whose code you want Fortify on Demand to assess.

   We recommend that you run the first security assessment on your code manually and audit it with security experts, before integrating with ALM Octane.

   Obtain the URL and API keys required to access the Fortify on Demand server using API. The keys must permit reading vulnerabilities.

2. Set up Jenkins to upload your code to Fortify on Demand.

   1. Install and configure the Fortify on Demand Uploader plugin on your Jenkins server.

   2. Create a Fortify on Demand Upload step on Jenkins to upload your application's code to Fortify on demand for assessment. In the build step information (BSI) fields, configure the application and release that you used to define your application in your Fortify on Demand account.

   For details, see https://wiki.jenkins.io/display/JENKINS/Fortify+On+Demand+Uploader+Plugin.

3. Set up ALM Octane integration with your Jenkins server. For details, see Set up CI servers.

Fortify Software Security Center (SSC)

Before you begin, you need to have set up the Fortify plugin as described in Fortify Jenkins Plugin (On-Premise). After that, perform the following:

1. To enable communication between ALM Octane and SSC, obtain an authentication token from SSC as described in the Fortify Software Security Center API documentation > How to Authenticate. This will be used by the ALM Octane Jenkins plugin to authenticate to SSC.

   Note: The token is created by converting the SSC server login user name and password to Base64 encoding.

2. Set up the ALM Octane integration with your Jenkins server. For details, see Set up CI servers.

   When configuring the Jenkins plugin, in the Parameters section add a parameter called FORTIFY_SSC_TOKEN that contains the SSC authentication token.

3. For each of the projects you want to scan, create a job in Jenkins that includes a Security Fortify Assessment step to upload the .fpr file to SSC for assessment. Enter the application name and version information as defined for your project in SSC.

Back to top

## Create a pipeline in ALM Octane

1. In the Pipelines > Pipelines page, add a new pipeline.

2. In the Type field, select Security.

Depending on your integration, the following then occurs:

- Fortify on Demand: After this pipeline runs successfully, ALM Octane polls the Fortify on Demand server, waiting to retrieve the assessment results.

- Fortify Software Security Center: The Jenkins plugin checks periodically if there are new scan results in the Software Security Center database. If there are, the new security data is injected to ALM Octane and is displayed on the corresponding pipeline run.

Back to top

## Configuration options

Fortify on Demand

By default, ALM Octane checks Fortify on Demand every 2 minutes for 48 hours to see if the scan is finished. If there are more than 100 vulnerabilities, ALM Octane retrieves none.

All these limits can be configured using the following configuration parameters:

- FORTIFY_POLLING_TIMEOUT_HOURS
- FORTIFY_POLLING_DELAY_MINUTES
- FORTIFY_UPPER_LIMIT_OF_ISSUES

Fortify Software Security Center

By default, the maximum number of vulnerability issues that can be injected for each individual pipeline run is 100. This can be modified using the VULNERABILITIES_PER_PIPELINE_RUN_LIMIT parameter.

For details, see Configuration parameters.

Back to top

See also:

- Create and configure pipelines
- Track security vulnerabilities

https://admhelp.microfocus.com ALM Octane 8942
Tips to improve your search results... ValueEdge & ALM Octane Help Center ValueEdge ALM Octane Help 16.0.100-16.0.400 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: