@lansweeper/data-platform-outbound-grpc 0.3.35 → 0.3.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_grpc_pb.d.ts +27 -10
  4. package/gen-proto/outbound_grpc_pb.js +26 -3
  5. package/gen-proto/outbound_pb.d.ts +26 -0
  6. package/gen-proto/outbound_pb.js +200 -0
  7. package/generated-go/outbound.pb.go +12263 -12177
  8. package/generated-go/outbound_grpc.pb.go +54 -14
  9. package/java.json +1 -1
  10. package/model/pom.xml +1 -1
  11. package/model/src/main/proto/outbound.proto +170 -162
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeconcileResponse$1.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeconcileResponse$Builder.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeconcileResponse.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/DeconcileResponseOrBuilder.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  17. package/model/target/classes/outbound.proto +170 -162
  18. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DeconcileResponse.java +633 -0
  19. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DeconcileResponseOrBuilder.java +33 -0
  20. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3617 -3601
  21. package/model/target/maven-archiver/pom.properties +2 -2
  22. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +4 -0
  23. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
  24. package/model/target/{outbound-model-0.3.34-sources.jar → outbound-model-0.3.36-sources.jar} +0 -0
  25. package/model/target/{outbound-model-0.3.34.jar → outbound-model-0.3.36.jar} +0 -0
  26. package/package.json +2 -2
  27. package/pom.xml +1 -1
  28. package/proto/outbound.proto +170 -162
  29. package/service/pom.xml +1 -1
  30. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$1.class +0 -0
  31. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$2.class +0 -0
  32. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$3.class +0 -0
  33. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceBaseDescriptorSupplier.class +0 -0
  34. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceBlockingStub.class +0 -0
  35. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceFileDescriptorSupplier.class +0 -0
  36. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceFutureStub.class +0 -0
  37. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceImplBase.class +0 -0
  38. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceMethodDescriptorSupplier.class +0 -0
  39. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceStub.class +0 -0
  40. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$MethodHandlers.class +0 -0
  41. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc.class +0 -0
  42. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$DataCoreOutboundServiceBlockingStub.class +0 -0
  43. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$DataCoreOutboundServiceFutureStub.class +0 -0
  44. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$DataCoreOutboundServiceImplBase.class +0 -0
  45. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc$DataCoreOutboundServiceStub.class +0 -0
  46. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc.class +0 -0
  47. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceImplBase.class +0 -0
  48. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc$MethodHandlers.class +0 -0
  49. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc$ReactorDataCoreBackofficeServiceStub.class +0 -0
  50. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc.class +0 -0
  51. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreOutboundServiceGrpc$DataCoreOutboundServiceImplBase.class +0 -0
  52. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreOutboundServiceGrpc$ReactorDataCoreOutboundServiceStub.class +0 -0
  53. package/service/target/generated-sources/protobuf/grpc-java/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc.java +86 -0
  54. package/service/target/generated-sources/protobuf/grpc-java/com/lansweeper/dp/outbound/v1/DataCoreOutboundServiceGrpc.java +12 -12
  55. package/service/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc.java +40 -0
  56. package/service/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ReactorDataCoreOutboundServiceGrpc.java +5 -5
  57. package/service/target/maven-archiver/pom.properties +2 -2
  58. package/service/target/outbound-service-0.3.36-sources.jar +0 -0
  59. package/service/target/outbound-service-0.3.36.jar +0 -0
  60. package/service/target/outbound-service-0.3.34-sources.jar +0 -0
  61. package/service/target/outbound-service-0.3.34.jar +0 -0
