File tree Expand file tree Collapse file tree 4 files changed +50
-3
lines changed Expand file tree Collapse file tree 4 files changed +50
-3
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ jobs:
21
21
JDK_VERSION : ${{ matrix.jdk }}
22
22
23
23
steps :
24
- - uses : actions/checkout@v2
24
+ - uses : actions/checkout@v4
25
25
with :
26
26
fetch-depth : 0
27
27
28
28
- name : Set up JDK
29
- uses : actions/setup-java@v2
29
+ uses : actions/setup-java@v4
30
30
with :
31
31
java-version : ${{ matrix.jdk }}
32
32
distribution : ' temurin'
43
43
44
44
- name : Test with Gradle
45
45
run : ./gradlew check --stacktrace --no-daemon
46
+
47
+ gradle-scan :
48
+ name : Snyk gradle scan
49
+ runs-on : ubuntu-latest
50
+
51
+ steps :
52
+ - uses : actions/checkout@v4
53
+
54
+ - name : Run Snyk to check build.gradle for vulnerabilities
55
+ uses : snyk/actions/gradle-jdk17@master
56
+ env :
57
+ SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
58
+ with :
59
+ command : test
60
+ args : --severity-threshold=high --org=f310ee2f-5552-444d-84ee-ec8c44c33adb
Original file line number Diff line number Diff line change 38
38
OSSRH_TOKEN : ${{ secrets.OSSRH_TOKEN }}
39
39
OSSRH_GPG_SECRET_KEY : ${{ secrets.OSSRH_GPG_SECRET_KEY }}
40
40
OSSRH_GPG_SECRET_KEY_PASSWORD : ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
41
+
42
+ gradle-monitor :
43
+ name : Snyk gradle monitor
44
+ runs-on : ubuntu-latest
45
+ steps :
46
+ - uses : actions/checkout@v4
47
+
48
+ - name : Run Snyk to monitor build.gradle for vulnerabilities
49
+ uses : snyk/actions/gradle-jdk17@master
50
+ env :
51
+ SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
52
+ with :
53
+ command : monitor
54
+ args : --org=f310ee2f-5552-444d-84ee-ec8c44c33adb --project-name=wiremock-jwt-extension --policy-path=.snyk
Original file line number Diff line number Diff line change
1
+ # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2
+ version: v1.25.0
3
+ # ignores vulnerabilities until expiry date; change duration by modifying expiry date
4
+ ignore:
5
+ SNYK-JAVA-ORGJETBRAINSKOTLIN-2393744:
6
+ - '*':
7
+ reason: No fix available
8
+ expires: 2025-09-13T11:22:43.997Z
9
+ created: 2024-09-13T11:22:43.999Z
10
+ 'snyk:lic:maven:junit:junit:EPL-1.0':
11
+ - '*':
12
+ reason: Not relevant, we do not repackage junit
13
+ expires: 2034-09-13T12:29:48.476Z
14
+ created: 2024-09-13T12:29:48.481Z
15
+ patch: {}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ plugins {
12
12
id ' eclipse'
13
13
id ' project-report'
14
14
id ' com.diffplug.spotless' version ' 6.21.0'
15
- id ' org.wiremock.tools.gradle.wiremock-extension-convention' version ' 0.2 .0'
15
+ id ' org.wiremock.tools.gradle.wiremock-extension-convention' version ' 0.3 .0'
16
16
}
17
17
18
18
repositories {
@@ -67,6 +67,9 @@ dependencies {
67
67
implementation(' com.fasterxml.jackson.core:jackson-core:2.15.0' ) {
68
68
because ' version 2.14.2 brought in transitively by com.auth0:auth0@2.12.0 has CWE-400'
69
69
}
70
+ implementation(' org.apache.commons:commons-compress:1.26.0' ) {
71
+ because ' version 1.24.0 brought in transitively by org.wiremock:wiremock:3.9.1 has CVE-2024-25710'
72
+ }
70
73
}
71
74
}
72
75
You can’t perform that action at this time.
0 commit comments