Skip to content
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

[Backport 2.x] Hides user and credential field from search response #681

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 757eaaf from #680.

* Hide user and credential field from search response

Signed-off-by: Owais Kazi <[email protected]>

* Hid the user field for Get API as well

Signed-off-by: Owais Kazi <[email protected]>

* Addressed PR Comments

Signed-off-by: Owais Kazi <[email protected]>

* Added user permission and new tests

Signed-off-by: Owais Kazi <[email protected]>

---------

Signed-off-by: Owais Kazi <[email protected]>
(cherry picked from commit 757eaaf)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Apr 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.88%. Comparing base (8130608) to head (e91e2c5).

Additional details and impacted files
@@             Coverage Diff              @@
##                2.x     #681      +/-   ##
============================================
+ Coverage     72.35%   72.88%   +0.53%     
- Complexity      687      694       +7     
============================================
  Files            82       82              
  Lines          3585     3589       +4     
  Branches        295      296       +1     
============================================
+ Hits           2594     2616      +22     
+ Misses          859      841      -18     
  Partials        132      132              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@owaiskazi19 owaiskazi19 merged commit a80737f into 2.x Apr 25, 2024
34 checks passed
@owaiskazi19 owaiskazi19 deleted the backport/backport-680-to-2.x branch April 25, 2024 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant