Skip to content

Commit 4d0ac04

Browse files
authored
[Java Agent Policy Parser] Skip evaluation of AttachPermission (#17896)
Signed-off-by: Gulshan Kumar <kumargu@amazon.com>
1 parent 3e10fe3 commit 4d0ac04

File tree

1 file changed

+2
-1
lines changed
  • libs/agent-sm/agent-policy/src/main/java/org/opensearch/secure_sm/policy

1 file changed

+2
-1
lines changed

libs/agent-sm/agent-policy/src/main/java/org/opensearch/secure_sm/policy/PolicyFile.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ public class PolicyFile extends java.security.Policy {
4949
"org.bouncycastle.crypto.CryptoServicesPermission",
5050
"org.opensearch.script.ClassPermission",
5151
"javax.security.auth.AuthPermission",
52-
"javax.security.auth.kerberos.ServicePermission"
52+
"javax.security.auth.kerberos.ServicePermission",
53+
"com.sun.tools.attach.AttachPermission"
5354
);
5455

5556
private final PolicyInfo policyInfo;

0 commit comments

Comments
 (0)