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

Add Manage agent policies action #182112

Open
8 tasks
Tracked by #75867
juliaElastic opened this issue Apr 30, 2024 · 2 comments
Open
8 tasks
Tracked by #75867

Add Manage agent policies action #182112

juliaElastic opened this issue Apr 30, 2024 · 2 comments
Assignees
Labels
Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@juliaElastic
Copy link
Contributor

juliaElastic commented Apr 30, 2024

Part of reusable integration policies work.

  • Add a new modal Manage agent policies that opens when clicking on agent policies count popover added here Show multiple agent policies on integration policies list UI #182111
  • The modal window should display a searchable multiselect component of agent policies (could be reused from the new integration page)
  • When agent policies are selected, and the action is submitted, an API request should be made to save the agent policy ids in the integration policy
  • The multiselect should display agent policies already linked to the integration
  • The action should allow removing existing linkage to agent policies
  • When removing an agent policy linkage, a warning should pop up to say “This integration will now be removed from these policies: ” ask the user to agree to proceed or cancel.
  • The action should prevent removing the last agent policy linkage until Support integration policies without agent policy references #182220 is completed
  • The minimum privileges required to take the action should be Integrations:All and Fleet: Agent policies:All
image image
@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 30, 2024
@juliaElastic juliaElastic added the Team:Fleet Team label for Observability Data Collection Fleet team label Apr 30, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Apr 30, 2024
@juliaElastic juliaElastic changed the title Add integration policy action to link with more agent policies Add Reuse integration to integration policy actions May 1, 2024
@juliaElastic
Copy link
Contributor Author

@nimarezainia Updated this issue with a consideration to RBAC:

  • The minimum privileges required to take the action should be Integrations:All and Fleet: Agent policies:All

Similarly updated the visibility of Shared column and Agent policies count column to require minimum Integrations:Read and Fleet: Agent policies:Read

@juliaElastic juliaElastic changed the title Add Reuse integration to integration policy actions Add Manage agent policies action May 29, 2024
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

2 participants