2015-05-01 13:22:54 -04:00
|
|
|
---
|
2015-05-07 10:05:08 -04:00
|
|
|
"Test Hijack and Block Direct Access to Internal Indices":
|
2015-05-01 13:22:54 -04:00
|
|
|
- do:
|
|
|
|
cluster.health:
|
|
|
|
wait_for_status: green
|
|
|
|
|
|
|
|
- do:
|
|
|
|
catch: /not supported/
|
|
|
|
get:
|
|
|
|
index: ".watches"
|
|
|
|
type: "watch"
|
|
|
|
id: "foo"
|
|
|
|
|
|
|
|
- do:
|
|
|
|
catch: /not supported/
|
|
|
|
index:
|
|
|
|
index: ".watches"
|
|
|
|
type: "watch"
|
|
|
|
id: "foo"
|
|
|
|
body: {}
|
|
|
|
|
|
|
|
- do:
|
|
|
|
catch: /not supported/
|
|
|
|
delete:
|
|
|
|
index: ".watches"
|
|
|
|
type: "watch"
|
|
|
|
id: "foo"
|
|
|
|
|
2015-05-08 10:39:06 -04:00
|
|
|
- do:
|
|
|
|
catch: /not supported/
|
|
|
|
indices.delete:
|
|
|
|
index: ".watches"
|
|
|
|
|
2015-05-01 13:22:54 -04:00
|
|
|
- do:
|
|
|
|
catch: /not supported/
|
|
|
|
update:
|
|
|
|
index: ".watches"
|
|
|
|
type: "watch"
|
|
|
|
id: "foo"
|
|
|
|
body: {}
|
|
|
|
|
|
|
|
- do:
|
|
|
|
catch: /not supported/
|
|
|
|
bulk:
|
|
|
|
index: ".watches"
|
|
|
|
type: "watch"
|
2015-05-07 10:36:55 -04:00
|
|
|
body:
|
|
|
|
- { "index": {}}
|
|
|
|
- {}
|
|
|
|
|
2015-05-01 13:22:54 -04:00
|
|
|
|
|
|
|
- do:
|
|
|
|
catch: /not supported/
|
|
|
|
bulk:
|
|
|
|
index: ".watches"
|
2015-05-07 10:36:55 -04:00
|
|
|
body:
|
|
|
|
- { "index": {}}
|
|
|
|
- {}
|