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

[Elastic Agent] The winlog input should report itself as Degraded when it encounters a permissions error #39735

Closed
Tracked by #39604
cmacknz opened this issue May 24, 2024 · 1 comment · Fixed by #40163
Assignees
Labels
Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Comments

@cmacknz
Copy link
Member

cmacknz commented May 24, 2024

The winlog input cannot populate the system.security dataset when installed in an unprivileged agent that is not part of the appropriate winlog readers group.

Today this failure is silent, generating no logs. Investigate if it is possible to detect a permissions error when in this situation and set the winlog input as degraded using the agent control protocol so that the user can identify and optionally correct the problem.

Support for reporting status using the control protocol was added in #39209 using the CEL input as a reference implementation.

@cmacknz cmacknz added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label May 24, 2024
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

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

Successfully merging a pull request may close this issue.

3 participants