-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add the support of trusted file systems to AgentPolicy #17852
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
Conversation
|
❌ Gradle check result for 8bdcb17: 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: Andriy Redko <drreta@gmail.com>
libs/agent-sm/agent/src/main/java/org/opensearch/javaagent/FileInterceptor.java
Show resolved
Hide resolved
|
❕ Gradle check result for 818a492: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17852 +/- ##
============================================
- Coverage 72.47% 72.42% -0.05%
+ Complexity 66534 66476 -58
============================================
Files 5408 5408
Lines 308217 308225 +8
Branches 44749 44751 +2
============================================
- Hits 223369 223228 -141
- Misses 66591 66741 +150
+ Partials 18257 18256 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…oject#17852) Signed-off-by: Andriy Redko <drreta@gmail.com> Signed-off-by: Harsh Kothari <techarsh@amazon.com>
…oject#17852) Signed-off-by: Andriy Redko <drreta@gmail.com> Signed-off-by: Harsh Kothari <techarsh@amazon.com>
Description
Add the support of trusted file systems to AgentPolicy. The security checks where part of the
FileSystemimplementations (JDK) but we do use mock file systems (like Jimfs) in tests. Since we made checks global now, adding the support of trusted file systems (similarly to trusted hosts) to theAgentPolicyRelated Issues
N/A
Check List
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.