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] Couple agent and integration policy space #194099

Open
nchaulet opened this issue Sep 26, 2024 · 2 comments
Open

[Fleet] Couple agent and integration policy space #194099

nchaulet opened this issue Sep 26, 2024 · 2 comments
Labels
Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@nchaulet
Copy link
Member

Description

Related to #190727

Fleet do not support currently to have an agent policy with integration policy that are not in the same space as the agent policy, to be able to release space awareness, we should fix that.

For this:

  • we should couple agent policy spaces and integration policy spaces (they should be identical).

    • when creating an integration policy we should assign the space to be the same as the agent policy.
  • We should also block reusable integration policies to be used in a policy belonging to multiple space.

    • when moving a policy to different spaces
    • when assigning an integration policy to an agent policy with multiple space
@nchaulet nchaulet added the Team:Fleet Team label for Observability Data Collection Fleet team label Sep 26, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@nimarezainia
Copy link
Contributor

  • We should also block reusable integration policies to be used in a policy belonging to multiple space.

@nchaulet as long as the Reusable Integration is in a space that also appears in the agent policy, we should allow this I think. Does it matter if the agent policy is in multiple spaces? Sounds like we may have an issue with how the reusable integration is applied in this case.

Scenario:
Reusable integration is in space A
Agent policy is in space A, B & C

What would happen to a user in space B or C who can read/write to this Agent Policy? do we filter out the reusable integration in this instance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

3 participants