"Fossies" - the Fresh Open Source Software Archive

Member "elasticsearch-6.8.23/x-pack/plugin/src/test/resources/rest-api-spec/test/watcher/block_direct_index_access/10_basic.yml" (29 Dec 2021, 1533 Bytes) of package /linux/www/elasticsearch-6.8.23-src.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ---
    2 "Test Hijack and Block Direct Access to Internal Indices":
    3   - do:
    4       cluster.health:
    5           wait_for_status: yellow
    6 
    7   - do:
    8       catch: /not supported/
    9       get:
   10           index: ".watches"
   11           type: "watch"
   12           id: "foo"
   13 
   14   - do:
   15       catch: /not supported/
   16       index:
   17           index: ".watches"
   18           type: "watch"
   19           id: "foo"
   20           body: {}
   21 
   22   - do:
   23       catch: /not supported/
   24       delete:
   25           index: ".watches"
   26           type: "watch"
   27           id: "foo"
   28 
   29   - do:
   30       catch: /not supported/
   31       indices.delete:
   32           index: ".watches"
   33 
   34   - do:
   35       catch: /not supported/
   36       update:
   37           index: ".watches"
   38           type: "watch"
   39           id: "foo"
   40           body: {}
   41 
   42   - do:
   43       catch: /not supported/
   44       bulk:
   45           index: ".watches"
   46           type: "watch"
   47           body:
   48             -  { "index": {}}
   49             -  {}
   50 
   51   - do:
   52       catch: /not supported/
   53       bulk:
   54           index: ".watches"
   55           body:
   56             -  { "index": {}}
   57             -  {}
   58 
   59   - do:
   60       catch: /not supported/
   61       delete_by_query:
   62           index: ".watches"
   63           body: {}
   64 
   65   - do:
   66       catch: /not supported/
   67       delete_by_query:
   68           index: ".watches"
   69           type: "watch"
   70           body: {}
   71 
   72   - do:
   73       catch: /not supported/
   74       update_by_query:
   75           index: ".watches"
   76           body: {}
   77 
   78   - do:
   79       catch: /not supported/
   80       update_by_query:
   81           index: ".watches"
   82           type: "watch"
   83           body: {}