Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce system index APIs for Kibana #53035

Merged
merged 4 commits into from
Mar 3, 2020

Conversation

jaymode
Copy link
Member

@jaymode jaymode commented Mar 2, 2020

This commit introduces a module for Kibana that exposes REST APIs that
will be used by Kibana for access to its system indices. These APIs are wrapped
versions of the existing REST endpoints. A new setting is also introduced since
the Kibana system indices' names are allowed to be changed by a user in case
multiple instances of Kibana use the same instance of Elasticsearch.

Additionally, the ThreadContext has been extended to indicate that the use of
system indices may be allowed in a request. This will be built upon in the future
for the protection of system indices.

Backport of #52385

This commit introduces a module for Kibana that exposes REST APIs that
will be used by Kibana for access to its system indices. These APIs are wrapped
versions of the existing REST endpoints. A new setting is also introduced since
the Kibana system indices' names are allowed to be changed by a user in case
multiple instances of Kibana use the same instance of Elasticsearch.

Additionally, the ThreadContext has been extended to indicate that the use of
system indices may be allowed in a request. This will be built upon in the future
for the protection of system indices.

Backport of elastic#52385
@jaymode jaymode added :Core/Infra/Core Core issues without another label backport labels Mar 2, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Core)

jaymode added a commit to jaymode/elasticsearch that referenced this pull request Mar 3, 2020
The system index module for Kibana has been merged to master in elastic#52385
and is being backported to 7.x in elastic#53035, which requires changes to the
serialization version. In order to avoid build failures, this commit
disables bwc tests. A subsequent commit will reenable these tests.
jaymode added a commit that referenced this pull request Mar 3, 2020
The system index module for Kibana has been merged to master in #52385
and is being backported to 7.x in #53035, which requires changes to the
serialization version. In order to avoid build failures, this commit
disables bwc tests. A subsequent commit will reenable these tests.
@jaymode jaymode merged commit c610e08 into elastic:7.x Mar 3, 2020
@jaymode jaymode deleted the kibana_system_index_plugin_7x branch March 3, 2020 21:11
jaymode added a commit to jaymode/elasticsearch that referenced this pull request Mar 3, 2020
This commit updates the serialization for allowed system indices after
the backport of the work and also re-enables bwc compatibility tests.

Relates elastic#52385
Relates elastic#53035
Relates elastic#53062
jaymode added a commit that referenced this pull request Mar 4, 2020
This commit updates the serialization for allowed system indices after
the backport of the work and also re-enables bwc compatibility tests.

Relates #52385
Relates #53035
Relates #53062
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Mar 21, 2020
rjernst added a commit that referenced this pull request Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Core/Infra/Core Core issues without another label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants