Skip to content

Commit 9596751

Browse files
author
Mark Reeves
committed
Add owasp dependency check to qa-parent as a reporting tool.
1 parent 6b18493 commit 9596751

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

qa-parent/pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
<badges.skip>${wc.qa.skip}</badges.skip>
2222
<javadoc.excluded.packages />
2323
<checkstyle.excludes />
24+
<bt.owasp.cve.mirror>https://nvd.nist.gov/feeds/xml/cve</bt.owasp.cve.mirror>
25+
<bt.owasp.cve.12.path>1.2</bt.owasp.cve.12.path>
26+
<bt.owasp.cve.20.path>2.0</bt.owasp.cve.20.path>
2427
</properties>
2528

2629
<description>
@@ -309,6 +312,27 @@
309312
</configuration>
310313
</plugin>
311314

315+
<!-- Generate the dependency vulnerability check report -->
316+
<plugin>
317+
<groupId>org.owasp</groupId>
318+
<artifactId>dependency-check-maven</artifactId>
319+
<version>3.3.1</version>
320+
<configuration>
321+
<failOnError>false</failOnError>
322+
<cveUrl12Modified>${bt.owasp.cve.mirror}/${bt.owasp.cve.12.path}/nvdcve-Modified.xml.gz</cveUrl12Modified>
323+
<cveUrl20Modified>${bt.owasp.cve.mirror}/${bt.owasp.cve.20.path}/nvdcve-2.0-Modified.xml.gz</cveUrl20Modified>
324+
<cveUrl12Base>${bt.owasp.cve.mirror}/${bt.owasp.cve.12.path}/nvdcve-%d.xml.gz</cveUrl12Base>
325+
<cveUrl20Base>${bt.owasp.cve.mirror}/${bt.owasp.cve.20.path}/nvdcve-2.0-%d.xml.gz</cveUrl20Base>
326+
</configuration>
327+
<reportSets>
328+
<reportSet>
329+
<reports>
330+
<report>aggregate</report>
331+
</reports>
332+
</reportSet>
333+
</reportSets>
334+
</plugin>
335+
312336
</plugins>
313337
</reporting>
314338

0 commit comments

Comments
 (0)