Feature: Collect additional hardware audit information

When devices enrol the client collects processor, memory, disk and network information which is persisted in the database
This commit is contained in:
Gary Sharp
2020-11-29 16:43:44 +11:00
parent 28e5901929
commit f1d27732c7
9 changed files with 409 additions and 82 deletions
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Disco.Models.Repository
@@ -16,6 +12,10 @@ namespace Disco.Models.Repository
public const string HardwareKeyACAdapter = "ACAdapter";
public const string HardwareKeyBattery = "Battery";
public const string HardwareKeyKeyboard = "Keyboard";
public const string HardwareKeyNetworkAdapters = "NetworkAdapters";
public const string HardwareKeyProcessors = "Processors";
public const string HardwareKeyPhysicalMemory = "PhysicalMemory";
public const string HardwareKeyDiskDrives = "DiskDrives";
[Column(Order = 0), Key]
public string DeviceSerialNumber { get; set; }