opensearch-project / security

🔐 Secure your cluster with TLS, numerous authentication backends, data masking, audit logging as well as role-based access control on indices, documents, and fields
https://opensearch.org/docs/latest/security-plugin/index/
Apache License 2.0
180 stars 264 forks source link

[Backport 2.x] Fix DelegatingRestHandlerTests #4435

Closed opensearch-trigger-bot[bot] closed 3 weeks ago

opensearch-trigger-bot[bot] commented 3 weeks ago

Backport 8c722f6990f2380c75e4ed722b4601353af79ccf from #4434.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.41%. Comparing base (d19b1ef) to head (d3ae4d7).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/opensearch-project/security/pull/4435/graphs/tree.svg?width=650&height=150&src=pr&token=rBpySfQXMt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project)](https://app.codecov.io/gh/opensearch-project/security/pull/4435?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) ```diff @@ Coverage Diff @@ ## 2.x #4435 +/- ## ========================================== + Coverage 65.36% 65.41% +0.04% ========================================== Files 311 311 Lines 21867 21868 +1 Branches 3550 3550 ========================================== + Hits 14294 14304 +10 + Misses 5806 5799 -7 + Partials 1767 1765 -2 ``` | [Files](https://app.codecov.io/gh/opensearch-project/security/pull/4435?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | Coverage Δ | | |---|---|---| | [...nsearch/security/filter/DelegatingRestHandler.java](https://app.codecov.io/gh/opensearch-project/security/pull/4435?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fopensearch%2Fsecurity%2Ffilter%2FDelegatingRestHandler.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project#diff-c3JjL21haW4vamF2YS9vcmcvb3BlbnNlYXJjaC9zZWN1cml0eS9maWx0ZXIvRGVsZWdhdGluZ1Jlc3RIYW5kbGVyLmphdmE=) | `93.33% <100.00%> (+0.47%)` | :arrow_up: | ... and [6 files with indirect coverage changes](https://app.codecov.io/gh/opensearch-project/security/pull/4435/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project)