Closed DevJhaAbhishek closed 1 year ago
@reta @dblock @nknize @Gaganjuneja @shwetathareja @Bukhtawar Please help
This may be a related issue seen on the security plugin: https://github.com/opensearch-project/security/issues/3213
@willyborankin
@DevJhaAbhishek I am closing this one, the fix is provided here (https://github.com/opensearch-project/OpenSearch/pull/9453#discussion_r1303178969 as @Gaganjuneja pointed out)
Thanks for the suggestion. I have tried using this approach and it seems to be working
Describe the bug Added permission in plugin-security.policy but after installing the plugin and while running OpenSearch, getting access denied.
Added the following permission in plugin-security.policy file in telemetry-otel plugin
permission java.util.PropertyPermission "*", "read,write"
While running OpenSearch (after installing the plugin) getting following error:
Adding the same permission in
org/opensearch/bootstrap/security.policy
or hard-coding the policy file path in jvm options like-Djava.security.policy=file:///path
seems to work (as expected)Similar behaviour is happening for other permissions as well.
Expected behavior Permissions should automatically be picked up from plugin-security.policy file
Plugins telemetry-otel
Additional context Complete Log: