From 1434d6b0344c77fe1585c5dcd1c3b9c3774dce1c Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Tue, 25 Feb 2025 15:36:01 -0800 Subject: [PATCH] Grant Lucene expressions module create classloader entitlement (#123424) Expressions create a classloader within Lucene, not the Elasticsearch module. This commit fixes the policy to grant the entitlement to the Lucene module. --- .../src/main/plugin-metadata/entitlement-policy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang-expression/src/main/plugin-metadata/entitlement-policy.yaml b/modules/lang-expression/src/main/plugin-metadata/entitlement-policy.yaml index b05e6e3a7bf7c..29a083f06bbc8 100644 --- a/modules/lang-expression/src/main/plugin-metadata/entitlement-policy.yaml +++ b/modules/lang-expression/src/main/plugin-metadata/entitlement-policy.yaml @@ -1,2 +1,2 @@ -org.elasticsearch.script.expression: +org.apache.lucene.expressions: - create_class_loader