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] Add support for ipv6 ip address in user injection #4409

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

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

Backport fd6fb3f3670417664d89fa13fd56cd3950de4f01 from #4399.

codecov[bot] commented 3 weeks ago

Codecov Report

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

Project coverage is 65.32%. Comparing base (16654c8) to head (1c0bb84).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/opensearch-project/security/pull/4409/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/4409?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 #4409 +/- ## ========================================== - Coverage 65.34% 65.32% -0.03% ========================================== Files 309 309 Lines 21819 21821 +2 Branches 3545 3545 ========================================== - Hits 14258 14254 -4 - Misses 5798 5803 +5 - Partials 1763 1764 +1 ``` | [Files](https://app.codecov.io/gh/opensearch-project/security/pull/4409?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | Coverage Δ | | |---|---|---| | [...ava/org/opensearch/security/auth/UserInjector.java](https://app.codecov.io/gh/opensearch-project/security/pull/4409?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fopensearch%2Fsecurity%2Fauth%2FUserInjector.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project#diff-c3JjL21haW4vamF2YS9vcmcvb3BlbnNlYXJjaC9zZWN1cml0eS9hdXRoL1VzZXJJbmplY3Rvci5qYXZh) | `89.53% <100.00%> (+0.24%)` | :arrow_up: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/opensearch-project/security/pull/4409/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project)