-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Fix hardware model and version on Lenovo #8534
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
Fix hardware model and version on Lenovo #8534
Conversation
lucasmrod
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
zwass
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @sgress454! Will merge when CI passes (just kicked off run).
zwass
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there's a mismatched bracket somewhere in the Windows code. Please fix that. https://github.com/osquery/osquery/actions/runs/12892403902/job/36019373348?pr=8534#step:22:9090
89590dc to
b734fe9
Compare
No idea how that got in there, fixed now 👍 |
|
@zwass please re-run those tests when you get a chance! |
|
Now there's a code style failure. Make sure to run the code format check locally to make this easier (see the build docs). |
b734fe9 to
9a5f8b9
Compare
@zwass Fixed! |
zwass
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Will merge when CI completes.
From Fleet: fleetdm/fleet#21648
This PR fixes an issue where Lenovo laptops report the hardware model and version incorrectly in the BIOS tables, resulting in incorrect values in the
hardware_modelandhardware_versioncolumns of thesystem_infotable. This issue affects both Windows and Linux. See fleetdm/fleet#21648 (comment) for examples of the undesirable output.The fixes in this PR are:
ThinkPad L15 Gen 3which is consistent with the kind of value typically reported ashardware_modelfrom other vendors. The reported version is something like 21C8S3EA00 which appears to be a product SKU, which can serve as the "version" for this model.hardware_modelintohardware_versionas above.Results: