Skip to content

Least privilege: run the agent as an unprivileged user #733

Open
0 of 5 issues completed
Open

Description

@retr0h

The agent runs as root now. The design for an unprivileged agent is written: https://github.com/osapi-io/specs/blob/main/components/osapi/least-privilege.md

It covers the privileged steps in the behavior DSL, the sudoers and systemd drop-ins that behavior get --json renders for each behavior, the checks in behavior validate and in the preflight, command and docker exec off by default, and the hand-written providers that need root until they move. The section "Order of work" has the steps. Open an issue for each step when it starts, and link it here.

Sub-issues

Sub-issues

0 of 5 Issues completed
Loading 5 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    architecturecomponent/agentenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions