This project has been recently updated to include all of the components needed for the integration into one project space. The iq-fortify-ssc-integration project has been moved into here as sonatype-fortify-integration module. This new multi-module structure will streamline our release and build processes.
The prebuilt binaries for this project are available on Fortify Marketplace.
The integration bundle is composed of 2 parts:
- an integration service (source code in
sonatype-fortify-integration
), which is a Spring Boot web application to export scan data from Nexus IQ to local data files, - a SSC plugin (source code in
sonatype-plugin
) to import the data failes into Fortify Software Security Center
- SSC version 18.20 supports plugin installation through the plugin management UI (Administration > Plugins).
- All installed plugins are disabled after installation, in that the plugins are defined in SSC, but cannot do any work or accept any requests from SSC.
- To enable a plugin, select the plugin row in the Plugins list, and then click Enable.
- The plugin container log
<fortify.plugins.home>/log
should contain an INFO record about the plugin's successful installation or enablement (start). For example:org.apache.felix.fileinstall - 3.5.4 | Started bundle: file:<fortify.plugins.home>/plugins/com.example.parser.jar
- SSC performs several validation steps when plugins are being installed or enabled. SSC can block plugin installation and enablement if conditions such as the following exist:
- Installing a plugin is not allowed if a plugin from the same family but later version is already installed in SSC. Because plugins are developed by 3rd-party developers, SSC has no access to details about the logic implemented in plugins. In this case, SSC assumes that later versions of some plugins can produce data that is incompatible with an earlier version of the plugins, resulting in SSC system instability. If you absolutely must install an earlier version of a plugin (for example, to roll back from a defective later version), remove the later version of the plugin, and then install the earlier version.
- You cannot install an earlier data version of a plugin in SSC.
- To maintain consistency of information displayed in the Administration UI with the underlying pluginIds, SSC ensures that plugins in the same family have the same name and other identifying attributes (such as engineType).
- Only one plugin of a plugin family (sharing the same pluginId and name) can be enabled at a given time.
This is a Maven project so import into your you IDE accordingly.
Should you need to build it from scratch however, here is what you need to know. The build process is handled by Maven and makes use the of the Maven wrapper to help with portability. The following command can be used for a local build:
./mvnw clean package
The output bundle can then be found in sonatype-fortify-bundle/target
.