Skip to content
Please update to the latest release 0.77.3 to address Multiple CVEs.
Windows.Sys.DiskInfo

Windows.Sys.DiskInfo

Collects physical disk drive information including model, serial number, size, and interface type via WMI.


name: Windows.Sys.DiskInfo
description: |
  Collects physical disk drive information including model, serial
  number, size, and interface type via WMI.

sources:
  - precondition:
      SELECT OS From info() where OS = 'windows'
    query: |
        SELECT Partitions,
               Index as DiskIndex,
               InterfaceType as Type,
               PNPDeviceID,
               DeviceID,
               Size,
               Manufacturer,
               Model,
               Name,
               SerialNumber,
               Description
        FROM wmi(
           query="SELECT * from Win32_DiskDrive",
           namespace="ROOT\\CIMV2")