Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diagnostics should clearly identify whether an agent is unprivileged or privileged #4439

Closed
1 task
cmacknz opened this issue Mar 19, 2024 · 1 comment · Fixed by #4725
Closed
1 task

Diagnostics should clearly identify whether an agent is unprivileged or privileged #4439

cmacknz opened this issue Mar 19, 2024 · 1 comment · Fixed by #4725
Assignees
Labels
Team:Elastic-Agent Label for the Agent team

Comments

@cmacknz
Copy link
Member

cmacknz commented Mar 19, 2024

Diagnostics collected from unprivileged agents do not indicate that they are unprivileged. To reproduce:

  1. Download the latest 8.14.0-SNAPSHOT and run elastic-agent install --unprivileged
  2. Collect diagnostics with elastic-agent diagnostics
  3. Extract the diagnostics unzip elastic-agent-diagnostics-2024-03-19T17-40-33Z-00.zip -d diag
  4. Observe that the privilege level of the agent does not appear in the diagnostics at all rg --ignore-case priv ./diag.

Describe the enhancement:

Follow up tasks:

  • Show the info in Fleet UI (in the Elastic Agent view page)

Describe a specific use case for the enhancement or feature:

Better understanding of the Elastic Agent installation via diagnostics.
Better troubleshooting.

What is the definition of done?

  • Elastic Agent diagnostics report the installation/packaging method
  • Elastic Agent diagnostics report feature flags used at install/enroll
@cmacknz cmacknz added the Team:Elastic-Agent Label for the Agent team label Mar 19, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants