-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[Java Agent Policy Parser] Skip evaluation of AttachPermission #17896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Java Agent Policy Parser] Skip evaluation of AttachPermission #17896
Conversation
libs/agent-sm/agent-policy/src/main/java/org/opensearch/secure_sm/policy/PolicyFile.java
Outdated
Show resolved
Hide resolved
|
The error seems to be coming from this line: and it's a |
466cb71 to
1924325
Compare
@kumargu My reading of the JDK policy file is that it would handle all class not found exceptions, so the fact this class isn't available to the class loader for whatever reason is probably not new. |
|
❌ Gradle check result for 1924325: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 1924325: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 1924325: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 1924325: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 1924325: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Gulshan Kumar <[email protected]>
1924325 to
fa9d554
Compare
|
❌ Gradle check result for fa9d554: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17896 +/- ##
============================================
+ Coverage 72.43% 72.55% +0.11%
- Complexity 66789 66846 +57
============================================
Files 5449 5452 +3
Lines 309085 309210 +125
Branches 44979 44991 +12
============================================
+ Hits 223899 224343 +444
+ Misses 66906 66494 -412
- Partials 18280 18373 +93 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…earch-project#17896) Signed-off-by: Gulshan Kumar <[email protected]> Signed-off-by: Sriram Ganesh <[email protected]>
…earch-project#17896) Signed-off-by: Gulshan Kumar <[email protected]> Signed-off-by: Harsh Kothari <[email protected]>
…earch-project#17896) Signed-off-by: Gulshan Kumar <[email protected]> Signed-off-by: Harsh Kothari <[email protected]>
A quick fix to unblock load of PA plugins which defines Attach Permissions in its policy.
Fixes: opensearch-project/performance-analyzer#795
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.