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

[Auditbeat] Cherry-pick #12740 to 6.8: Process dataset: Do not show non-root warning on Windows #12759

Merged
merged 1 commit into from
Jul 3, 2019

Conversation

cwurm
Copy link
Contributor

@cwurm cwurm commented Jul 2, 2019

Cherry-pick of PR #12740 to 6.8 branch. Original message:

os.Geteuid() always returns -1 on Windows, so it is not an effective check for administrative privileges then.

This PR just removes the warning on Windows, the message has no impact on the data collection.

@cwurm cwurm changed the title Cherry-pick #12740 to 6.8: [Auditbeat] Process dataset: Do not show non-root warning on Windows [Auditbeat] Cherry-pick #12740 to 6.8: Process dataset: Do not show non-root warning on Windows Jul 2, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/secops

…tic#12740)

Remove the non-root warning on Windows as `os.Geteuid()` always returns `-1`.

(cherry picked from commit ba9c79e)
@cwurm cwurm force-pushed the backport_12740_6.8 branch from d58723c to 8c7c178 Compare July 3, 2019 10:53
@cwurm cwurm merged commit b32b6ba into elastic:6.8 Jul 3, 2019
@cwurm cwurm deleted the backport_12740_6.8 branch July 3, 2019 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants