You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* create vault as unprivileged when running as non-root
* Fix AgentInfo creation
* Allow install --unprivileged on darwin
* Add --unprivileged flag to uninstall
* Move the check for unprivileged in EncryptedDiskStore defaults
Checking if we are running as root when creating the EncryptedDiskStore
removes the need for propagating an unprivileged flag from a lot of
places in the code.
Only exception is the uninstall command, since it needs to run with
administrator privileges: in there we check for existence of a FileVault
containing the agent secret to detect if we have to load the agent
configuration as unprivileged (currently relevant only on Darwin)
* Deprecate '--disable-encrypted-store' switch on elastic-agent run
* add unit test for uninstall unprivileged check
* fixup! add unit test for uninstall unprivileged check
* propagate errors when creating encrypted disk store
* fixup! propagate errors when creating encrypted disk store
* changelog
* fixup! fixup! propagate errors when creating encrypted disk store
* Fix order of overrides in EncryptedDiskStore
* fixup! Fix order of overrides in EncryptedDiskStore
* fixup! fixup! Fix order of overrides in EncryptedDiskStore
* fixup! fixup! fixup! Fix order of overrides in EncryptedDiskStore
* fixup! propagate errors when creating encrypted disk store
* fix log and error strings
_=cmd.Flags().MarkDeprecated("disable-encrypted-store", "agent on Mac OS can be run/installed without root privileges, see elastic-agent install --help")
92
97
93
98
// --testing-mode is a hidden flag that spawns the Elastic Agent in testing mode
94
99
// it is hidden because we really don't want users to execute Elastic Agent to run
0 commit comments