Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNYK integrated with SSC #7

Open
JibinWang opened this issue Mar 3, 2023 · 1 comment
Open

SNYK integrated with SSC #7

JibinWang opened this issue Mar 3, 2023 · 1 comment

Comments

@JibinWang
Copy link

SNYK has integrated with SSC, but the Scan.zip file cannot be uploaded to SSC normally.
When uploading the SNYK scan result scan.zip file to Fortify Software Security Center,
the Plugin Framework now validates that the engineType of the submitted vulnerabilities is coherent with engineType provided in the plugin metadata.
Incorrectly implemented parser plugins will fail to submit vulnerabilities.
Recommends fixing such plugins at your earliest convenience.

@rsenden
Copy link

rsenden commented Mar 3, 2023

To be precise, the following line

will need to be updated to set SNYK as the engine type instead:

vulnerabilityBuilder.setEngineType("SNYK");

As per the SSC 22.1 documentation at https://www.microfocus.com/documentation/fortify-software-security-center/2210/FortifySW_RN_22.1.0/FortifySW_RN_22.1.0.htm:

When a third-party scan is uploaded to Fortify Software Security Center, the Plugin Framework now validates that the engineType of the submitted vulnerabilities is coherent with engineType provided in the plugin metadata. Incorrectly implemented parser plugins will fail to submit vulnerabilities. Fortify recommends fixing such plugins at your earliest convenience. In the meantime, the validation can be suppressed by setting a system environment variable FORTIFY_PLUGINS_PARSER_VULN_ENGINETYPECHECK or JVM system property fortify.plugins.parser.vuln.engineTypeCheck to false. Starting from 23.1 release, it will no longer be possible to suppress this validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants