Skip to content

Commit

Permalink
Avoided vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita-Smirnov-Exactpro committed Apr 29, 2024
1 parent 9c56689 commit 0b0b9b8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
11 changes: 9 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ plugins {
id("java-library")
id("maven-publish")

id "com.exactpro.th2.gradle.base" version "0.0.6"
id "com.exactpro.th2.gradle.publish" version "0.0.6"

id "me.champeau.jmh" version "0.7.2"
Expand Down Expand Up @@ -39,7 +38,11 @@ dependencies {
implementation "jakarta.xml.bind:jakarta.xml.bind-api:4.0.2"


implementation 'org.apache.avro:avro:1.11.3'
implementation'org.apache.avro:avro:1.11.3'
implementation('org.apache.commons:commons-compress:1.26.1') {
because("commons-compress:1.22 transitive dependency of avro:1.11.3 has vulnerabilities")
}

implementation 'commons-io:commons-io'

implementation "io.github.microutils:kotlin-logging:3.0.5"
Expand All @@ -63,4 +66,8 @@ test {

jmh {
//profilers = ['stack'] // Use profilers to collect additional data. Supported profilers: [cl, comp, gc, stack, perf, perfnorm, perfasm, xperf, xperfasm, hs_cl, hs_comp, hs_gc, hs_rt, hs_thr, async]
}

dependencyCheck {
suppressionFile='supressions.xml'
}
10 changes: 10 additions & 0 deletions supressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- FIXME: find out approach to solve problem when any artifact with grpc word in name is marked as cpe:/a:grpc:grpc -->
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
<suppress base="true">
<notes><![CDATA[FP per issue https://github.com/jeremylong/DependencyCheck/issues/2995]]>
</notes>
<packageUrl regex="true">^pkg:maven/com\.exactpro\.th2/grpc-.*@.*$</packageUrl>
<cpe>cpe:/a:grpc:grpc</cpe>
</suppress>
</suppressions>

0 comments on commit 0b0b9b8

Please sign in to comment.