Skip to main content

plugin_proval_computerpatchcompliance

Purpose

This view provides a detailed, per-computer analysis of patch health. It lists every machine in the environment along with its operating system details, end-of-life status, and a calculated "Compliance Score" based on how recently the last monthly Cumulative Update (CU) was installed. It serves as the main data source for detailed report sections like "Device Patch Status."

Dependencies

Tables Used

  • computers
  • locations
  • inv_operatingsystem
  • hotfix
  • computerpatchcompliancestats
  • plugin_proval_windows_os_support (Custom table for OS lifecycle dates)
  • pvl_win_latest_installed_cu (Custom table for Audit data)

Details

ColumnTypeExplanation
ClientIDIntegerThe ID of the client the computer belongs to.
LocationIDIntegerThe ID of the location the computer belongs to.
LocationNameStringThe name of the location.
LocationAreaStringThe City and State of the location (e.g., "New York, NY").
ComputerIDIntegerThe unique system ID of the computer.
ComputerNameStringThe hostname of the computer.
ComputerIsServerBooleanReturns 1 if the device is a server, 0 if it is a workstation.
ComputerIsVirtualBooleanReturns 1 if the device is a virtual machine, 0 if it is physical.
ComputerOSStringThe cleaned name of the operating system (e.g., "Windows 11").
FullOSNameStringThe complete operating system name usually found in inventory.
ComputerOSFullVersionStringThe specific build version of the OS (e.g., "10.0.22631").
PatchTotalApprovedIntegerTotal number of patches approved for this machine.
PatchComplianceDecimalA calculated score (0 to 1.0) representing patch health. 1.0 is fully patched, 0 is End-of-Life.
PatchDateLastPatchedDateThe date the last hotfix or patch was successfully installed.
PatchDateLastScannedDateThe date the Windows Update agent last scanned for updates.
ComputerDateLastContactDateThe last time the agent checked in with the server.
Is EOLStringIndicates support status: "In Support", "Out of Support" (End of Life), or "Unknown".
SupportEndDateDateThe official date when Microsoft stops supporting this specific OS version.
cuStringThe KB number of the last installed Cumulative Update.
releasedateDateThe date Microsoft released the Cumulative Update currently installed on the device.
Patch[Type]InstallCountIntegerVarious columns showing the count of installed patches by category (Critical, Important, CVSS High, etc.).
Patch[Type]FailedCountIntegerVarious columns showing the count of failed patches by category.

Changelog

2026-01-02

  • Initial version of the document