helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

[BUG] system_indices missing some default plugin indices in the helm chart opensearch values.yaml file

Open Flyingliuhub opened this issue 2 years ago • 3 comments
trafficstars

Describe the bug There are some default plugin's system_indices missing in the OpenSearch/values.yaml, please see the security plugin's system_indices list

To Reproduce Compare helm chart opensearch's value.yaml and security plugin's install_demo_configuration.sh

Expected behavior A clear and concise description of what you expected to happen.

Chart Name OpenSearch

Screenshots N/A

Host/Environment (please complete the following information):

  • Helm Version: 2.10

Additional context Add any other context about the problem here.

Flyingliuhub avatar Oct 05 '23 17:10 Flyingliuhub

This is something we should prioritize. Some system index stores important data. Missing system index in the helm-chats configuration will cause security issue. All teams maintain their system index in security plugin's install_demo_configuration.sh , I'd suggest use some way to sync from security plugin, or at least check if they are consistent with some cron job.

ylwu-amzn avatar Oct 05 '23 17:10 ylwu-amzn

@ylwu-amzn's suggestion to use the Security plugin's framework is a good path forward. You can always grab the different versions from the published versions on the security repos and then map 1:1 to the different helm-chart versions. To pull this in you can checkout the file from the security repos during your workflow process and then insert it using github actions. Alternatively you can look at some bash based solutions to this.

stephen-crawford avatar Oct 09 '23 19:10 stephen-crawford

[Untriage] Adding @tranngocsongtruc @SkollRyu @premkirank can you please take a look?

prudhvigodithi avatar Oct 10 '23 23:10 prudhvigodithi