Skip to content

Commit 87f17ff

Browse files
fix: update snyk (#76)
1 parent 7f85265 commit 87f17ff

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/pr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ jobs:
7676
- name: Setup snyk
7777
uses: snyk/actions/setup@0.3.0
7878
- name: Snyk test
79-
run: snyk test --all-sub-projects --org=hypertrace --severity-threshold=low --policy-path=.snyk --configuration-matching='^runtimeClasspath$'
79+
run: snyk test --all-sub-projects --org=hypertrace --severity-threshold=low --policy-path=.snyk --configuration-matching='^runtimeClasspath$' --remote-repo-url='${{ github.server_url }}/${{ github.repository }}.git'
8080
env:
8181
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

config-service-change-event-generator/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ dependencies {
1818
compileOnly(libs.lombok)
1919

2020
runtimeOnly(libs.kafka.protobuf.serializer)
21+
constraints {
22+
runtimeOnly("org.glassfish.jersey.core:jersey-common:2.34") {
23+
because("https://snyk.io/vuln/SNYK-JAVA-ORGGLASSFISHJERSEYCORE-1255637")
24+
}
25+
runtimeOnly("org.apache.commons:commons-compress:1.21") {
26+
because("Multiple vulnerabilities")
27+
}
28+
}
2129

2230
testImplementation(libs.junit.jupiter)
2331
testImplementation(libs.mockito.core)

0 commit comments

Comments
 (0)