From 17b45899c310fc6b16f079a5f7fd41f03d08bca2 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 4 Dec 2024 01:08:53 +0000 Subject: [PATCH 1/2] address CVE issue Signed-off-by: Eric --- build.gradle | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 9f79707e..3f0d0fa2 100644 --- a/build.gradle +++ b/build.gradle @@ -146,7 +146,12 @@ dependencies { testCompile "org.mockito:mockito-core:3.12.4" testCompile 'com.google.code.gson:gson:2.8.9' - ktlint "com.pinterest:ktlint:0.45.1" + add("ktlint", "com.pinterest:ktlint:0.45.1") { + exclude group: "ch.qos.logback", module: "logback-classic" + exclude group: "ch.qos.logback", module: "logback-core" + } + add("ktlint", "ch.qos.logback:logback-core:1.2.13") + add("ktlint", "ch.qos.logback:logback-classic:1.2.13") } javadoc.enabled = false // turn off javadoc as it barfs on Kotlin code From 30688782d2fd159f99df9b1c6a0f80a2edc9e087 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 4 Dec 2024 06:10:56 +0000 Subject: [PATCH 2/2] fix CI Signed-off-by: Eric --- .github/workflows/reports-scheduler-test-and-build-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reports-scheduler-test-and-build-workflow.yml b/.github/workflows/reports-scheduler-test-and-build-workflow.yml index 3c290177..2440671e 100644 --- a/.github/workflows/reports-scheduler-test-and-build-workflow.yml +++ b/.github/workflows/reports-scheduler-test-and-build-workflow.yml @@ -3,7 +3,7 @@ name: Test and Build Reports Scheduler on: [push, pull_request] env: - OPENSEARCH_VERSION: '1.3.5-SNAPSHOT' + OPENSEARCH_VERSION: '1.3.20-SNAPSHOT' jobs: linux-build: