Skip to content

[REQUEST]: Document new Fleet API for removing root privilege from Fleet-managed Elastic Agents #1867

@jillguyonnet

Description

@jillguyonnet

Description

9.3.0 will introduce a new feature in Fleet that allows the user to remove root privilege from Fleet-managed Elastic Agents, i.e. switch from privileged to unprivileged mode.

This feature is one way only (it cannot be used to grant root privilege) and is limited as follows:

  • The Elastic Agent must be on version 9.3.0 or higher.
  • The Elastic Agent must not be assigned to an agent policy that contains integrations that require root privilege (e.g. System).
  • The Elastic Agent must not be a Fleet Server agent.

Root privilege can be removed through the API:

  • Single agent: POST /api/fleet/agent/{agent_id}/privilege_level_change
  • Multiple agents: POST /api/fleet/agents/bulk_privilege_level_change

Or the UI (cf. screenshots in elastic/kibana#237790).

Resources

Collaboration

The documentation team will investigate the issue and create the initial content.

Point of contact.

Main contact: @jillguyonnet

Stakeholders: @elastic/fleet

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions