Android OS versions: capture security patch level#48600
Conversation
Fold SoftwareInfo.SecurityPatchLevel into the Android OS version so hosts report as "Android 16 (2026-05-01)" and get distinct operating_systems rows per patch level. Falls back to the bare major version when no patch level is reported. Resolves #47334
CI Feedback 🧐A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #48600 +/- ##
==========================================
+ Coverage 67.47% 68.02% +0.54%
==========================================
Files 3673 3676 +3
Lines 232787 233642 +855
Branches 12402 12402
==========================================
+ Hits 157080 158930 +1850
+ Misses 61606 60408 -1198
- Partials 14101 14304 +203
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Related issue: Resolves #47334
Captures
SoftwareInfo.securityPatchLevelfrom the Android Management API and folds it into the host's OS version, so Android reads as"Android 16 (2026-05-01)"and theoperating_systemsrow is"16 (2026-05-01)". This produces distinct OS-version rows keyed by patch level — the vulnerability-relevant granularity for Android. Devices that don't report a patch level fall back to the bare major version.Checklist for submitter
changes/.Testing