Suppress false positive OWASP violation (#1705)
This commit is contained in:
parent
01f7d32de6
commit
5cdcd59fcd
|
@ -192,6 +192,7 @@ afterEvaluate {
|
|||
|
||||
dependencyCheck {
|
||||
scanConfigurations = mutableListOf("runtimeClasspath")
|
||||
suppressionFile = "buildscripts/dependency-check-suppressions.xml"
|
||||
failBuildOnCVSS = 7.0f // fail on high or critical CVE
|
||||
nvd.apiKey = System.getenv("NVD_API_KEY")
|
||||
nvd.delay = 3500 // until next dependency check release (https://github.com/jeremylong/DependencyCheck/pull/6333)
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
|
||||
<suppress>
|
||||
<!-- this package is misidentified by OWASP as an Android app named "Wire" -->
|
||||
<packageUrl regex="true">^pkg:maven/com\.squareup\.wire/wire-runtime-jvm@.*$</packageUrl>
|
||||
<cpe>cpe:/a:wire:wire</cpe>
|
||||
</suppress>
|
||||
<suppress>
|
||||
<!-- this package is misidentified by OWASP as Prometheus server -->
|
||||
<packageUrl regex="true">^pkg:maven/io\.opentelemetry/opentelemetry-exporter-prometheus@.*$</packageUrl>
|
||||
<cpe>cpe:/a:prometheus:prometheus</cpe>
|
||||
</suppress>
|
||||
</suppressions>
|
Loading…
Reference in New Issue