diff --git a/config/elasticsearch.yml b/config/elasticsearch.yml index f35ab4a3a64..f1359cd58d0 100644 --- a/config/elasticsearch.yml +++ b/config/elasticsearch.yml @@ -294,7 +294,7 @@ # and master node is elected. Multicast discovery is the default. # Set to ensure a node sees N other master eligible nodes to be considered -# operational within the cluster. This should be set to a quorum/majority of +# operational within the cluster. This should be set to a quorum/majority of # the master-eligible nodes in the cluster. # #discovery.zen.minimum_master_nodes: 1 @@ -371,11 +371,3 @@ #monitor.jvm.gc.old.warn: 10s #monitor.jvm.gc.old.info: 5s #monitor.jvm.gc.old.debug: 2s - -################################## Security ################################ - -# Uncomment if you want to enable JSONP as a valid return transport on the -# http server. With this enabled, it may pose a security risk, so disabling -# it unless you need it is recommended (it is disabled by default). -# -#http.jsonp.enable: true diff --git a/docs/reference/api-conventions.asciidoc b/docs/reference/api-conventions.asciidoc index 7cb86f93a90..3ccda61f21a 100644 --- a/docs/reference/api-conventions.asciidoc +++ b/docs/reference/api-conventions.asciidoc @@ -243,23 +243,6 @@ field names in the result will be returned in camel casing, otherwise, underscore casing will be used. Note, this does not apply to the source document indexed. -[float] -=== JSONP - -By default JSONP responses are disabled. - -When enabled, all REST APIs accept a `callback` parameter -resulting in a http://en.wikipedia.org/wiki/JSONP[JSONP] result. You can enable -this behavior by adding the following to `config.yaml`: - - http.jsonp.enable: true - -Please note, when enabled, due to the architecture of Elasticsearch, this may pose -a security risk. Under some circumstances, an attacker may be able to exfiltrate -data in your Elasticsearch server if they're able to force your browser to make a -JSONP request on your behalf (e.g. by including a