Super Contributor.. eelgheez Super Contributor..
Super Contributor..
1356 views

source code snippets do not show in Fortify SSC 19.1.0

I upgraded Fortify SSC from 18.20 to 19.1.0 today and found that expanding the issues shows a grey background where source code used to be shown.

Is this known?

 

Tags (1)
0 Likes
4 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: source code snippets do not show in Fortify SSC 19.1.0

Could it be that you have code snippets disabled in the fortify-sca.properties file to save time on large scans?  Normally these are enabled (com.fortify.sca.FVDLDisableSnippets=false).  You can either disable all snippets inclusions within this properties file (set it to true), or you may leave it enabled in the properties file and only disable it on a per-scan basis using the sourceanalyzer {-fvdl-no-snippets} option.  There is an additional SnippetContextLines option for the properties file where you can specify the quantity of lines to code to be included (default = 2)


-- Habeas Data
Micro Focus Fortify Customers-Only Forums – https://community.softwaregrp.com/t5/Fortify/ct-p/fortify
0 Likes
Super Contributor.. eelgheez Super Contributor..
Super Contributor..

Re: source code snippets do not show in Fortify SSC 19.1.0

$ grep -r Snippets /Applications/Fortify/Fortify_SCA_and_Apps_19.1.1/Core/config
/Applications/Fortify/Fortify_SCA_and_Apps_19.1.1/Core/config/fortify-sca.properties:com.fortify.sca.FVDLDisableSnippets=false
0 Likes
Super Contributor.. eelgheez Super Contributor..
Super Contributor..

Re: source code snippets do not show in Fortify SSC 19.1.0

$ grep -r Snippet /Applications/Fortify/Fortify_SCA_and_Apps_19.1*/Core/config
/Applications/Fortify/Fortify_SCA_and_Apps_19.1.0/Core/config/schemas/ReportDefinition.xsd:			
/Applications/Fortify/Fortify_SCA_and_Apps_19.1.0/Core/config/schemas/ReportDefinition.xsd:			
/Applications/Fortify/Fortify_SCA_and_Apps_19.1.0/Core/config/fortify-sca.properties:com.fortify.sca.FVDLDisableSnippets=false
/Applications/Fortify/Fortify_SCA_and_Apps_19.1.1/Core/config/schemas/ReportDefinition.xsd:			
/Applications/Fortify/Fortify_SCA_and_Apps_19.1.1/Core/config/schemas/ReportDefinition.xsd:			
/Applications/Fortify/Fortify_SCA_and_Apps_19.1.1/Core/config/fortify-sca.properties:com.fortify.sca.FVDLDisableSnippets=false
0 Likes
New Member.. jhiller
New Member..

Re: source code snippets do not show in Fortify SSC 19.1.0

I have a similar issue.  SSC displays "Unable to locate source file rendering information. Completion of a SCA scan using the latest version of sourceanalyzer is a requisite for the viewing of source files."  I have only noticed this with iOS apps so far.  19.1.1 patch is installed.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.