Skip to content

Commit

Permalink
Missing policies for netty, discovery-azure and repository-s3 (#123696)…
Browse files Browse the repository at this point in the history
… (#123825)
  • Loading branch information
ldematte authored Mar 2, 2025
1 parent 9875f4f commit 5ed6a84
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ ALL-UNNAMED:
- relative_path: ".aws/"
relative_to: "home"
mode: "read"
# The security policy permission states this is "only for tests": org.elasticsearch.repositories.s3.S3RepositoryPlugin
# TODO: check this is actually needed, and if we can isolate it to a test-only policy
- write_system_properties:
properties:
- es.allow_insecure_settings
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ io.netty.transport:
- inbound_network
- outbound_network
- manage_threads
# Netty NioEventLoop wants to change this, because of https://bugs.openjdk.java.net/browse/JDK-6427854
# the bug says it only happened rarely, and that its fixed, but apparently it still happens rarely!
# TODO: copied over from the security policy. Check if this is still valid
- write_system_properties:
properties:
- sun.nio.ch.bugLevel
io.netty.common:
- inbound_network
- outbound_network
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALL-UNNAMED:
- outbound_network

0 comments on commit 5ed6a84

Please sign in to comment.