Skip to content

Commit

Permalink
Avoid noise from non-prod libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson committed Sep 27, 2023
1 parent 6a781e3 commit cb0b903
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
9 changes: 0 additions & 9 deletions build-config/dependency-check-suppressions.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">

<suppress>
<notes><![CDATA[
Recce doesn't use the H2 console so is not affected by these apparent vulnerabilities.
]]></notes>
<packageUrl regex="true">^pkg:maven/com\.h2database/h2@.*$</packageUrl>
<cve>CVE-2018-14335</cve>
<cve>CVE-2022-45868</cve>
</suppress>

<suppress>
<notes><![CDATA[
This is a false positive "noise" CVE: https://github.com/FasterXML/jackson-databind/issues/3972
Expand Down
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ dependencies {
dependencyCheck {
failBuildOnCVSS = 1f
suppressionFile = "build-config/dependency-check-suppressions.xml"
scanConfigurations = listOf("runtimeClasspath", "testRuntimeClasspath")
skipTestGroups = false
scanConfigurations = listOf("runtimeClasspath")
analyzers.assemblyEnabled = false // Unneeded, and creates warning noise
}

Expand Down

0 comments on commit cb0b903

Please sign in to comment.