-
Notifications
You must be signed in to change notification settings - Fork 280
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
Point in time security changes #1989
Conversation
Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
@opensearch-project/security Can we get another review on this change? |
@Bukhtawar Can you please take a look at this? |
Signed-off-by: Bharathwaj G <bharath78910@gmail.com> (cherry picked from commit 9ce8b4f)
@@ -130,6 +131,8 @@ cluster_composite_ops_ro: | |||
- "indices:admin/aliases/get*" | |||
- "indices:data/read/scroll" | |||
- "indices:admin/resolve/index" | |||
- "indices:data/read/point_in_time/read*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does read*
mean, Is it read all pits if yes should we name it different to avoid confusion with index data read
Updated security changes : #2033 |
Signed-off-by: Bharathwaj G <bharath78910@gmail.com> Signed-off-by: Stephen Crawford <steecraw@amazon.com>
…project#2005) Signed-off-by: Bharathwaj G <bharath78910@gmail.com> (cherry picked from commit 9ce8b4f) Co-authored-by: Bharathwaj G <58062316+bharath-techie@users.noreply.github.com>
Description
This adds point in time permissions to default action groups.
Point in time has 3 apis:
The permission model is similar to scroll which is a similar pagination feature
Cluster_composite_ops_ro:
Adding 'create pit' and 'list all pits' API permission to cluster composite ops read only action group.
Cluster_composite_ops:
Adding 'delete' API permission + above permissions to cluster composite ops action group.
Kibana_server:
Kibana server has access to all operations.
API changes links :
opensearch-project/OpenSearch#4064 - create pit and delete pit api
opensearch-project/OpenSearch#4016 - list all
New feature - Point in time feature
These changes are required for access of various point in time APIs
This is a new feature
Issues Resolved
Meta issue - opensearch-project/OpenSearch#3959
Is this a backport? If so, please add backport PR # and/or commits #
Testing
[Please provide details of testing done: unit testing, integration testing and manual testing]
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.