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

[Fleet] Support spaces in fleet object created by Fleet Server #3505

Closed
nchaulet opened this issue Apr 30, 2024 · 0 comments · Fixed by #3535
Closed

[Fleet] Support spaces in fleet object created by Fleet Server #3505

nchaulet opened this issue Apr 30, 2024 · 0 comments · Fixed by #3535
Assignees
Labels
Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Fleet Label for the Fleet team

Comments

@nchaulet
Copy link
Member

nchaulet commented Apr 30, 2024

Support spaces in fleet object created by Fleet Server

We are going to make Fleet space aware => Fleet server need to populate the namespace accordingly tin the document it manage.

Pass space ID through from:
.fleet-enrollment-api-keys to .fleet-agents documents.
.fleet-actions to .fleet-actions-results documents.

The namespace property has already been added to all of the .fleet* mappings managed in the fleet

Details

.fleet-policies

The namespace should be populated in Kibana base on the saved object namespace.

.fleet-enrollment-api-keys

The namespace should be populated in Kibana based on the related agent policy.

.fleet-agents

The namespace should be populated on enrolment, we should also update the value when assigning a new policy to the agent, this is done in Kibana.

.fleet-actions
We should populate the namespace when creating the action in Kibana


.fleet-actions-results
We should populate the namespace when creating the action result it should be the same as the corresponding .fleet-actions.

Open questions

Space will not work correctly if Fleet server is not updated, how do we communicate that? Cc @kpollich

@nchaulet nchaulet added Team:Fleet Label for the Fleet team Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Apr 30, 2024
@kpollich kpollich changed the title [Fleet] Support spaces [Fleet] Support spaces in Fleet actions May 6, 2024
@nchaulet nchaulet self-assigned this May 8, 2024
@nchaulet nchaulet changed the title [Fleet] Support spaces in Fleet actions [Fleet] Support spaces in fleet object created by Fleet Server May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Fleet Label for the Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant