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

[8.x] Permissions required for stateful agentless integrations (#118644) #119973

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

orestisfl
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

)

Closes elastic/security-team#11102
Closes elastic/security-team#11104

This allows agentless integrations (via elastic/beats#41446, elastic/kibana#203810) to write to agentless-* indices. Each index is created on-demand by the filebeat client and kibana conditionally extends the API key permissions to allow writing to the index.

(cherry picked from commit 3c184b9)

# Conflicts:
#	docs/reference/rest-api/security/get-service-accounts.asciidoc
#	x-pack/plugin/security/qa/service-account/src/javaRestTest/java/org/elasticsearch/xpack/security/authc/service/ServiceAccountIT.java
#	x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/service/ElasticServiceAccounts.java
Copy link
Contributor

Documentation preview:

@elasticsearchmachine elasticsearchmachine added external-contributor Pull request authored by a developer outside the Elasticsearch team v8.18.0 labels Jan 10, 2025
@orestisfl orestisfl requested a review from jakelandis January 10, 2025 17:02
@orestisfl orestisfl enabled auto-merge (squash) January 13, 2025 16:39
Copy link
Contributor

@jakelandis jakelandis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@orestisfl orestisfl merged commit b38748e into elastic:8.x Jan 13, 2025
15 checks passed
@orestisfl orestisfl deleted the backport/8.x/pr-118644 branch January 13, 2025 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport external-contributor Pull request authored by a developer outside the Elasticsearch team v8.18.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants