Device Nodes

Inventory all 'device' nodes in /dev/.:

Query

select file.path, uid, gid, mode, 0 as atime, mtime, ctime, block_size, type from file where directory = '/dev/';

Additional Query Info

  • Version: 1.6.0
  • Platform: posix
  • Interval: 7200

JSON

{
  "queries": {
    "Device Nodes": {
      "query": "select file.path, uid, gid, mode, 0 as atime, mtime, ctime, block_size, type from file where directory = '/dev/';",
      "interval": "7200",
      "platform": "posix",
      "version": "1.6.0",
      "description": "Inventory all 'device' nodes in /dev/.",
      "value": ""
    }
  }
}