Skip to content

Commit 80defc5

Browse files
committed
removed jar/zip paths, added logs dir
1 parent c684a9d commit 80defc5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,7 @@ private static PolicyManager createPolicyManager() {
273273
new LoadNativeLibrariesEntitlement(),
274274
new FilesEntitlement(
275275
List.of(
276-
FileData.ofPath(Path.of("/co/elastic/apm/agent/"), READ),
277-
FileData.ofPath(Path.of("/agent/co/elastic/apm/agent/"), READ),
276+
FileData.ofPath(bootstrapArgs.logsDir(), READ_WRITE),
278277
FileData.ofPath(Path.of("/proc/meminfo"), READ),
279278
FileData.ofPath(Path.of("/sys/fs/cgroup/"), READ)
280279
)

0 commit comments

Comments
 (0)