Skip to content

Commit bf64055

Browse files
committed
Entitlements from manual test runs
1 parent 7b35d33 commit bf64055

File tree

8 files changed

+14
-1
lines changed

8 files changed

+14
-1
lines changed

libs/entitlement/src/main/java/org/elasticsearch/entitlement/initialization/EntitlementInitialization.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private static PolicyManager createPolicyManager() {
130130
),
131131
new Scope("org.apache.httpcomponents.httpclient", List.of(new OutboundNetworkEntitlement())),
132132
new Scope("io.netty.transport", List.of(new InboundNetworkEntitlement(), new OutboundNetworkEntitlement())),
133-
new Scope("org.apache.lucene.core", List.of(new LoadNativeLibrariesEntitlement())),
133+
new Scope("org.apache.lucene.core", List.of(new LoadNativeLibrariesEntitlement(), new ManageThreadsEntitlement())),
134134
new Scope("org.elasticsearch.nativeaccess", List.of(new LoadNativeLibrariesEntitlement()))
135135
)
136136
);
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
ALL-UNNAMED:
2+
- manage_threads
23
- outbound_network
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
ALL-UNNAMED:
2+
- manage_threads
23
- outbound_network

plugins/repository-hdfs/src/main/plugin-metadata/entitlement-policy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ALL-UNNAMED:
2+
- manage_threads
23
- outbound_network
34
- write_system_properties:
45
properties:

x-pack/plugin/core/src/main/plugin-metadata/entitlement-policy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
org.apache.httpcomponents.httpclient:
22
- outbound_network # For SamlRealm
3+
- manage_threads
34
org.apache.httpcomponents.httpcore.nio:
45
- outbound_network
6+
- manage_threads
7+
org.apache.httpcomponents.httpasyncclient:
8+
- manage_threads
59
unboundid.ldapsdk:
610
- write_system_properties:
711
properties:
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
org.elasticsearch.ml:
2+
- manage_threads

x-pack/plugin/security/src/main/plugin-metadata/entitlement-policy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
org.elasticsearch.security:
22
- set_https_connection_properties # for CommandLineHttpClient
33
io.netty.transport:
4+
- manage_threads
45
- inbound_network
56
- outbound_network
67
io.netty.common:
8+
- manage_threads
79
- inbound_network
810
- outbound_network
911
org.opensaml.xmlsec.impl:
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALL-UNNAMED:
2+
- manage_threads

0 commit comments

Comments
 (0)