diff --git a/data-prepper-plugins/kafka-plugins/build.gradle b/data-prepper-plugins/kafka-plugins/build.gradle index 1e3bf9581d..ad9a627bb9 100644 --- a/data-prepper-plugins/kafka-plugins/build.gradle +++ b/data-prepper-plugins/kafka-plugins/build.gradle @@ -63,6 +63,15 @@ dependencies { testImplementation libs.protobuf.util testImplementation libs.commons.io testImplementation libs.armeria.grpc + + constraints { + implementation('org.mozilla:rhino') { + version { + require '1.7.12' + } + because 'Fixes SNYK-JAVA-ORGMOZILLA-1314295.' + } + } }