-
Notifications
You must be signed in to change notification settings - Fork 73
Description
Description
In #1142, we introduced Fleet’s new privilege model with support for space-aware access control. This follow-up expands on how to use Fleet's space awareness capabilities:
- Enabling the space awareness feature
- Assigning Agent Policies to different spaces (and moving them)
- Making integration assets available across spaces
Enabling space awareness in Fleet
As of 9.1.0, Fleet supports a space-aware data model. This allows you to use Kibana spaces to manage Agent Policies and integrations separately per space. Combined with granular user roles, this enables true role-based access control for Elastic Agent management.
- New deployments on 9.1.0 or later: space awareness is enabled by default.
- Upgraded deployments from earlier versions: space awareness must be explicitly enabled.
To enable space awareness in upgraded deployments:
- Navigate to the Fleet app.
- Click the Settings tab.
- Scroll to Advanced settings.
- Under Migrate to space-aware agent policies, click Start migration.
- Confirm the migration via the modal.
This is a one-time migration that copies your existing Fleet data into a new, space-aware model. Previous data will be preserved in snapshots in case rollback is needed.
Managing Agent Policies across spaces
To control where an Agent Policy is available:
Agent Policies can be assigned to multiple spaces. In the example below, the policy is visible in both the "Default" space and "My second space."
Access to a policy is still governed by each user's Fleet permissions within the selected spaces.
Managing integration assets across spaces
When you add an integration to an Agent Policy, its assets (dashboards, visualizations, etc.) are installed only in the current space by default.
If the Agent Policy spans multiple spaces, you'll need to install the integration's assets in each space manually:
-
Switch to the desired Kibana space.
-
Go to the Integrations app → Installed integrations tab.
-
Click the name of the integration.
-
Open the Assets tab.
-
Click Install Kibana assets in current space.
This installs dashboards and other UI assets into the selected space.
Note: Due to limitations in Kibana’s saved object model, integration assets are copied per space. These saved objects are considered managed and are readonly.
Resources
Previous docs work: #1142
Collaboration
The product team will provide the initial content.
Point of contact.
Main contact: @kpollich
Stakeholders: @elastic/fleet @nimarezainia