Skip to content

Commit 0fe7894

Browse files
amsiglansbcd90
andauthored
[2.19] Moved the commons-beanutils pinning to the core gradle file (#1893)
* moved the pinning to the core gradle file where the commons-validator dependency is present Signed-off-by: Amardeepsingh Siglani <[email protected]> * update commons-beanutils version to fix whitesource issues Signed-off-by: Subhobrata Dey <[email protected]> fix whitesource issue of commons-beanutils Signed-off-by: Subhobrata Dey <[email protected]> --------- Signed-off-by: Amardeepsingh Siglani <[email protected]> Signed-off-by: Subhobrata Dey <[email protected]> Co-authored-by: Subhobrata Dey <[email protected]>
1 parent e6459a9 commit 0fe7894

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

alerting/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ configurations.all {
8080
force "org.apache.httpcomponents:httpcore:${versions.httpcore}"
8181
// force the version until OpenSearch upgrade to an invulnerable one, https://www.whitesourcesoftware.com/vulnerability-database/WS-2.19.1379
8282
force "commons-codec:commons-codec:1.13"
83-
// force commons-beanutils to a non-vulnerable version
84-
force "commons-beanutils:commons-beanutils:1.11.0"
8583

8684
// This is required because kotlin-coroutines-core 1.1.1 still requires kotlin stdlib 1.3.20 and we're using a higher kotlin version
8785
force "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}"

core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies {
1515
implementation "com.cronutils:cron-utils:9.1.7"
1616
api "org.opensearch.client:opensearch-rest-client:${opensearch_version}"
1717
api "org.opensearch:common-utils:${common_utils_version}@jar"
18-
implementation 'commons-validator:commons-validator:1.7'
18+
implementation 'commons-validator:commons-validator:1.10.0'
1919

2020
testImplementation "org.opensearch.test:framework:${opensearch_version}"
2121
testImplementation "org.jetbrains.kotlin:kotlin-test:${kotlin_version}"

0 commit comments

Comments
 (0)