Post-installation tasks to start using Fortify Static Code Analyzer

Running the Post-Install Tool

To run the Fortify Static Code Analyzer post-install tool:

1. Navigate to the bin directory from the command line.

2. At the command prompt, type scapostinstall.

3. Type one of the following:

o To display settings, type s.

o To return to a previous prompt, type r.

· To exit the tool, type q.

Migrating Properties Files

To migrate properties files from a previous version of Fortify Static Code Analyzer to the current version of Fortify Static Code Analyzer installed on your system:

1. Navigate to the bin directory from the command line.

2. At the command prompt, type scapostinstall.

3. Type 1 to select Migration.

4. Type 1 to select SCA Migration.

5. Type 1 to select Migrate from an existing Fortify installation.

6. Type 1 to select Set previous Fortify installation directory.

7. Type the previous install directory.

8. Type s to confirm the settings.

9. Type 2 to perform the migration.

10. Type y to confirm.

Specifying a Locale

English is the default locale for a Fortify Static Code Analyzer installation.

To change the locale for your Fortify Static Code Analyzer installation:

1. Navigate to the bin directory from the command line.

2. At the command prompt, type scapostinstall.

3. Type 2 to select Settings.

4. Type 1 to select General.

5. Type 1 to select Locale.

6. Type one of the following locale codes:

o English: en

o Spanish: es

· Japanese: ja

· Korean: ko

· Brazilian Portuguese: pt_BR

· Simplified Chinese: zh_CN

· Traditional Chinese: zh_TW

Configuring for Security Content Updates

Specify how you want to obtain Micro Focus Fortify Software Security Content. You must also specify proxy information if it is required to reach the server.

To specify settings for Fortify Security Content updates:

1. Navigate to the bin directory from the command line.

2. At the command prompt, type scapostinstall.

3. Type 2 to select Settings.

4. Type 2 to select Fortify Update.

5. To change the Fortify Rulepack update server URL, type 1 and then type the URL.

The default Fortify Rulepack update server URL is https://update.fortify.com.

6. To specify a proxy for Fortify Security Content updates, do the following:

1. Type 2 to select Proxy Server Host, and then type the name of the proxy server.

2. Type 3 to select Proxy Server Port, and then type the proxy server port number.

c. (Optional) You can also specify the proxy server user name (option 4) and password (option 5).

Configuring the Connection to Fortify Software Security Center

Specify how to connect to Micro Focus Fortify Software Security Center. If your network uses a proxy server to reach the Fortify Software Security Center server, you must specify the proxy information.

To specify settings for connecting to Fortify Software Security Center:

1. Navigate to the bin directory from the command line.

2. At the command prompt, type scapostinstall.

3. Type 2 to select Settings.

4. Type 3 to select Software Security Center Settings.

5. Type 1 to select Server URL, and then type the Fortify Software Security Center server URL.

For example, https://mywebserver/ssc.

6. To specify proxy settings for the connection, do the following:

1. Type 2 to select Proxy Server, and then type the proxy server path.

2. Type 3 to select Proxy Server Port, and then type the proxy server port number.

c. To specify the proxy server username and password, use option 4 for the username and option 5 for the password.

7. (Optional) You can also specify the following:

a. Whether to update security content from your Fortify Software Security Center server (option 6)

b. The Fortify Software Security Center user name (option 7)

Removing Proxy Server Settings

If you previously specified proxy server settings for the Fortify Security Content update server or Micro Focus Fortify Software Security Center and it is no longer required, you can remove these settings.

To remove the proxy settings for Fortify Security Content updates or Fortify Software Security Center:

1. Navigate to the bin directory from the command line.

2. At the command prompt, type scapostinstall.

3. Type 2 to select Settings.

4. Type 2 to select Fortify Update or type 3 to select Software Security Center Settings.

5. Type the number that corresponds to the proxy setting you want to remove, and then type - (hyphen) to remove the setting.

6. Repeat step 5 for each proxy setting you want to remove.

Registering ASP.NET Applications

If you are using the .NET Framework, you might need to register ASP.NET applications. If the Internet Information Services (IIS) server is installed first, then ASP.NET 4 is automatically registered with IIS when the .NET Framework is installed; otherwise, you must register.

To register the ASPNET user, run the following command:

aspnet_regiis -i

Find this command in the .NET Framework installation directory. For example, it is often located in:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319

Leave a Comment