elasticsearch/docs/reference/docs
Gordon Brown 91f4b58bf7
Deprecate REST access to System Indices (#60945)
This PR adds deprecation warnings when accessing System Indices via the REST layer. At this time, these warnings are only enabled for Snapshot builds by default, to allow projects external to Elasticsearch additional time to adjust their access patterns.

Deprecation warnings will be triggered by all REST requests which access registered System Indices, except for purpose-specific APIs which access System Indices as an implementation detail a few specific APIs which will continue to allow access to system indices by default:

- `GET _cluster/health`
- `GET {index}/_recovery`
- `GET _cluster/allocation/explain`
- `GET _cluster/state`
- `POST _cluster/reroute`
- `GET {index}/_stats`
- `GET {index}/_segments`
- `GET {index}/_shard_stores`
- `GET _cat/[indices,aliases,health,recovery,shards,segments]`

Deprecation warnings for accessing system indices take the form:
```
this request accesses system indices: [.some_system_index], but in a future major version, direct access to system indices will be prevented by default
```
2020-10-06 11:13:48 -06:00
..
bulk.asciidoc [DOCS] Fix capitalization for several headings (#62324) 2020-09-14 12:18:32 -04:00
concurrency-control.asciidoc [DOCS] Reformat snippets to use two-space indents (#59973) 2020-07-21 12:24:26 -04:00
data-replication.asciidoc [DOCS] Swap [float] for [discrete] (#60124) 2020-07-23 11:48:22 -04:00
delete-by-query.asciidoc Deprecate REST access to System Indices (#60945) 2020-10-06 11:13:48 -06:00
delete.asciidoc [DOCS] Replace twitter dataset in docs (#60604) 2020-08-03 12:49:56 -04:00
get.asciidoc [DOCS] Replace twitter dataset in docs APIs (#60521) 2020-07-31 11:52:26 -04:00
index_.asciidoc Add "synthetics-*-*" templates for synthetics fleet data (#62193) 2020-09-14 16:37:21 -06:00
multi-get.asciidoc [DOCS] Replace twitter dataset in docs APIs (#60521) 2020-07-31 11:52:26 -04:00
multi-termvectors.asciidoc [DOCS] Replace twitter dataset in docs APIs (#60521) 2020-07-31 11:52:26 -04:00
refresh.asciidoc [DOCS] Swap [float] for [discrete] (#60124) 2020-07-23 11:48:22 -04:00
reindex.asciidoc [DOCS] Use correct get document API (#61804) (#61991) 2020-09-04 10:05:21 -04:00
termvectors.asciidoc [DOCS] Replace twitter dataset in docs APIs (#60521) 2020-07-31 11:52:26 -04:00
update-by-query.asciidoc Deprecate REST access to System Indices (#60945) 2020-10-06 11:13:48 -06:00
update.asciidoc [DOCS] Swap [float] for [discrete] (#60124) 2020-07-23 11:48:22 -04:00