[8.15] Fixes for 'unprivileged' agent docs (backport #1200) #1204
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This updates the Run Elastic Agent without administrative privileges page based on suggestions in #1197
Closes: #1197
Preview pages:
Fixes mapped to the "Unprivileged mode docs review" issue
Updates the warning about running commands in unprivileged mode to be more clear.
Describes the
privileged
andunprivileged
commands for changing an agent's running mode.Nothing to do for now.
Adds steps to view an agent's running status (privileged vs unprivileged) in the "Agent details" UI.
Nothing to do for now.
Additional fix
--privileged
parameter to theelastic-agent install
command.@ycombinator Do you think
elastic-agent privileged
andelastic-agent unprivileged
should also be documented as full commands, similar toelastic-agent inspect
,elastic-agent status
, etc.? From Addunprivileged
andprivileged
subcommand to Elastic Agent elastic-agent#4621 it seems so. That is, they're actual commands rather than just parameters on theelastic-agent install
command. However, these are also referred to as "subcommands" so I'm kind of puzzled. :-)This is an automatic backport of pull request #1200 done by [Mergify](https://mergify.com).