-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
[Fleet] added privileges for fleet-synced-integrations*
#123493
Merged
juliaElastic
merged 4 commits into
elastic:main
from
juliaElastic:follower-index-privileges
Mar 3, 2025
Merged
[Fleet] added privileges for fleet-synced-integrations*
#123493
juliaElastic
merged 4 commits into
elastic:main
from
juliaElastic:follower-index-privileges
Mar 3, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fleet-synced-integrations*
Pinging @elastic/es-core-infra (Team:Core/Infra) |
1 task
SiddharthMantri
requested changes
Mar 3, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a suggestion.
...va/org/elasticsearch/xpack/core/security/authz/store/KibanaOwnedReservedRoleDescriptors.java
Outdated
Show resolved
Hide resolved
…security/authz/store/KibanaOwnedReservedRoleDescriptors.java Co-authored-by: Sid <siddharthmantri1@gmail.com>
SiddharthMantri
approved these changes
Mar 3, 2025
juliaElastic
added a commit
to elastic/kibana
that referenced
this pull request
Mar 3, 2025
## Summary Relates #206242 Implemented installing integrations from the doc in the follower index. Can be tested locally by creating the ccr index locally or setting up 2 local clusters and set up ccr between them. To test: - Requires elastic/elasticsearch#123493, checkout and run es from source ``` yarn es source --license trial -E xpack.security.authc.api_key.enabled=true -E xpack.security.authc.token.enabled=true --source-path=/Users/juliabardi/elasticsearch -E path.data=/tmp/es-data -E xpack.ml.enabled=false ``` - Enable feature flag `xpack.fleet.enableExperimental: ['enableSyncIntegrationsOnRemote']` - Create doc in ccr index, `hosts` should match local elasticsearch host ``` POST fleet-synced-integrations-ccr-remote1/_doc { "id": "fleet-synced-integrations", "remote_es_hosts": [ { "hosts": [ "http://192.168.64.1:9200" ], "name": "remote1", "sync_integrations": true } ], "integrations": [ { "package_version": "1.25.0", "package_name": "nginx", "updated_at": "2025-02-24T09:03:51.936Z" } ] } ``` - Wait 1m until the task runs, verify that the integrations from the doc are installed ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
CAWilson94
pushed a commit
to CAWilson94/kibana
that referenced
this pull request
Mar 22, 2025
## Summary Relates elastic#206242 Implemented installing integrations from the doc in the follower index. Can be tested locally by creating the ccr index locally or setting up 2 local clusters and set up ccr between them. To test: - Requires elastic/elasticsearch#123493, checkout and run es from source ``` yarn es source --license trial -E xpack.security.authc.api_key.enabled=true -E xpack.security.authc.token.enabled=true --source-path=/Users/juliabardi/elasticsearch -E path.data=/tmp/es-data -E xpack.ml.enabled=false ``` - Enable feature flag `xpack.fleet.enableExperimental: ['enableSyncIntegrationsOnRemote']` - Create doc in ccr index, `hosts` should match local elasticsearch host ``` POST fleet-synced-integrations-ccr-remote1/_doc { "id": "fleet-synced-integrations", "remote_es_hosts": [ { "hosts": [ "http://192.168.64.1:9200" ], "name": "remote1", "sync_integrations": true } ], "integrations": [ { "package_version": "1.25.0", "package_name": "nginx", "updated_at": "2025-02-24T09:03:51.936Z" } ] } ``` - Wait 1m until the task runs, verify that the integrations from the doc are installed ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Core/Infra/Plugins
Plugin API and infrastructure
external-contributor
Pull request authored by a developer outside the Elasticsearch team
>non-issue
Team:Core/Infra
Meta label for core/infra team
Team:Fleet
v9.1.0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related elastic/kibana#206242
Follow up after #121753
Added
kibana_system
privileges onfleet-synced-integrations*
Reason: we are building a feature where the index
fleet-synced-integrations
will be replicated with CCR to remote clusters with the namefleet-synced-integrations-ccr-<remote_output_name>
.kibana_system
has to read the follower index.gradle check
? yes