Skip to content

Commit 92c7e6e

Browse files
committed
more missing entitlements for the inference plugin
1 parent 3c1b7ba commit 92c7e6e

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

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

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,32 @@
11
com.google.api.client:
22
- set_https_connection_properties
3+
- outbound_network
4+
software.amazon.awssdk.utils:
5+
- manage_threads
6+
- outbound_network
7+
# AmazonBedrockInferenceClient uses NettyNioAsyncHttpClient, so we grant network permissions (and thread permissions,
8+
# as it is async) to the related modules
9+
software.amazon.awssdk.http.nio.netty:
10+
- manage_threads
11+
- outbound_network
12+
io.netty.common:
13+
- outbound_network
14+
- manage_threads
15+
- files:
16+
- path: "/etc/os-release"
17+
mode: "read"
18+
- path: "/usr/lib/os-release"
19+
mode: "read"
20+
- path: "/proc/sys/net/core/somaxconn"
21+
mode: read
22+
io.netty.transport:
23+
- manage_threads
24+
- outbound_network
25+
# AWS Clients always try to access the credentials and config files, even if we configure otherwise
26+
# This should be "fixed" (as in, it will handle SecurityException correctly)
27+
# by https://github.com/aws/aws-sdk-java-v2/pull/5904. Once confirmed and libraries are updated, these could be removed.
328
software.amazon.awssdk.profiles:
4-
- files: # AWS Clients always try to access the credentials and config files, even if we configure otherwise
29+
- files:
530
- relative_path: .aws/credentials
631
relative_to: home
732
mode: read

0 commit comments

Comments
 (0)