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] Adds validation for the action groups type key #4411

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

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

Backport 374190da79bc527ff42ab2bedf9594e173be7609 from #4400.

codecov[bot] commented 3 weeks ago

Codecov Report

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

Project coverage is 65.33%. Comparing base (34a546c) to head (707e398).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/opensearch-project/security/pull/4411/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/4411?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 #4411 +/- ## ========================================== + Coverage 65.31% 65.33% +0.01% ========================================== Files 309 309 Lines 21821 21833 +12 Branches 3545 3547 +2 ========================================== + Hits 14252 14264 +12 Misses 5804 5804 Partials 1765 1765 ``` | [Files](https://app.codecov.io/gh/opensearch-project/security/pull/4411?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | Coverage Δ | | |---|---|---| | [.../security/dlic/rest/api/ActionGroupsApiAction.java](https://app.codecov.io/gh/opensearch-project/security/pull/4411?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fopensearch%2Fsecurity%2Fdlic%2Frest%2Fapi%2FActionGroupsApiAction.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project#diff-c3JjL21haW4vamF2YS9vcmcvb3BlbnNlYXJjaC9zZWN1cml0eS9kbGljL3Jlc3QvYXBpL0FjdGlvbkdyb3Vwc0FwaUFjdGlvbi5qYXZh) | `78.18% <100.00%> (+10.73%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/opensearch-project/security/pull/4411/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project)