-
Notifications
You must be signed in to change notification settings - Fork 282
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
Onboard KNN Plugin features into security #2265
Comments
Hi @jmazanec15, I recommend following the same pattern as other recently introduced plugins where the convention is adding new reserved roles in If you would like actions to be assignable to custom roles than add the roles that can be assignable to https://github.com/opensearch-project/security-dashboards-plugin/blob/main/public/apps/configuration/constants.tsx. For system index protection, the index needs to be added to
You can edit the |
[Triaged] @jmazanec15 Thanks for filing this. Could you please provide which version you wanna go in with this feature? |
Hi @opensearch-project/security, |
Re-labeling as 2.7.0. This had to be rolled back and wasn't included in 2.6.0. |
@jmazanec15 same question as in #2478, with 2.7 code freeze coming up, want to make sure you are getting the support you need to get the needed changes in. |
@martin-gaievski has been working on this. He merged the necessary change into 2.7: opensearch-project/k-NN#849. I will let him confirm if everything is working. |
Thanks for the update, @jmazanec15. Please re-open if you still think there is something here for security to address. |
Related to #2256
We would like to integrate the k-NN plugin functionality with security.
For k-NN, we have several APIs. Listed below are the apis, the roles we want to assign the apis (and there all of the actions) and the actions:
cluster:admin/knn_search_model_action
cluster:admin/knn_training_model_action
cluster:admin/knn_training_job_router_action
cluster:admin/knn_training_job_route_decision_info_action
cluster:admin/knn_warmup_action
cluster:admin/knn_delete_model_action
cluster:admin/knn_remove_model_from_cache_action
cluster:admin/knn_update_model_graveyard_action
cluster:admin/knn_get_model_action
cluster:admin/knn_stats_action
In order to create these roles, do I just need to update:
In addition, we have 1 system index: ".opensearch-knn-models". Is there anything we should do in particular in security plugin for this? Do we need to add it to a sample config anywhere?
The text was updated successfully, but these errors were encountered: