Updated scripts
This commit is contained in:
@ -7,7 +7,7 @@ exec docker run \
|
|||||||
-e "repositories.url.allowed_urls=http://snapshot.*" \
|
-e "repositories.url.allowed_urls=http://snapshot.*" \
|
||||||
-e "discovery.type=single-node" \
|
-e "discovery.type=single-node" \
|
||||||
-p 9200:9200 \
|
-p 9200:9200 \
|
||||||
docker.elastic.co/elasticsearch/elasticsearch:7.0.0-alpha2
|
docker.elastic.co/elasticsearch/elasticsearch:7.0.0-beta1
|
||||||
# docker.elastic.co/elasticsearch/elasticsearch:6.5.4
|
# docker.elastic.co/elasticsearch/elasticsearch:6.5.4
|
||||||
|
|
||||||
# -e "xpack.security.enabled=true" \
|
# -e "xpack.security.enabled=true" \
|
||||||
|
|||||||
@ -9,9 +9,11 @@ const allowedMethods = {
|
|||||||
// list of apis that does not need any kind of validation
|
// list of apis that does not need any kind of validation
|
||||||
// because of how the url is built or the `type` handling in ES7
|
// because of how the url is built or the `type` handling in ES7
|
||||||
const noPathValidation = [
|
const noPathValidation = [
|
||||||
|
'create',
|
||||||
'exists',
|
'exists',
|
||||||
'explain',
|
'explain',
|
||||||
'get',
|
'get',
|
||||||
|
'get_source',
|
||||||
'indices.get_alias',
|
'indices.get_alias',
|
||||||
'indices.exists_alias',
|
'indices.exists_alias',
|
||||||
'indices.get_field_mapping',
|
'indices.get_field_mapping',
|
||||||
|
|||||||
Reference in New Issue
Block a user