Atlantiraptor Docs

Windows.Sys.DiskInfo

Type: Client

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

Source

Defined in artifacts/definitions/Windows/Sys/DiskInfo.yaml.

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")