elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.73k stars 8.14k forks source link

[Fleet]: On unassigning the Default Space from Agent Policy, Fleet server gets removed #192545

Open harshitgupta-qasource opened 1 week ago

harshitgupta-qasource commented 1 week ago

Kibana Build details:

VERSION: 8.16.0
BUILD: 78156
COMMIT: 6ef9f6c640a86180e92945b1e729ab11709cad3b

Host OS: All

Preconditions:

  1. 8.16.0 or above Kibana should be available.
  2. Agent Policy should be created.
  3. Two or more space should be created.

Steps to reproduce:

  1. Log in to the Default Space.
  2. Navigate to Agents Tab > Agent Policies Tab.
  3. Select any agent policy and go to Settings.
  4. Scroll down to the Spaces section and click the dropdown list.
  5. Verify that all created spaces are listed in the dropdown.
  6. Select all spaces and unassign the Default Space.
  7. Observe that when the Default Space is unassigned from the Agent Policy, the Fleet server is removed.

Expected Result:

Screen-cast

https://github.com/user-attachments/assets/a688b8b1-b552-4c9d-8978-a459895f7c74

Screen Shot Image

Feature: https://github.com/elastic/ingest-dev/issues/1664

elasticmachine commented 1 week ago

Pinging @elastic/fleet (Team:Fleet)

harshitgupta-qasource commented 1 week ago

@amolnater-qasource Kindly review

amolnater-qasource commented 1 week ago

Secondary Review for this ticket is Done.