@lansweeper/data-platform-outbound-grpc 0.1.35 → 0.1.36
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.
- package/CHANGELOG.md +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +332 -428
- package/gen-proto/outbound_pb.js +6108 -6934
- package/generated-go/outbound.pb.go +2794 -2961
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +66 -92
package/java.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/data-platform-outbound-grpc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.36",
|
|
4
4
|
"description": "Data Platform Outbound gRPC",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
"@grpc/grpc-js": "^1.5.1",
|
|
10
10
|
"google-protobuf": "^3.17.0"
|
|
11
11
|
},
|
|
12
|
-
"gitHead": "
|
|
12
|
+
"gitHead": "369d8ae0c536fa5ef2506672f736f23113d640bd"
|
|
13
13
|
}
|
package/proto/outbound.proto
CHANGED
|
@@ -114,9 +114,10 @@ message Asset {
|
|
|
114
114
|
CoreFields core = 6;
|
|
115
115
|
|
|
116
116
|
optional HardwareInfo hw = 7;
|
|
117
|
-
optional
|
|
118
|
-
|
|
117
|
+
optional OperatingSystemInfo deprecated_os = 8;
|
|
118
|
+
|
|
119
119
|
optional SoftwareInventory software_inventory = 9;
|
|
120
|
+
optional AntivirusSoftware antivirus = 26;
|
|
120
121
|
|
|
121
122
|
optional MonitorInventory monitor_inventory = 10;
|
|
122
123
|
|
|
@@ -129,6 +130,7 @@ message Asset {
|
|
|
129
130
|
optional Memory memory = 19;
|
|
130
131
|
optional Motherboard motherboard = 21;
|
|
131
132
|
repeated OpticalDrive optical_drive = 24;
|
|
133
|
+
repeated HardDrive hard_drive = 25;
|
|
132
134
|
|
|
133
135
|
optional OtModule ot_module = 16; // OT specific module info when asset type is 'OT'
|
|
134
136
|
|
|
@@ -287,77 +289,9 @@ message SpecHardwareInfo {
|
|
|
287
289
|
optional string serial_number = 4;
|
|
288
290
|
}
|
|
289
291
|
|
|
290
|
-
message NormalizedOperatingSystem {
|
|
291
|
-
// catalog id of: CatalogOs
|
|
292
|
-
optional int64 id = 1;
|
|
293
|
-
// catalog id of: CatalogBrand
|
|
294
|
-
optional int64 make_id = 2;
|
|
295
|
-
// normalized name
|
|
296
|
-
optional string name = 3;
|
|
297
|
-
// normalized version
|
|
298
|
-
optional string version = 4;
|
|
299
|
-
// normalized build
|
|
300
|
-
optional string build = 5;
|
|
301
|
-
// normalized firmware version
|
|
302
|
-
optional string fw_version = 6;
|
|
303
|
-
// normalized cpe
|
|
304
|
-
optional string cpe = 7;
|
|
305
|
-
|
|
306
|
-
// normalized firmware cpe
|
|
307
|
-
optional string fw_cpe = 8;
|
|
308
|
-
|
|
309
|
-
// normalized rank of data quality
|
|
310
|
-
optional int32 rank = 9;
|
|
311
292
|
|
|
312
|
-
// placeholder to be able to inject the catalog meta-data if/when needed
|
|
313
|
-
optional CatalogBrand catalog_brand = 20;
|
|
314
293
|
|
|
315
|
-
|
|
316
|
-
optional CatalogOs catalog_os = 21;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
message OperatingSystem {
|
|
320
|
-
optional NormalizedOperatingSystem normalized = 1;
|
|
321
|
-
|
|
322
|
-
optional string architecture = 9; // x64-based PC,x86_64 Windows, Linux, Mac
|
|
323
|
-
optional string build_environment_type = 10; // Multiprocessor Free Windows
|
|
324
|
-
optional google.protobuf.Timestamp install_date = 11; // 2022-06-20 18:22:59.000 Windows
|
|
325
|
-
optional bool is_debug_build = 12; // 0 Windows
|
|
326
|
-
optional string kernel_caption = 13; // Darwin 21.4.0,#41-Ubuntu SMP Tue Dec 3 00:27:35 UTC 2019,11.4.0.15.0 Linux, Mac
|
|
327
|
-
optional string kernel_name = 14; //Linux,SunOS Linux
|
|
328
|
-
optional string kernel_release = 15; // 5.0.0-38-generic,5.11 Linux
|
|
329
|
-
optional int32 max_licensed_users = 16; //0 Windows
|
|
330
|
-
optional int64 max_process_memory_size = 17; //2097024,137438950000,8589934464 Windows
|
|
331
|
-
optional string organization = 18; //Lansweeper Windows
|
|
332
|
-
optional string os_caption = 19; //Windows 10 Enterprise,macOS 12.3.1 (21E258),Ubuntu 20.04.4 LTS Windows, Linux, Mac
|
|
333
|
-
optional string os_directory = 20; //C:\Windows Windows
|
|
334
|
-
optional string os_drive_letter = 21; //C: Windows
|
|
335
|
-
optional string os_edition = 22; //Pro, Enterprise, Datacenter Windows
|
|
336
|
-
optional string os_name = 23; //Windows 7, Windows 10, Windows Server 2019, Windows Server 2022, Ubuntu, Fedora, macOS Catalina, macOS Monterey Windows, Linux, Mac
|
|
337
|
-
optional string os_physical_partition = 24; //\Device\HarddiskVolume3 Windows
|
|
338
|
-
optional MappedValue os_type = 25; //Windows, MacOS, Linux, Unix Windows, Linux, Mac
|
|
339
|
-
optional string os_serial_number = 26; // 00355-62792-31115-AAOEM Windows
|
|
340
|
-
optional string os_system_directory = 27; // C:\Windows\System32 Windows
|
|
341
|
-
optional string other_type_description = 28; // Windows
|
|
342
|
-
optional MappedValue product_suite = 29; //SmallBusinessServer,TerminalServices Windows
|
|
343
|
-
optional string registered_user = 30; //Andy Windows
|
|
344
|
-
optional string service_pack_name = 31; //Service Pack 3 Windows
|
|
345
|
-
optional int32 sp_major_version = 32; //3 Windows
|
|
346
|
-
optional int32 sp_minor_version = 33; // 0 Windows
|
|
347
|
-
repeated MappedValue suite_mask = 34; //Communications,Datacenter Edition Windows
|
|
348
|
-
optional MappedValue system_role = 35; // workstation (1), domain controller (2) or server (3) Windows
|
|
349
|
-
optional string uuid = 36; // 241F0742-E4BD-42F9-5B77-D243F25C3188 Windows, Linux, Mac
|
|
350
|
-
optional string version = 37; // 22H2 Windows
|
|
351
|
-
optional string version_full = 38; // Windows, Mac, Linux examples: 10.0.19045.2965, 12.3.1 (21E258),20.04.4 Windows
|
|
352
|
-
optional string version_major = 39; // Windows, Mac, Linux examples: 10,12,22 Windows, Linux, Mac
|
|
353
|
-
optional string version_minor = 40; // Windows, Mac, Linux examples: 0,3,04 Windows, Linux, Mac
|
|
354
|
-
optional string version_full_3rd_digit = 41; // Windows, Mac, Linux examples: 19045,1,4 Windows, Linux, Mac
|
|
355
|
-
optional string version_full_4th_digit = 42; // Windows, Mac examples: 2965,21E258 Windows, Linux, Mac
|
|
356
|
-
optional int64 visible_memory = 43; // 16729456 Windows
|
|
357
|
-
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
message DeprecatedOperatingSystemInfo {
|
|
294
|
+
message OperatingSystemInfo {
|
|
361
295
|
// catalog id of: CatalogOs
|
|
362
296
|
optional int64 id = 1;
|
|
363
297
|
|
|
@@ -376,32 +310,25 @@ message DeprecatedOperatingSystemInfo {
|
|
|
376
310
|
optional int32 rank = 8;
|
|
377
311
|
|
|
378
312
|
oneof spec {
|
|
379
|
-
|
|
313
|
+
WindowsOperatingSystemInfo windows = 32;
|
|
314
|
+
MacOperatingSystemInfo mac = 33;
|
|
315
|
+
LinuxOperatingSystemInfo linux = 34;
|
|
380
316
|
}
|
|
381
317
|
}
|
|
382
318
|
|
|
319
|
+
message MacOperatingSystemInfo {
|
|
320
|
+
optional string kernel_caption = 1;
|
|
321
|
+
}
|
|
383
322
|
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
string
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
optional string type = 2;
|
|
391
|
-
|
|
392
|
-
optional google.protobuf.Timestamp install_date = 3;
|
|
393
|
-
|
|
394
|
-
// e.g.: "NT AUTHORITY\\SYSTEM"
|
|
395
|
-
optional string install_by = 4;
|
|
396
|
-
|
|
397
|
-
optional string comments = 5;
|
|
398
|
-
|
|
399
|
-
optional string windows_service_pack = 6;
|
|
400
|
-
|
|
323
|
+
message LinuxOperatingSystemInfo {
|
|
324
|
+
optional string kernel_name = 1;
|
|
325
|
+
optional string kernel_release = 2;
|
|
326
|
+
optional string kernel_version = 3;
|
|
327
|
+
optional string distribution = 4;
|
|
328
|
+
optional string os_release = 5;
|
|
401
329
|
}
|
|
402
330
|
|
|
403
|
-
|
|
404
|
-
message DeprecatedWindowsOperatingSystemInfo {
|
|
331
|
+
message WindowsOperatingSystemInfo {
|
|
405
332
|
optional string version = 1;
|
|
406
333
|
optional int32 service_pack = 2;
|
|
407
334
|
optional string build = 3; // "WindowsVersion": "10.0.19045"
|
|
@@ -456,6 +383,25 @@ message DeprecatedWindowsOperatingSystemInfo {
|
|
|
456
383
|
optional uint32 data_execution_prevention_support_policy = 54;
|
|
457
384
|
}
|
|
458
385
|
|
|
386
|
+
/* OS Patch, i.e. Windows KB's, aka Hotfix, aka QuickFixEngieering */
|
|
387
|
+
message OperatingSystemPatch {
|
|
388
|
+
// from hot_fix_id, e.g.: "KB4570334"
|
|
389
|
+
string id = 1;
|
|
390
|
+
|
|
391
|
+
// from description, e.g.: Security Update
|
|
392
|
+
optional string type = 2;
|
|
393
|
+
|
|
394
|
+
optional google.protobuf.Timestamp install_date = 3;
|
|
395
|
+
|
|
396
|
+
// e.g.: "NT AUTHORITY\\SYSTEM"
|
|
397
|
+
optional string install_by = 4;
|
|
398
|
+
|
|
399
|
+
optional string comments = 5;
|
|
400
|
+
|
|
401
|
+
optional string windows_service_pack = 6;
|
|
402
|
+
|
|
403
|
+
}
|
|
404
|
+
|
|
459
405
|
/* Network Interface cards */
|
|
460
406
|
message NetworkInterfaces {
|
|
461
407
|
google.protobuf.Timestamp timestamp = 1;
|
|
@@ -551,8 +497,25 @@ message Chassis
|
|
|
551
497
|
}
|
|
552
498
|
|
|
553
499
|
/**
|
|
554
|
-
*
|
|
500
|
+
* Hard drive for computers: Windows.WindowsHardDisk, Unix.HardDisks, Mac.MacHardDisk
|
|
555
501
|
**/
|
|
502
|
+
message HardDrive {
|
|
503
|
+
optional string caption = 1;
|
|
504
|
+
optional bool compressed = 2;
|
|
505
|
+
optional string description = 3;
|
|
506
|
+
optional string device_id = 4;
|
|
507
|
+
optional MappedValue drive_type = 5;
|
|
508
|
+
optional string file_system = 6;
|
|
509
|
+
optional int64 free_space = 7;
|
|
510
|
+
optional int64 size = 8;
|
|
511
|
+
optional string volume_name = 9;
|
|
512
|
+
optional string serial_number = 10;
|
|
513
|
+
optional string mounted_on = 11;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Optical disc drive for computers.
|
|
518
|
+
**/
|
|
556
519
|
message OpticalDrive {
|
|
557
520
|
optional string name = 1; // Windows: "HL-DT-ST DVD+-RW GHB0N", Linux: "VMware SATA CD00", Mac: "NECVMWar VMware SATA CD01" Windows, Linux, Mac
|
|
558
521
|
optional string status = 2; // "OK","Error","Degraded" Windows
|
|
@@ -702,6 +665,17 @@ message WindowsMonitorInfo {
|
|
|
702
665
|
optional string device_id = 8;
|
|
703
666
|
}
|
|
704
667
|
|
|
668
|
+
/**
|
|
669
|
+
Antivirus software (that could be even missing from scanned SW list.
|
|
670
|
+
*/
|
|
671
|
+
message AntivirusSoftware {
|
|
672
|
+
optional string name = 2;
|
|
673
|
+
optional string guid = 3;
|
|
674
|
+
optional bool enabled = 4;
|
|
675
|
+
optional bool up_to_date = 5;
|
|
676
|
+
optional Software software = 6; // filled only in case it was scanned sw (not windows registry)
|
|
677
|
+
}
|
|
678
|
+
|
|
705
679
|
/**
|
|
706
680
|
* Software Inventory with list of installed SW.
|
|
707
681
|
* Sources:
|