Skip to content

Commit

Permalink
feat: Add support for new SSC 23.2 download SBOM feature
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Sep 15, 2023
1 parent 1ca8fed commit a5a44aa
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ subprojects {
apply from: "${gradleHelpersLocation}/markdown2html.gradle"
apply from: "${gradleHelpersLocation}/thirdparty-helper.gradle"
dependencies {
implementationExport('com.fortify.ssc.parser.util:fortify-ssc-parser-util-cyclonedx:1.7.1.RELEASE') {
implementationExport('com.fortify.ssc.parser.util:fortify-ssc-parser-util-cyclonedx:2.0.0.RELEASE') {
// Make sure that we don't bundle Fortify plugin API and SLF4J in the plugin jar
exclude group: 'com.fortify.plugin'
exclude group: 'org.slf4j'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
parserType=debricked
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Please see [Debricked sampleData](../../sampleData/debricked) in the main project directory.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8" ?>
<plugin xmlns="xmlns://www.fortify.com/schema/pluginmanifest-1.1.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PluginDescriptor"
id="com.fortify.ssc.parser.cyclonedx.debricked" api-version="1.2">
<plugin-info>
<name>Debricked parser plugin for SSC 23.2+</name>
<version><!--VERSION-->0.0<!--/VERSION--></version>
<data-version>1</data-version>
<vendor name="Micro Focus" url="https://www.microfocus.com"/>
<description>Parser plugin for Debricked vulnerability data in CycloneDX format (results shown on SSC Audit and Open Source pages)</description>
<resources>
<localization>
<language id="default" location="/resources/cyclonedx_en.properties"/>
<language id="en" location="/resources/cyclonedx_en.properties"/>
</localization>
<images>
<image imageType="icon" location="/images/debricked-icon.png"/>
<image imageType="logo" location="/images/debricked-logo.png"/>
</images>
</resources>
</plugin-info>
<issue-parser xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<engine-type>DEBRICKED</engine-type>
<supported-engine-versions>[1.2, 1.4]</supported-engine-versions>
<view-template location="/viewtemplate/ViewTemplate.json">
<description>Default CycloneDX vulnerability view template.</description>
</view-template>
<parser-type>DEPENDENCY_SCAN</parser-type>
</issue-parser>
</plugin>

1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
rootProject.name = 'fortify-ssc-parser-debricked-cyclonedx'
include 'fortify-ssc-parser-debricked-cyclonedx'
include 'fortify-ssc-22.2+-parser-debricked-cyclonedx'
include 'fortify-ssc-23.2+-parser-debricked-cyclonedx'

0 comments on commit a5a44aa

Please sign in to comment.