OpenSearch/x-pack/docs/en/watcher
Gordon Brown 5c8b0662df
Deprecate REST access to System Indices (#63274) (Original #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 13:41:40 -06:00
..
actions [DOCS] Replace Wikipedia links with attribute (#61171) (#61209) 2020-08-17 11:27:04 -04:00
condition [DOCS] Correctly read total hits inside watcher config 2020-01-14 12:58:52 +01:00
example-watches [DOCS] Fix hyphenation for "time series" (#61472) (#61481) 2020-08-24 11:18:07 -04:00
images [DOCS] Removes out-dated info from Watcher limitations (#44252) 2019-07-17 13:24:02 -07:00
input [DOCS] Remove search request body page (#60972) (#60977) 2020-08-11 13:04:07 -04:00
java [DOCS] Swap `[float]` for `[discrete]` (#60134) 2020-07-23 12:42:33 -04:00
transform [DOCS] Remove search request body page (#60972) (#60977) 2020-08-11 13:04:07 -04:00
trigger [Docs] Insert missing colon (#56980) 2020-05-20 15:49:17 +02:00
actions.asciidoc [DOCS] Swap `[float]` for `[discrete]` (#60134) 2020-07-23 12:42:33 -04:00
condition.asciidoc [DOCS] Moves Watcher content into Elasticsearch book (#47147) (#47255) 2019-09-30 10:18:50 -07:00
customizing-watches.asciidoc [DOCS] Remove search request body page (#60972) (#60977) 2020-08-11 13:04:07 -04:00
encrypting-data.asciidoc [DOCS] Moves Watcher content into Elasticsearch book (#47147) (#47255) 2019-09-30 10:18:50 -07:00
example-watches.asciidoc [DOCS] Moves Watcher content into Elasticsearch book (#47147) (#47255) 2019-09-30 10:18:50 -07:00
getting-started.asciidoc [DOCS] Swap `[float]` for `[discrete]` (#60134) 2020-07-23 12:42:33 -04:00
gs-index.asciidoc [DOCS] Swap `[float]` for `[discrete]` (#60134) 2020-07-23 12:42:33 -04:00
how-watcher-works.asciidoc [DOCS] Swap `[float]` for `[discrete]` (#60134) 2020-07-23 12:42:33 -04:00
index.asciidoc [DOCS] Swap `[float]` for `[discrete]` (#60134) 2020-07-23 12:42:33 -04:00
input.asciidoc [DOCS] Moves Watcher content into Elasticsearch book (#47147) (#47255) 2019-09-30 10:18:50 -07:00
java.asciidoc [DOCS] Swap `[float]` for `[discrete]` (#60134) 2020-07-23 12:42:33 -04:00
limitations.asciidoc [DOCS] Removes out-dated info from Watcher limitations (#44252) 2019-07-17 13:24:02 -07:00
managing-watches.asciidoc Deprecate REST access to System Indices (#63274) (Original #60945) 2020-10-06 13:41:40 -06:00
release-notes.asciidoc [DOCS] Swap `[float]` for `[discrete]` (#60134) 2020-07-23 12:42:33 -04:00
transform.asciidoc [DOCS] Qualifies Watcher transforms (#47482) 2019-11-20 16:44:18 -08:00
trigger.asciidoc [DOCS] Moves Watcher content into Elasticsearch book (#47147) (#47255) 2019-09-30 10:18:50 -07:00
troubleshooting.asciidoc Deprecate REST access to System Indices (#63274) (Original #60945) 2020-10-06 13:41:40 -06:00