-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Metricbeat system modules reports Windows 11 as Windows 10 #30833
Labels
Comments
cmacknz
added
bug
Team:Elastic-Agent-Data-Plane
Label for the Agent Data Plane team
labels
Mar 15, 2022
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
upstream issue elastic/go-sysinfo#118 |
6 tasks
andrewkroh
added a commit
to andrewkroh/beats
that referenced
this issue
Jul 8, 2022
andrewkroh
added a commit
that referenced
this issue
Jul 11, 2022
andrewkroh
added a commit
that referenced
this issue
Jul 11, 2022
andrewkroh
added a commit
that referenced
this issue
Jul 11, 2022
andrewkroh
added a commit
that referenced
this issue
Jul 11, 2022
Fixes #30833 Co-authored-by: Andrew Kroh <[email protected]>
andrewkroh
added a commit
that referenced
this issue
Jul 12, 2022
Fixes #30833 (cherry picked from commit 86bb5f3) Co-authored-by: Andrew Kroh <[email protected]>
leweafan
pushed a commit
to leweafan/beats
that referenced
this issue
Apr 28, 2023
elastic#32304) Fixes elastic#30833 Co-authored-by: Andrew Kroh <[email protected]>
chrisberkhout
pushed a commit
that referenced
this issue
Jun 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
When running on Windows 11 the system module will report the running Windows version as Windows 10.
This was noticed as the endpoint security integration correctly identifies Windows 11 when agent is running on that operating system with both endpoint security and the system integration:
Endpoint Security:
System:
We are reporting the value from reading the
SOFTWARE\Microsoft\Windows NT\CurrentVersion
registry key exactly as read:https://github.com/elastic/go-sysinfo/blob/bef435f84e9706a7c8fff908b5e54b984f98ca3b/providers/windows/os_windows.go#L33
The product name wasn't updated by Microsoft between the two products and the system integration isn't looking at anything else that allows distinguishing Windows 10 from Windows 11 like Endpoint is.
There are some related answers in the Microsoft support forums confirming the situation:
This is a bug in that the system integration hasn't accounted for this problem yet.
The text was updated successfully, but these errors were encountered: