HP Fortify Source Code Analyzer: Installation Guide
HP Fortify Source Code Analyzer: Installation Guide
Installation Guide
Legal Notices
Warranty
The only warranties for HP products and services are set forth in the express warranty statements
accompanying such products and services. Nothing herein should be construed as constituting an
additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
The information contained herein is subject to change without notice.
Copyright Notice
© Copyright 2003 - 2015 Hewlett Packard Enterprise Development LP
Documentation Updates
The title page of this document contains the following identifying information:
l Software Version number
l Document Release Date, which changes each time the document is updated
l Software Release Date, which indicates the release date of this version of the software
To check for recent updates or to verify that you are using the most recent edition of a document, go to:
https://protect724.hp.com/welcome
You will receive updated or new editions if you subscribe to the appropriate product support service. Contact
your HP sales representative for details.
Contents
Preface 4
Contacting HP Fortify Support 4
For More Information 4
About the HP Fortify Software Security Center Documentation Set 4
Change Log 5
Chapter 1: Introduction 6
Intended Audience 6
HP Fortify Software Security Center Components 6
Related Documents 7
Chapter 2: Installation 9
About Downloading the Software 9
About Installing the HP Fortify Static Code Analyzer Suite 9
Installing HP Fortify Static Code Analyzer 9
Installing SCA Silently (Unattended) 10
Performing a Text-Based SCA Installation on Non-Windows Platforms 12
Uninstalling HP Fortify Static Code Analyzer 12
Uninstalling SCA 12
Uninstalling SCA Silently 13
Uninstalling SCA in Text-Based Mode on Non-Windows Platforms 13
Preface
Contacting HP Fortify Support
If you have questions or comments about using this product, contact HP Fortify Technical Support
using one of the following options.
To Manage Your Support Cases, Acquire Licenses, and Manage Your Account
https://support.fortify.com
To Email Support
[email protected]
To Call Support
650.735.2215
Change Log
The following table lists changes made to this guide.
Software
Release-
Version Change
4.40-01 Removed:
l Configuration Options chapter. The configuration information for HP Fortify Static
Code Analyzer (SCA) is described in the HP Fortify Static Code Analyzer User Guide.
The configuration information for the SCA tools is described in HP Fortify Static Code
Analyzer Tools Properties Reference Guide.
l Installing the HP Fortify Plugin for Eclipse. This information is covered in the
HP Fortify Plugin for Eclipse Installation and Usage Guide.
Updated:
l Migrating from a Previous SCA Installation and Updating Rulepacks Using the
Windows Installer (moved to "About Installing the HP Fortify Static Code Analyzer
Suite" on page 9).
l "Specifying a Locale" on page 15 (added Spanish) and "About Installing the HP Fortify
Static Code Analyzer Suite" on page 9
Added:
l "Specifying a Proxy Server for HP Fortify Software Security Center" on page 16
l "Installing SCA Silently (Unattended)" on page 10
l "Performing a Text-Based SCA Installation on Non-Windows Platforms" on page 12
l "Uninstalling SCA Silently" on page 13
l "Uninstalling SCA in Text-Based Mode on Non-Windows Platforms" on page 13
• Intended Audience 6
• HP Fortify Software Security Center Components 6
• Related Documents 7
Intended Audience
This installation guide is intended for individuals who are responsible for installing or uninstalling the
HP Fortify Static Code Analyzer suite of analyzers and application components. This guide also
describes basic post-installation tasks.
Refer to the HP Fortify Software Security Center System Requirements document to ensure that your
system meets the minimum requirements for each software component installation.
Note: This document does not cover the installation process for HP Fortify Software Security
Center (Software Security Center). Software Security Center requires a separate installation
procedure that is described in the HP Fortify Software Security Center Installation and
Configuration Guide.
l HP Fortify Plugin for Eclipse: Integrates with the Eclipse development environment and adds the
ability to scan and analyze the entire code base of a project and apply hundreds of software security
rules that identify the vulnerabilities in your Java code. The results are displayed within the IDE,
along with descriptions of each of the security issues and suggestions for their elimination.
l HP Fortify Remediation Plugin for Eclipse: Integrates with the Eclipse development environment.
The Remediation Plugin for Eclipse is a lightweight plug-in option for developers who need
remediation functionality but do not need the scanning and auditing capabilities of Audit Workbench
or the full Eclipse Plugin.
l HP Fortify Package for Microsoft Visual Studio: Integrates with Microsoft Visual Studio to locate
security vulnerabilities in your solutions and packages and displays the scan results in Visual
Studio. The results include a list of issues uncovered, descriptions of the type of vulnerability each
issue represents, and suggestions on how to fix them.
l HP Fortify Remediation Package for Visual Studio: Integrates with Microsoft Visual Studio
integrated development environments (IDEs). The HP Fortify Remediation Package for Visual
Studio is a lightweight plug-in option for developers who need remediation functionality but do not
need the scanning and auditing capabilities of Audit Workbench or the full Visual Studio package.
l HP Fortify Scanning Package for Visual Studio: Integrates with Microsoft Visual Studio and allows
you to run HP Fortify Static Code Analyzer scans with MSBuild on projects and solutions through
the Microsoft Visual Studio IDE.
l HP Fortify Analysis Plugin for IntelliJ and Android Studio: Works in the IntelliJ and Android Studio
integrated development environments and HP Fortify Software Security Center to add scanning
functionality to your security analysis.
l HP Fortify Remediation Plugin for IntelliJ: Integrates with the IntelliJ integrated development
environment (IDE) and adds the ability to scan and analyze the entire code base of a project and
apply hundreds of software security rules that identify the vulnerabilities in your code.
l HP Fortify Remediation Extension for JDeveloper: Integrates with the JDeveloper integrated
development environment (IDE) and adds the ability to scan and analyze the entire code base of a
project and apply hundreds of software security rules that identify the vulnerabilities in your code.
l HP Fortify Scanning Plugin for Xcode: Works in the Xcode development environment and allows
you to run HP Fortify Static Code Analyzer scans on projects through the Xcode IDE.
Related Documents
The following documents provide additional information about HP Fortify Static Code Analyzer:
l HP Fortify Static Code Analyzer User Guide
This document provides instructions on using the analyzers to identify vulnerabilities in your code.
This document also describes the command-line tools that provide additional management and
access to the functions provided by SCA.
l HP Fortify Static Code Analyzer Performance Guide
This document describes the issues involved when trying to select hardware to scan certain code
bases, provides guidelines for making those decisions and tips for optimizing memory usage and
performance.
Note: For more information on acquiring the software and license for your operating system, see
the HP Fortify Software Security Center System Requirements document.
After you have completed the installation, see "About Post-Installation Tasks" on page 14 for additional
steps you can perform to complete your system setup. You can also configure settings for runtime
analysis, output, and performance of HP Fortify Software Security Center and its components by
updating the installed configuration files. For information about the configuration options for HP Fortify
Static Code Analyzer, see the HP Fortify Static Code Analyzer User Guide. For information about
configuration options for SCA application components, see the HP Fortify Static Code Analyzer Tools
Properties Reference Guide.
Note: If you are using HP Fortify CloudScan, you must specify a location that does not
include spaces in the path.
Note: For installations on non-Windows platforms and for deployment environments that do
not have access to the Internet during the installation procedure, you can update the security
content using the fortifyupdate utility. See "Updating the Security Content Using
Fortifyupdate" on page 16.
a. Specify the URL address of the update server. To use the HP Fortify Customer Portal for
security content updates, specify the URL as: https://update.fortify.com.
b. (Optional) Specify the proxy host and port number of the update server.
c. Click Next.
7. Specify if you want to migrate from a previous installation of SCA on your system.
Migrating from a previous SCA installation preserves SCA artifact files.
Note: You can also migrate SCA artifacts using the scapostinstall command-line utility.
For information on using the post-install tool to migrate from a previous SCA install, see
"Migrating Properties Files" on page 14.
fortify_license_path=<license_file_location>
UpdateProxyServer=<proxy_server>
UpdateProxyPort=8080
fortify_license_path=C:\Users\admin\Desktop\fortify.license
UpdateProxyServer=web-proxy.abc.company.com
UpdateProxyPort=8080
MigrateSCA=0
enable-components=AWB_group,VS2015,VS2015Rem
installdir=C:\HP_Fortify_XYZ
d. Save the options file in the same directory as the installer using the same name as the
installation file with a .option file extension.
For example, if the installer file name is: HP_Fortify_SCA_and_Apps_<version>_windows_
x64.exe, then save your options file with the name HP_Fortify_SCA_and_Apps_<version>_
windows_x64.exe.options.
2. Run the silent install command for your operating system:
Mac OS X The Macintosh software is provided as a zip file. You must uncompress the zip file
before running the command.
HP_Fortify_SCA_and_Apps_<version>_osx_x64.app/Contents/
MacOS/installbuilder.sh --mode unattended --optionfile <full_path_
to_option_file>
Note: You can also perform a silent installation of SCA for HP-UX and Solaris. On these
operating systems, replace the installer file in the previous table with the appropriate one for
your operating system.
Mac OS X The Macintosh software is provided as a zip file. You must uncompress the zip file
before running the command.
HP_Fortify_SCA_and_Apps_<version>_osx_x64.app/Contents/
MacOS/installbuilder.sh --mode text
where <version> is the software release version.
Uninstalling SCA
Uninstalling on Windows Platforms
To uninstall SCA suite software on Windows, use the Windows Add or Remove Programs utility on
the Control Panel:
1. Select Start > Control Panel > Add or Remove Programs.
2. In the list of programs, choose HP Fortify SCA and Applications X.XX, and then click
Remove.
Uninstalling on Other Platforms
To uninstall SCA software on Mac OS X, Unix, and Linux platforms:
1. Back up your configuration, including any important files you have created.
2. Run the uninstall command located in the <Installation_Dir>:
l Linux and Unix: Uninstall_HPFortifySCAandApps_4.40.exe
l Mac OS X: Uninstall_HPFortifySCAandApps_4.40.app
Uninstall_HPFortifySCAandApps_
<version>.app/Contents/MacOS/installbuilder.sh
Mac OS X --mode unattended
Mac OS X Uninstall_HPFortifySCAandApps_
<version>.app/Contents/MacOS/installbuilder.sh --mode text
Specifying a Locale
By default, the locale of an SCA installation is English.
To specify a different locale:
1. Navigate to the bin directory from the command line.
2. Enter scapostinstall at the Command Prompt.
3. Enter 2 to select Settings.
4. Enter 1 to select General.
5. Enter 1 to select Locale.
6. Enter the locale code:
English: en
Spanish: es
Japanese: ja
Korean: ko
Chinese, Simplified: zh_CN
Chinese, Traditional: zh_TW
For more detailed instructions about the fortifyupdate utility, see the HP Fortify Static Code Analyzer
User Guide.
aspnet_regiis -i
Find this command in the .NET Framework installation directory. For example, it is often located in:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
or
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727