From af27b0403e424c814a057a202ca7d099276ecb30 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Fri, 28 Feb 2025 11:26:32 -0800 Subject: [PATCH] Include network access for monitoring plugin (#123651) --- .../src/main/plugin-metadata/entitlement-policy.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x-pack/plugin/monitoring/src/main/plugin-metadata/entitlement-policy.yaml b/x-pack/plugin/monitoring/src/main/plugin-metadata/entitlement-policy.yaml index d826de8ca8725..27ff2988cdcbe 100644 --- a/x-pack/plugin/monitoring/src/main/plugin-metadata/entitlement-policy.yaml +++ b/x-pack/plugin/monitoring/src/main/plugin-metadata/entitlement-policy.yaml @@ -1,2 +1,8 @@ ALL-UNNAMED: - set_https_connection_properties # potentially required by apache.httpcomponents + # the original policy has java.net.SocketPermission "*", "accept,connect" + # but a comment stating it was "needed for multiple server implementations used in tests" + # TODO: this is likely not needed, but including here to be on the safe side until + # we can track down whether it's really needed + - outbound_network + - inbound_network