diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml index 08dc82b7f..76040ee20 100644 --- a/elasticsearch/values.yaml +++ b/elasticsearch/values.yaml @@ -244,6 +244,7 @@ conf: Listen 80 + LoadModule allowmethods_module modules/mod_allowmethods.so LoadModule mpm_event_module modules/mod_mpm_event.so LoadModule authn_file_module modules/mod_authn_file.so LoadModule authn_core_module modules/mod_authn_core.so @@ -324,8 +325,6 @@ conf: ProxyPass http://localhost:{{ tuple "elasticsearch" "internal" "client" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}/ ProxyPassReverse http://localhost:{{ tuple "elasticsearch" "internal" "client" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}/ - - AuthName "Elasticsearch" AuthType Basic AuthBasicProvider file ldap @@ -334,7 +333,35 @@ conf: AuthLDAPBindPassword {{ .Values.endpoints.ldap.auth.admin.password }} AuthLDAPURL {{ tuple "ldap" "default" "ldap" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup" | quote }} Require valid-user - + + + # Restrict access to the Elasticsearch Update API endpoint to prevent modification of indexed documents + + Require all denied + + # Restrict access to the Elasticsearch Update By Query API Endpoint to prevent modification of indexed documents + + Require all denied + + # Restrict access to the Elasticsearch Delete By Query API Endpoint to prevent deletion of indexed documents + + Require all denied + + + # Prohibit DELETE methods on the document API endpoint + + AllowMethods GET POST OPTIONS + ProxyPass http://localhost:{{ tuple "elasticsearch" "internal" "client" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}/ + ProxyPassReverse http://localhost:{{ tuple "elasticsearch" "internal" "client" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}/ + AuthName "Elasticsearch" + AuthType Basic + AuthBasicProvider file ldap + AuthUserFile /usr/local/apache2/conf/.htpasswd + AuthLDAPBindDN {{ .Values.endpoints.ldap.auth.admin.bind }} + AuthLDAPBindPassword {{ .Values.endpoints.ldap.auth.admin.password }} + AuthLDAPURL {{ tuple "ldap" "default" "ldap" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup" | quote }} + Require valid-user + log4j2: | status = error