@@ -34,7 +34,7 @@ service DataCoreOutboundService {
34
34
  rpc ListEntities(ListEntityRequest) returns (stream ListEntityResponse) {}
35
35
 
36
36
  // Deconcile an entity from the aliases (reverse reconciliation)
37
- rpc EntityDeconcile(DeconcileRequest) returns (GetEntityResponse) {}
37
+ rpc EntityDeconcile(DeconcileRequest) returns (DeconcileResponse) {}
38
38
 
39
39
  // ----------------------------------------
40
40
  // ENRICHMENT API
@@ -73,6 +73,9 @@ service DataCoreBackofficeService {
73
73
  rpc GetSite(SiteKey) returns (Site);
74
74
  rpc UpdateSite(Site) returns (Site);
75
75
  rpc DeleteSite(SiteKey) returns (Site);
76
+
77
+ // Deconcile an entity from the aliases (reverse reconciliation)
78
+ rpc EntityDeconcile(DeconcileRequest) returns (DeconcileResponse) {}
76
79
  }
77
80
 
78
81
  message Site {
@@ -128,6 +131,11 @@ message GetEntityRequest {
128
131
  // bool send_related = 2; // send also related entities
129
132
  }
130
133
 
134
+ message DeconcileResponse {
135
+ bool success = 1;
136
+ optional string error_description = 2;
137
+ }
138
+
131
139
  message GetEntityResponse {
132
140
  bool success = 1;
133
141
  optional string error_description = 2;
@@ -527,23 +535,23 @@ message Relation {
527
535
  */
528
536
  message CorrelationFields {
529
537
  // version or timestamp here...
530
- repeated CorrField field = 1;
538
+ repeated CorrField field = 1;
531
539
 
532
540
  }
533
541
 
534
542
  message CorrField {
535
- string key = 1;
536
- repeated string value = 2;
543
+ string key = 1;
544
+ repeated string value = 2;
537
545
  }
538
546
 
539
547
  /**
540
548
  * ReconciliationInfo fields used by reconciliation/correlation engine.
541
549
  */
542
550
  message ReconciliationInfo {
543
- enum EntryState {
544
- GOLDEN = 0;
545
- ALIAS = 1;
546
- }
551
+ enum EntryState {
552
+ GOLDEN = 0;
553
+ ALIAS = 1;
554
+ }
547
555
 
548
556
  enum MasterType {
549
557
  ENGINE = 0;
@@ -554,7 +562,7 @@ message ReconciliationInfo {
554
562
  EntryState state = 2;
555
563
  optional MasterType master_type = 3; // NULL | ENGINE | USER
556
564
 
557
- reserved 4,5,6,7,8;
565
+ reserved 4, 5, 6, 7, 8;
558
566
 
559
567
  optional CorrelationInfo master_asset = 9; // null if GOLDEN / Filled with ID of master if overridden
560
568
  optional CorrelationInfo reference_asset = 10; // Filled by ENGINE with the Master ID chosen, if any: To preserve history of engine decisions vs user decisions.
@@ -729,7 +737,7 @@ message IntuneDevice {
729
737
  string management_agent = 33;
730
738
  string os_version = 34;
731
739
  string eas_device_id = 35;
732
- optional google.protobuf.Timestamp eas_activation_date= 36;
740
+ optional google.protobuf.Timestamp eas_activation_date = 36;
733
741
  bool is_azure_ad_registered = 37;
734
742
  string device_enrollment_type = 38;
735
743
  string activation_lock_bypass_code = 39;
@@ -874,10 +882,10 @@ message CoreFields {
874
882
  }
875
883
 
876
884
  message LastUser {
877
- string user_name = 1;
878
- optional string user_type = 2;
879
- optional string upn = 3;
880
- optional string sid = 4;
885
+ string user_name = 1;
886
+ optional string user_type = 2;
887
+ optional string upn = 3;
888
+ optional string sid = 4;
881
889
  }
882
890
 
883
891
  message UserLogon {
@@ -958,27 +966,27 @@ message UserInGroup {
958
966
  */
959
967
  message InternetExplorer {
960
968
  // from WindowsActiveX
961
- message ActiveX {
962
- optional string control = 1;
963
- optional string code_base = 2;
964
- optional string info = 3;
965
- optional string osd = 4;
966
- }
967
-
968
- // InternetExplorerExtensionInfo
969
- message Extension {
970
- optional string control = 1;
971
- optional string button_text = 2;
972
- optional string cls_id = 3;
973
- optional string default_visible = 4;
974
- optional string exec = 5;
975
- optional string hot_icon = 6;
976
- optional string icon = 7;
977
- optional string menu_text = 8;
978
- optional string tooltip = 9;
979
- }
980
-
981
- // from InternetExplorerBrowserObjectInfo
969
+ message ActiveX {
970
+ optional string control = 1;
971
+ optional string code_base = 2;
972
+ optional string info = 3;
973
+ optional string osd = 4;
974
+ }
975
+
976
+ // InternetExplorerExtensionInfo
977
+ message Extension {
978
+ optional string control = 1;
979
+ optional string button_text = 2;
980
+ optional string cls_id = 3;
981
+ optional string default_visible = 4;
982
+ optional string exec = 5;
983
+ optional string hot_icon = 6;
984
+ optional string icon = 7;
985
+ optional string menu_text = 8;
986
+ optional string tooltip = 9;
987
+ }
988
+
989
+ // from InternetExplorerBrowserObjectInfo
982
990
  message BrowserObject {
983
991
  string control = 1;
984
992
  }
@@ -1005,23 +1013,23 @@ message WindowsSqlServer {
1005
1013
  MIXED = 2;
1006
1014
  }
1007
1015
 
1008
- bool is_clustered = 1;
1009
- SqlAuthenticationMode sql_authentication_mode = 2;
1010
- repeated SqlServerDatabase databases = 3;
1011
- repeated SqlServerService services = 4;
1012
- string service_name = 5;
1013
- string display_version = 6;
1014
- string version = 7;
1015
- optional int32 sp_level = 8;
1016
- optional string sku_name = 9;
1017
- optional MappedValue language = 10;
1018
- optional bool is_wow64 = 11;
1019
- optional string install_path = 12;
1020
- optional string file_version = 13;
1021
- optional string data_path = 14;
1022
- optional SqlServerCluster cluster = 15;
1023
- string instance_id = 16;
1024
- optional string instance_name = 17;
1016
+ bool is_clustered = 1;
1017
+ SqlAuthenticationMode sql_authentication_mode = 2;
1018
+ repeated SqlServerDatabase databases = 3;
1019
+ repeated SqlServerService services = 4;
1020
+ string service_name = 5;
1021
+ string display_version = 6;
1022
+ string version = 7;
1023
+ optional int32 sp_level = 8;
1024
+ optional string sku_name = 9;
1025
+ optional MappedValue language = 10;
1026
+ optional bool is_wow64 = 11;
1027
+ optional string install_path = 12;
1028
+ optional string file_version = 13;
1029
+ optional string data_path = 14;
1030
+ optional SqlServerCluster cluster = 15;
1031
+ string instance_id = 16;
1032
+ optional string instance_name = 17;
1025
1033
  }
1026
1034
 
1027
1035
 
@@ -1070,7 +1078,7 @@ message SqlServerClusterNode {
1070
1078
  /**
1071
1079
  * Log entry for windows sql server change log, tracking install, uninstall and update.
1072
1080
  */
1073
- message WindowsSqlServerChangeEvent {
1081
+ message WindowsSqlServerChangeEvent {
1074
1082
  enum EventType {
1075
1083
  INSTALL = 0;
1076
1084
  UNINSTALL = 1;
@@ -1386,7 +1394,7 @@ message NetworkInterface {
1386
1394
  message NetIpAddress {
1387
1395
  string ip = 1;
1388
1396
  string subnet = 2;
1389
- enum IpType { IPV4 = 0; IPV6 = 1; }
1397
+ enum IpType {IPV4 = 0; IPV6 = 1;}
1390
1398
  optional IpType type = 3;
1391
1399
  }
1392
1400
 
@@ -1394,10 +1402,10 @@ message NetIpAddress {
1394
1402
  * Network protocols, summary and detailed info.
1395
1403
  */
1396
1404
  message NetworkProtocols {
1397
- repeated string protocol = 1; // summary list of protocols and data points available
1405
+ repeated string protocol = 1; // summary list of protocols and data points available
1398
1406
 
1399
- // later here we can have all fingerprints merged
1400
- optional SnmpInfo snmp = 2;
1407
+ // later here we can have all fingerprints merged
1408
+ optional SnmpInfo snmp = 2;
1401
1409
  }
1402
1410
 
1403
1411
  message SnmpInfo {
@@ -1516,13 +1524,13 @@ message Processor {
1516
1524
  /** Chassis **/
1517
1525
  message Chassis
1518
1526
  {
1519
- MappedValue type = 1;
1527
+ MappedValue type = 1;
1520
1528
  optional bool lock_present = 2;
1521
- optional string manufacturer = 3;
1529
+ optional string manufacturer = 3;
1522
1530
  optional MappedValue security_status = 4;
1523
- optional string serial_number = 5;
1524
- optional string asset_tag = 6;
1525
- optional string version = 7;
1531
+ optional string serial_number = 5;
1532
+ optional string asset_tag = 6;
1533
+ optional string version = 7;
1526
1534
  optional MappedValue bootup_state = 8;
1527
1535
  }
1528
1536
 
@@ -1585,7 +1593,7 @@ message NetworkVolume {
1585
1593
  oneof driver {
1586
1594
  WindowsMappedDrive win_mapped_drive = 1;
1587
1595
  MacNetworkVolume mac_volume = 2;
1588
- }
1596
+ }
1589
1597
 
1590
1598
  optional string name = 100;
1591
1599
  }
@@ -1699,7 +1707,7 @@ message BootConfig {
1699
1707
  */
1700
1708
  message SharedResource {
1701
1709
  optional string caption = 1;
1702
- optional string name = 2;
1710
+ optional string name = 2;
1703
1711
  optional string path = 3;
1704
1712
  optional MappedValue type = 4;
1705
1713
  repeated SharedPermission shared_permission = 5;
@@ -1708,9 +1716,9 @@ message SharedResource {
1708
1716
  /**
1709
1717
  * SharedPermission: windows SharePermissionInfo.
1710
1718
  */
1711
- message SharedPermission {
1719
+ message SharedPermission {
1712
1720
  optional string name = 1;
1713
- optional string trustee = 2;
1721
+ optional string trustee = 2;
1714
1722
  optional bool read_access = 3;
1715
1723
  optional bool write_access = 4;
1716
1724
  optional bool full_access = 5;
@@ -1749,7 +1757,7 @@ message OperatingSystemService {
1749
1757
  */
1750
1758
  message OperatingSystemRecovery {
1751
1759
  oneof os {
1752
- WindowsOsRecovery win = 1;
1760
+ WindowsOsRecovery win = 1;
1753
1761
  }
1754
1762
  }
1755
1763
 
@@ -1802,7 +1810,7 @@ message WindowsSystemDriver {
1802
1810
  optional int32 exit_code = 5;
1803
1811
  optional string path_name = 6;
1804
1812
  optional int32 service_specific_exit_code = 7;
1805
- optional string service_type= 8;
1813
+ optional string service_type = 8;
1806
1814
  optional bool started = 9;
1807
1815
  optional string start_mode = 10;
1808
1816
  optional string start_name = 11;
@@ -2113,34 +2121,34 @@ message SoundCard {
2113
2121
  * Graphics Card for computers: Windows.VideoControllers, Unix.SoundCards (=PciCards)
2114
2122
  **/
2115
2123
  message GraphicsCard {
2116
- optional string name = 1; // Windows, Linux, MacOS
2117
- optional int32 color_planes_count = 2; // Windows
2118
- optional int32 current_bits_per_pixel = 3; // Windows
2119
- optional int32 current_horizontal_resolution = 4; // Windows
2120
- optional int64 current_number_of_colors = 5; // Windows
2121
- optional int32 current_refresh_rate = 6; // Windows
2122
- optional MappedValue current_scan_mode = 7; // Windows
2123
- optional int32 current_vertical_resolution = 8; // Windows
2124
- optional string device_id = 9; // Windows, Linux, MacOS
2125
- optional int32 device_specific_pens = 10; // Windows
2126
- optional string driver_version = 11; // Windows
2127
- optional string inf_filename = 12; // Windows
2128
- optional string inf_section = 13; // Windows
2129
- optional string installed_display_drivers = 14; // Windows
2130
- optional bool is_monochrome = 15; // Windows
2131
- optional string manufacturer = 16; // Windows, Linux, MacOS
2132
- optional int32 max_refresh_rate = 17; // Windows
2133
- optional int64 memory = 18; // Windows, MacOS
2134
- optional MappedValue memory_type = 19; // Windows
2135
- optional int32 min_refresh_rate = 20; // Windows
2136
- optional string pci_type = 21; // Linux
2137
- optional string pnp_device_id = 22; // Windows
2138
- optional MappedValue state = 23; // Windows
2139
- optional string subsystem_manufacturer = 24; // Linux, MacOS
2140
- optional string subsystem_name = 25; // Linux
2141
- optional MappedValue video_architecture = 26; // Windows
2142
- optional string video_mode = 27; // Windows
2143
- optional string video_processor = 28; // Windows
2124
+ optional string name = 1; // Windows, Linux, MacOS
2125
+ optional int32 color_planes_count = 2; // Windows
2126
+ optional int32 current_bits_per_pixel = 3; // Windows
2127
+ optional int32 current_horizontal_resolution = 4; // Windows
2128
+ optional int64 current_number_of_colors = 5; // Windows
2129
+ optional int32 current_refresh_rate = 6; // Windows
2130
+ optional MappedValue current_scan_mode = 7; // Windows
2131
+ optional int32 current_vertical_resolution = 8; // Windows
2132
+ optional string device_id = 9; // Windows, Linux, MacOS
2133
+ optional int32 device_specific_pens = 10; // Windows
2134
+ optional string driver_version = 11; // Windows
2135
+ optional string inf_filename = 12; // Windows
2136
+ optional string inf_section = 13; // Windows
2137
+ optional string installed_display_drivers = 14; // Windows
2138
+ optional bool is_monochrome = 15; // Windows
2139
+ optional string manufacturer = 16; // Windows, Linux, MacOS
2140
+ optional int32 max_refresh_rate = 17; // Windows
2141
+ optional int64 memory = 18; // Windows, MacOS
2142
+ optional MappedValue memory_type = 19; // Windows
2143
+ optional int32 min_refresh_rate = 20; // Windows
2144
+ optional string pci_type = 21; // Linux
2145
+ optional string pnp_device_id = 22; // Windows
2146
+ optional MappedValue state = 23; // Windows
2147
+ optional string subsystem_manufacturer = 24; // Linux, MacOS
2148
+ optional string subsystem_name = 25; // Linux
2149
+ optional MappedValue video_architecture = 26; // Windows
2150
+ optional string video_mode = 27; // Windows
2151
+ optional string video_processor = 28; // Windows
2144
2152
  }
2145
2153
 
2146
2154
  /**
@@ -2296,27 +2304,27 @@ message MacComputerBattery {
2296
2304
  * Optical disc drive for computers.
2297
2305
  **/
2298
2306
  message OpticalDrive {
2299
- optional string name = 1; // Windows: "HL-DT-ST DVD+-RW GHB0N", Linux: "VMware SATA CD00", Mac: "NECVMWar VMware SATA CD01" Windows, Linux, Mac
2300
- optional string status = 2; // "OK","Error","Degraded" Windows
2301
- optional string bus = 3; // "2:0:0:0" Linux
2302
- repeated MappedValue capabilities = 4; // "Supports writing, Random Access, Supports Removable Media" Windows
2303
- optional string cache_size = 5; // "32 KB", "2048 KB" Mac
2304
- optional string burn_support = 6; // "DRDeviceSupportLevelUnsupported","Yes (Apple Shipping Drive)","Yes (Generic Drive Support)" Mac
2305
- optional string cd_write = 7; // "-R, -RW" Mac
2306
- optional string dvd_write = 8; // "-R, -RAM, -RW" Mac
2307
- optional string read_dvd = 9; // "yes" Mac
2308
- optional string drive_path = 10; // Windows: "H:" Linux: "/dev/sr0 (/dev/sg0)" Windows, Linux
2309
- optional string firmware_version = 11; // "RQ00","1.00" Mac
2310
- optional string connection = 12; // "ATAPI","USB" Mac
2311
- optional string is_underrun_protection_enabled = 13; // "yes" Mac
2312
- optional string manufacturer = 14; // Windows:"(Standard CD-ROM drives)",Linux:"NECVMWar" Windows, Linux
2313
- optional string mount_point = 15; // Linux
2314
- optional string write_strategies = 16; // "CD-TAO, CD-SAO, CD-Raw, DVD-DAO" Mac
2315
- optional int32 scsi_bus = 17; // 7 Windows
2316
- optional int32 scsi_logical_unit = 18; // 0 Windows
2317
- optional int32 scsi_port = 19; // 0 Windows
2318
- optional int32 scsi_target_id = 20; // 0 Windows
2319
- optional string media_burn_information = 21; // Mac
2307
+ optional string name = 1; // Windows: "HL-DT-ST DVD+-RW GHB0N", Linux: "VMware SATA CD00", Mac: "NECVMWar VMware SATA CD01" Windows, Linux, Mac
2308
+ optional string status = 2; // "OK","Error","Degraded" Windows
2309
+ optional string bus = 3; // "2:0:0:0" Linux
2310
+ repeated MappedValue capabilities = 4; // "Supports writing, Random Access, Supports Removable Media" Windows
2311
+ optional string cache_size = 5; // "32 KB", "2048 KB" Mac
2312
+ optional string burn_support = 6; // "DRDeviceSupportLevelUnsupported","Yes (Apple Shipping Drive)","Yes (Generic Drive Support)" Mac
2313
+ optional string cd_write = 7; // "-R, -RW" Mac
2314
+ optional string dvd_write = 8; // "-R, -RAM, -RW" Mac
2315
+ optional string read_dvd = 9; // "yes" Mac
2316
+ optional string drive_path = 10; // Windows: "H:" Linux: "/dev/sr0 (/dev/sg0)" Windows, Linux
2317
+ optional string firmware_version = 11; // "RQ00","1.00" Mac
2318
+ optional string connection = 12; // "ATAPI","USB" Mac
2319
+ optional string is_underrun_protection_enabled = 13; // "yes" Mac
2320
+ optional string manufacturer = 14; // Windows:"(Standard CD-ROM drives)",Linux:"NECVMWar" Windows, Linux
2321
+ optional string mount_point = 15; // Linux
2322
+ optional string write_strategies = 16; // "CD-TAO, CD-SAO, CD-Raw, DVD-DAO" Mac
2323
+ optional int32 scsi_bus = 17; // 7 Windows
2324
+ optional int32 scsi_logical_unit = 18; // 0 Windows
2325
+ optional int32 scsi_port = 19; // 0 Windows
2326
+ optional int32 scsi_target_id = 20; // 0 Windows
2327
+ optional string media_burn_information = 21; // Mac
2320
2328
  }
2321
2329
 
2322
2330
  /**
@@ -2324,15 +2332,15 @@ message OpticalDrive {
2324
2332
  **/
2325
2333
  message Motherboard {
2326
2334
  string name = 1; // Windows, Linux
2327
- repeated string config_options = 2; // Windows
2328
- optional bool is_hosting_board = 3; // Windows
2329
- optional bool is_powered_on = 4; // Windows
2330
- optional string location = 5; // Linux
2331
- optional string manufacturer = 6; // Windows, Linux
2332
- optional string serial_number = 7; // Windows, Linux
2333
- optional string tag = 8; // Windows
2334
- optional string type = 9; // Linux
2335
- optional string version = 10; // Windows, Linux
2335
+ repeated string config_options = 2; // Windows
2336
+ optional bool is_hosting_board = 3; // Windows
2337
+ optional bool is_powered_on = 4; // Windows
2338
+ optional string location = 5; // Linux
2339
+ optional string manufacturer = 6; // Windows, Linux
2340
+ optional string serial_number = 7; // Windows, Linux
2341
+ optional string tag = 8; // Windows
2342
+ optional string type = 9; // Linux
2343
+ optional string version = 10; // Windows, Linux
2336
2344
 
2337
2345
  repeated MotherboardDevice device = 12;
2338
2346
  }
@@ -2341,9 +2349,9 @@ message Motherboard {
2341
2349
  * Motherboard device, available only on Windows atm.
2342
2350
  **/
2343
2351
  message MotherboardDevice {
2344
- optional string description = 1;
2345
- optional bool enabled = 2;
2346
- optional string tag = 3;
2352
+ optional string description = 1;
2353
+ optional bool enabled = 2;
2354
+ optional string tag = 3;
2347
2355
  optional MappedValue type = 4;
2348
2356
  }
2349
2357
 
@@ -2351,48 +2359,48 @@ message MotherboardDevice {
2351
2359
  * Memory with summary fields and repeated entries.
2352
2360
  **/
2353
2361
  message Memory {
2354
- int64 installed_size = 1;
2355
- repeated PhysicalMemory physical_memory = 2;
2356
- repeated MemoryArray memory_array = 3;
2357
- optional string global_ecc_state = 4; // macOS only
2358
- optional bool is_memory_upgradable = 5; // macOS only
2362
+ int64 installed_size = 1;
2363
+ repeated PhysicalMemory physical_memory = 2;
2364
+ repeated MemoryArray memory_array = 3;
2365
+ optional string global_ecc_state = 4; // macOS only
2366
+ optional bool is_memory_upgradable = 5; // macOS only
2359
2367
  }
2360
2368
 
2361
2369
  /** MemoryEntry **/
2362
2370
  message PhysicalMemory
2363
2371
  {
2364
- optional int64 size = 21; // memory capacity/size
2365
- optional string bank_locator= 1; // Linux
2366
- optional int32 configured_clock_speed = 2; // Windows
2367
- optional int32 configured_voltage= 3; // Windows
2368
- optional int32 data_width= 4; // Windows, Linux
2369
- optional string device_locator= 5; // Windows, Linux
2370
- optional MappedValue form_factor= 6; // Windows, Linux
2371
- optional int32 interleave_data_depth= 7; // Windows
2372
- optional MappedValue interleave_position= 8; // Windows
2373
- optional string manufacturer= 9; // Windows, Mac, Linux
2374
- optional string name= 10; // Mac
2375
- optional string part_number= 11; // Windows, Mac
2376
- optional int32 position_in_row= 12; // Windows
2377
- optional string serial_number= 13; // Windows, Mac, Linux
2378
- optional string set= 14; // Linux
2379
- optional string sku= 15; // Windows
2380
- optional int32 speed= 16; // Windows, Linux, Mac
2381
- optional string state= 17; // Mac
2382
- optional int32 total_width= 18; // Windows, Linux
2383
- optional MappedValue type= 19; // Windows, Linux, Mac
2384
- optional MappedValue type_detail= 20; // Windows, Linux
2372
+ optional int64 size = 21; // memory capacity/size
2373
+ optional string bank_locator = 1; // Linux
2374
+ optional int32 configured_clock_speed = 2; // Windows
2375
+ optional int32 configured_voltage = 3; // Windows
2376
+ optional int32 data_width = 4; // Windows, Linux
2377
+ optional string device_locator = 5; // Windows, Linux
2378
+ optional MappedValue form_factor = 6; // Windows, Linux
2379
+ optional int32 interleave_data_depth = 7; // Windows
2380
+ optional MappedValue interleave_position = 8; // Windows
2381
+ optional string manufacturer = 9; // Windows, Mac, Linux
2382
+ optional string name = 10; // Mac
2383
+ optional string part_number = 11; // Windows, Mac
2384
+ optional int32 position_in_row = 12; // Windows
2385
+ optional string serial_number = 13; // Windows, Mac, Linux
2386
+ optional string set = 14; // Linux
2387
+ optional string sku = 15; // Windows
2388
+ optional int32 speed = 16; // Windows, Linux, Mac
2389
+ optional string state = 17; // Mac
2390
+ optional int32 total_width = 18; // Windows, Linux
2391
+ optional MappedValue type = 19; // Windows, Linux, Mac
2392
+ optional MappedValue type_detail = 20; // Windows, Linux
2385
2393
  }
2386
2394
 
2387
2395
 
2388
2396
  /** MemoryArray, only Windows **/
2389
2397
  message MemoryArray {
2390
- optional int32 max_capacity= 1; // Windows
2391
- optional MappedValue location= 2; // Windows
2392
- optional int32 memory_devices= 3; // Windows
2393
- optional MappedValue memory_error_correction= 4; // Windows
2394
- optional string tag= 5; // Windows
2395
- optional MappedValue use= 6; // Windows
2398
+ optional int32 max_capacity = 1; // Windows
2399
+ optional MappedValue location = 2; // Windows
2400
+ optional int32 memory_devices = 3; // Windows
2401
+ optional MappedValue memory_error_correction = 4; // Windows
2402
+ optional string tag = 5; // Windows
2403
+ optional MappedValue use = 6; // Windows
2396
2404
  }
2397
2405
 
2398
2406
  /**
@@ -2974,7 +2982,7 @@ message WindowsPageFileUsage {
2974
2982
  optional uint32 allocated_base_size = 1;
2975
2983
  optional string caption = 2;
2976
2984
  optional uint32 current_usage = 3;
2977
- optional string description = 4;
2985
+ optional string description = 4;
2978
2986
  optional google.protobuf.Timestamp install_date = 5;
2979
2987
  optional string name = 6;
2980
2988
  optional uint32 peak_usage = 7;