Skip to content

Commit 5ed6a84

Browse files
authored
Missing policies for netty, discovery-azure and repository-s3 (#123696) (#123825)
1 parent 9875f4f commit 5ed6a84

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

modules/repository-s3/src/main/plugin-metadata/entitlement-policy.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@ ALL-UNNAMED:
88
- relative_path: ".aws/"
99
relative_to: "home"
1010
mode: "read"
11+
# The security policy permission states this is "only for tests": org.elasticsearch.repositories.s3.S3RepositoryPlugin
12+
# TODO: check this is actually needed, and if we can isolate it to a test-only policy
13+
- write_system_properties:
14+
properties:
15+
- es.allow_insecure_settings

modules/transport-netty4/src/main/plugin-metadata/entitlement-policy.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ io.netty.transport:
22
- inbound_network
33
- outbound_network
44
- manage_threads
5+
# Netty NioEventLoop wants to change this, because of https://bugs.openjdk.java.net/browse/JDK-6427854
6+
# the bug says it only happened rarely, and that its fixed, but apparently it still happens rarely!
7+
# TODO: copied over from the security policy. Check if this is still valid
8+
- write_system_properties:
9+
properties:
10+
- sun.nio.ch.bugLevel
511
io.netty.common:
612
- inbound_network
713
- outbound_network
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALL-UNNAMED:
2+
- outbound_network

0 commit comments

Comments
 (0)