Required roles and privilegesedit

Beginning with Elastic Stack version 8.1, you no longer require the built-in elastic superuser credentials to use Fleet and Integrations.

Assigning the Kibana feature privileges Fleet and Integrations grants access to these features:

Grants full read-write access.
Grants read-only access.

The built-in editor role grants the following privileges, supporting full read-write access to Fleet and Integrations:

  • Fleet: All
  • Integrations: All

The built-in viewer role grants the following privileges, supporting read-only access to Fleet and Integrations:

  • Fleet:: None
  • Integrations:: Read

You can also create a new role that can be assigned to a user to grant access to Fleet and Integrations.

Create a role for Fleetedit

To create a new role with full access to use and manage Fleet and Integrations:

  1. In Kibana, go to Management → Stack Management.
  2. In the Security section, select Roles.
  3. Select Create role.
  4. Specify a name for the role.
  5. Leave the Elasticsearch settings at their defaults, or refer to Security privileges for descriptions of the available settings.
  6. In the Kibana section, select Add Kibana privilege.
  7. In the Spaces menu, select * All Spaces. Since many Integrations assets are shared across spaces, the users needs the Kibana privileges in all spaces.
  8. Expand the Management section.
  9. Set Fleet privileges to All.
  10. Set Integrations privileges to All.
Kibana privileges flyout showing Fleet and Integrations set to All

To create a read-only user for Integrations, follow the same steps as above but set the Fleet privileges to None and the Integrations privileges to Read.

Read-only access to Fleet is not currently supported but is planned for development in a later release.