Skip to content

Commit 63a6b94

Browse files
authored
Merge pull request #377 from hmcts/PUB-2206-Dependency-Updates
PUB-2206 - Dependency Updates
2 parents bd484ac + 6d611f1 commit 63a6b94

File tree

4 files changed

+19
-25
lines changed

4 files changed

+19
-25
lines changed

build.gradle

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
plugins {
22
id 'application'
33
id 'checkstyle'
4-
id 'com.github.ben-manes.versions' version '0.48.0'
4+
id 'com.github.ben-manes.versions' version '0.49.0'
55
id 'io.spring.dependency-management' version '1.1.3'
66
id 'jacoco'
77
id 'org.springframework.boot' version '3.0.12'
8-
id 'org.owasp.dependencycheck' version '8.4.0'
8+
id 'org.owasp.dependencycheck' version '8.4.2'
99
id 'org.sonarqube' version '4.4.1.3373'
1010
id 'pmd'
11-
id 'org.jetbrains.kotlin.jvm' version '1.9.10'
12-
id 'io.freefair.lombok' version '8.3'
13-
id 'org.flywaydb.flyway' version '9.22.1'
11+
id 'org.jetbrains.kotlin.jvm' version '1.9.20'
12+
id 'io.freefair.lombok' version '8.4'
13+
id 'org.flywaydb.flyway' version '9.22.3'
1414
}
1515

1616
apply plugin: 'org.owasp.dependencycheck'
@@ -129,7 +129,7 @@ pmd {
129129
}
130130

131131
jacoco {
132-
toolVersion = "0.8.10"
132+
toolVersion = "0.8.11"
133133
}
134134

135135
jacocoTestReport {
@@ -192,21 +192,21 @@ dependencies {
192192
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa'
193193
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-oauth2-client'
194194
implementation group: 'org.postgresql', name: 'postgresql', version: '42.6.0'
195-
implementation group: 'com.azure.spring', name: 'spring-cloud-azure-starter-active-directory', version: '5.5.0'
196-
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.11.0'
195+
implementation group: 'com.azure.spring', name: 'spring-cloud-azure-starter-active-directory', version: '5.7.0'
196+
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.12.0'
197197
implementation group: 'com.opencsv', name: 'opencsv', version: '5.8'
198198
implementation group: 'commons-validator', name: 'commons-validator', version: '1.7'
199199

200-
implementation group: 'com.github.hmcts', name: 'pip-data-models', version: '2.1.9', {
200+
implementation group: 'com.github.hmcts', name: 'pip-data-models', version: '2.1.11', {
201201
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-data-jpa'
202202
}
203203

204204
implementation group: 'com.vladmihalcea', name: 'hibernate-types-60', version: '2.21.1'
205205

206206
// Include the sdk as a dependency
207-
implementation group: 'com.microsoft.graph', name: 'microsoft-graph', version: '5.72.0'
207+
implementation group: 'com.microsoft.graph', name: 'microsoft-graph', version: '5.75.0'
208208
// Include Azure identity for authentication
209-
implementation group: 'com.azure', name: 'azure-identity', version: '1.10.1'
209+
implementation group: 'com.azure', name: 'azure-identity', version: '1.11.0'
210210

211211
implementation group: 'org.springdoc', name: 'springdoc-openapi-starter-webmvc-ui', version: '2.2.0'
212212

@@ -215,10 +215,10 @@ dependencies {
215215
implementation group: 'net.logstash.logback', name: 'logstash-logback-encoder', version: '7.4'
216216

217217
// Include Azure storage blob for storing application images
218-
implementation group: 'com.azure', name: 'azure-storage-blob', version: '12.24.0'
218+
implementation group: 'com.azure', name: 'azure-storage-blob', version: '12.25.0'
219219

220220
// Include Flyway for database migrations
221-
implementation group: 'org.flywaydb', name: 'flyway-core', version: '9.22.1'
221+
implementation group: 'org.flywaydb', name: 'flyway-core', version: '9.22.3'
222222

223223
// Force upgrade snakeyaml version for CVE-2022-38752
224224
implementation( group: 'org.yaml', name: 'snakeyaml').version {
@@ -227,11 +227,11 @@ dependencies {
227227

228228
runtimeOnly("org.springframework.boot:spring-boot-properties-migrator")
229229

230-
testImplementation(platform('org.junit:junit-bom:5.10.0'))
230+
testImplementation(platform('org.junit:junit-bom:5.10.1'))
231231
testImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-test'
232232
testImplementation group: 'org.springframework.security', name: 'spring-security-test'
233233
testImplementation "io.zonky.test:embedded-database-spring-test:2.3.0"
234-
testImplementation group: 'com.squareup.okhttp3', name: 'mockwebserver', version: '4.11.0'
234+
testImplementation group: 'com.squareup.okhttp3', name: 'mockwebserver', version: '4.12.0'
235235
testImplementation group: 'io.github.hakky54', name: 'logcaptor', version: '2.9.0'
236236
testImplementation group: 'io.zonky.test', name: 'embedded-database-spring-test', version: '2.3.0'
237237
testImplementation group: 'org.awaitility', name: 'awaitility', version: '4.2.0'

config/owasp/suppressions.xml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,22 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
33
<suppress>
4-
<notes><![CDATA[file name: spring-cloud-azure-starter-active-directory-5.5.0.jar]]></notes>
5-
<packageUrl regex="true">^pkg:maven/com.azure.spring/spring-cloud-azure-starter-active-directory@5.5.0</packageUrl>
4+
<notes><![CDATA[file name: spring-cloud-azure-starter-active-directory-5.7.0.jar]]></notes>
5+
<packageUrl regex="true">^pkg:maven/com.azure.spring/spring-cloud-azure-starter-active-directory@5.7.0</packageUrl>
66
<cve>CVE-2021-42306</cve>
77
</suppress>
88
<suppress>
99
<notes>The vulnerability exists in the latest version of lib too. Need to wait for new version with the fix</notes>
1010
<packageUrl regex="true">^pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.14.3</packageUrl>
1111
<cve>CVE-2023-35116</cve>
1212
</suppress>
13-
<suppress>
14-
<notes>Pulled in by okhttp (which we're already on the latest version of)</notes>
15-
<packageUrl regex="true">^pkg:maven/com.squareup.okio/okio-jvm@3.2.0</packageUrl>
16-
<cve>CVE-2023-3635</cve>
17-
</suppress>
1813
<suppress>
1914
<notes>Suppression for netty. Pulled in by springboot on latest version</notes>
2015
<cve>CVE-2023-4586</cve>
2116
</suppress>
2217
<suppress>
2318
<notes><![CDATA[file name: azure-identity-1.10.0.jar]]></notes>
2419
<packageUrl regex="true">^pkg:maven/com\.azure/azure\-identity@.*$</packageUrl>
25-
<cve>CVE-2023-36414</cve>
2620
<cve>CVE-2023-36415</cve>
2721
</suppress>
2822
</suppressions>

infrastructure/.terraform-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.7
1+
1.6.3

infrastructure/providers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33

44
required_providers {
55
azurerm = {
6-
version = "3.75.0"
6+
version = "3.79.0"
77
}
88
postgresql = {
99
source = "cyrilgdn/postgresql"

0 commit comments

Comments
 (0)