-
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
Add geospatial ip2geo to the demo configuration system indices and roles #3051
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3051 +/- ##
============================================
- Coverage 62.43% 62.37% -0.06%
+ Complexity 3352 3348 -4
============================================
Files 254 254
Lines 19741 19741
Branches 3334 3334
============================================
- Hits 12325 12314 -11
- Misses 5787 5793 +6
- Partials 1629 1634 +5 |
tools/install_demo_configuration.bat
Outdated
@@ -315,7 +315,7 @@ echo plugins.security.enable_snapshot_restore_privilege: true >> "%OPENSEARCH_CO | |||
echo plugins.security.check_snapshot_restore_write_privileges: true >> "%OPENSEARCH_CONF_FILE%" | |||
echo plugins.security.restapi.roles_enabled: ["all_access", "security_rest_api_access"] >> "%OPENSEARCH_CONF_FILE%" | |||
echo plugins.security.system_indices.enabled: true >> "%OPENSEARCH_CONF_FILE%" | |||
echo plugins.security.system_indices.indices: [".plugins-ml-config", ".plugins-ml-connector", ".plugins-ml-model-group", ".plugins-ml-model", ".plugins-ml-task", ".opendistro-alerting-config", ".opendistro-alerting-alert*", ".opendistro-anomaly-results*", ".opendistro-anomaly-detector*", ".opendistro-anomaly-checkpoints", ".opendistro-anomaly-detection-state", ".opendistro-reports-*", ".opensearch-notifications-*", ".opensearch-notebooks", ".opensearch-observability", ".ql-datasources", ".opendistro-asynchronous-search-response*", ".replication-metadata-store", ".opensearch-knn-models"] >> "%OPENSEARCH_CONF_FILE%" | |||
echo plugins.security.system_indices.indices: [".plugins-ml-config", ".plugins-ml-connector", ".plugins-ml-model-group", ".plugins-ml-model", ".plugins-ml-task", ".opendistro-alerting-config", ".opendistro-alerting-alert*", ".opendistro-anomaly-results*", ".opendistro-anomaly-detector*", ".opendistro-anomaly-checkpoints", ".opendistro-anomaly-detection-state", ".opendistro-reports-*", ".opensearch-notifications-*", ".opensearch-notebooks", ".opensearch-observability", ".ql-datasources", ".opendistro-asynchronous-search-response*", ".replication-metadata-store", ".opensearch-knn-models", ".geospatial.ip2geo.data.*"] >> "%OPENSEARCH_CONF_FILE%" |
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.
Curious, is there any reason why you are using .
as a delimiter in the system index name? In all other cases in this list, plugins use hyphens. While its possible to use dot separation, would hyphen be better for consistency?
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.
Make sense. Let me update it.
@heemin32 Is this change targeting 2.10? |
Yes |
@heemin32 Can you rebase this PR with main? There were some recent build fixing PRs merged. |
Signed-off-by: Heemin Kim <[email protected]>
Thanks! Rebased. |
Can another maintainer please review this PR? |
### Description Adds 2 ip2geo related roles to the plugin: read only and fully access. Adds ip2geo system index to demo scripts as well. Signed-off-by: Heemin Kim <[email protected]> (cherry picked from commit 634e3af)
…y plugin (#3081) Backport 634e3af from #3051 Co-authored-by: Heemin Kim <[email protected]> Co-authored-by: Craig Perkins <[email protected]>
Description
Adds 2 ip2geo related roles to the plugin: read only and fully access.
Adds ip2geo system index to demo scripts as well.
Issues Resolved
N/A
Testing
N/A
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.