@lansweeper/data-platform-outbound-grpc 0.1.29 → 0.1.31
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 +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +497 -148
- package/gen-proto/outbound_pb.js +3545 -730
- package/generated-go/outbound.pb.go +2873 -2119
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +131 -41
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.31",
|
|
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": "97766ade635c49d796c28cca836b4b3bf2ed8dfe"
|
|
13
13
|
}
|
package/proto/outbound.proto
CHANGED
|
@@ -105,13 +105,17 @@ message Asset {
|
|
|
105
105
|
google.protobuf.Timestamp last_updated = 4;
|
|
106
106
|
google.protobuf.Timestamp last_enriched = 5;
|
|
107
107
|
|
|
108
|
+
// this is unique and source of UUID asset_id. Kept also in verbose key format for debug/future use.
|
|
109
|
+
optional string unique_key = 23;
|
|
110
|
+
|
|
108
111
|
repeated Tag tag = 14;
|
|
109
112
|
repeated Relation relation = 20; // e.g. relations to and from OT parent module to sub-modules
|
|
110
113
|
|
|
111
114
|
CoreFields core = 6;
|
|
112
115
|
|
|
113
116
|
optional HardwareInfo hw = 7;
|
|
114
|
-
optional
|
|
117
|
+
optional DeprecatedOperatingSystemInfo deprecated_os = 8;
|
|
118
|
+
optional OperatingSystem os = 22;
|
|
115
119
|
optional SoftwareInventory software_inventory = 9;
|
|
116
120
|
|
|
117
121
|
optional MonitorInventory monitor_inventory = 10;
|
|
@@ -265,6 +269,13 @@ message HardwareInfo {
|
|
|
265
269
|
optional int32 rank = 20;
|
|
266
270
|
|
|
267
271
|
optional SpecHardwareInfo spec = 24;
|
|
272
|
+
|
|
273
|
+
// placeholder to be able to inject the catalog meta-data if/when needed
|
|
274
|
+
optional CatalogBrand catalog_brand = 50;
|
|
275
|
+
// placeholder to be able to inject the catalog meta-data if/when needed
|
|
276
|
+
optional CatalogModel catalog_model = 51;
|
|
277
|
+
// placeholder to be able to inject the catalog meta-data if/when needed
|
|
278
|
+
optional CatalogModel catalog_family = 52;
|
|
268
279
|
}
|
|
269
280
|
|
|
270
281
|
message SpecHardwareInfo {
|
|
@@ -274,7 +285,77 @@ message SpecHardwareInfo {
|
|
|
274
285
|
optional string serial_number = 4;
|
|
275
286
|
}
|
|
276
287
|
|
|
277
|
-
message
|
|
288
|
+
message NormalizedOperatingSystem {
|
|
289
|
+
// catalog id of: CatalogOs
|
|
290
|
+
optional int64 id = 1;
|
|
291
|
+
// catalog id of: CatalogBrand
|
|
292
|
+
optional int64 make_id = 2;
|
|
293
|
+
// normalized name
|
|
294
|
+
optional string name = 3;
|
|
295
|
+
// normalized version
|
|
296
|
+
optional string version = 4;
|
|
297
|
+
// normalized build
|
|
298
|
+
optional string build = 5;
|
|
299
|
+
// normalized firmware version
|
|
300
|
+
optional string fw_version = 6;
|
|
301
|
+
// normalized cpe
|
|
302
|
+
optional string cpe = 7;
|
|
303
|
+
|
|
304
|
+
// normalized firmware cpe
|
|
305
|
+
optional string fw_cpe = 8;
|
|
306
|
+
|
|
307
|
+
// normalized rank of data quality
|
|
308
|
+
optional int32 rank = 9;
|
|
309
|
+
|
|
310
|
+
// placeholder to be able to inject the catalog meta-data if/when needed
|
|
311
|
+
optional CatalogBrand catalog_brand = 20;
|
|
312
|
+
|
|
313
|
+
// placeholder to be able to inject the catalog meta-data if/when needed
|
|
314
|
+
optional CatalogOs catalog_os = 21;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
message OperatingSystem {
|
|
318
|
+
optional NormalizedOperatingSystem normalized = 1;
|
|
319
|
+
|
|
320
|
+
optional string architecture = 9; // x64-based PC,x86_64 Windows, Linux, Mac
|
|
321
|
+
optional string build_environment_type = 10; // Multiprocessor Free Windows
|
|
322
|
+
optional google.protobuf.Timestamp install_date = 11; // 2022-06-20 18:22:59.000 Windows
|
|
323
|
+
optional bool is_debug_build = 12; // 0 Windows
|
|
324
|
+
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
|
|
325
|
+
optional string kernel_name = 14; //Linux,SunOS Linux
|
|
326
|
+
optional string kernel_release = 15; // 5.0.0-38-generic,5.11 Linux
|
|
327
|
+
optional int32 max_licensed_users = 16; //0 Windows
|
|
328
|
+
optional int64 max_process_memory_size = 17; //2097024,137438950000,8589934464 Windows
|
|
329
|
+
optional string organization = 18; //Lansweeper Windows
|
|
330
|
+
optional string os_caption = 19; //Windows 10 Enterprise,macOS 12.3.1 (21E258),Ubuntu 20.04.4 LTS Windows, Linux, Mac
|
|
331
|
+
optional string os_directory = 20; //C:\Windows Windows
|
|
332
|
+
optional string os_drive_letter = 21; //C: Windows
|
|
333
|
+
optional string os_edition = 22; //Pro, Enterprise, Datacenter Windows
|
|
334
|
+
optional string os_name = 23; //Windows 7, Windows 10, Windows Server 2019, Windows Server 2022, Ubuntu, Fedora, macOS Catalina, macOS Monterey Windows, Linux, Mac
|
|
335
|
+
optional string os_physical_partition = 24; //\Device\HarddiskVolume3 Windows
|
|
336
|
+
optional string os_type = 25; //Windows, MacOS, Linux, Unix Windows, Linux, Mac
|
|
337
|
+
optional string os_serial_number = 26; // 00355-62792-31115-AAOEM Windows
|
|
338
|
+
optional string os_system_directory = 27; // C:\Windows\System32 Windows
|
|
339
|
+
optional string other_type_description = 28; // Windows
|
|
340
|
+
optional string product_suite = 29; //SmallBusinessServer,TerminalServices Windows
|
|
341
|
+
optional string registered_user = 30; //Andy Windows
|
|
342
|
+
optional string service_pack_name = 31; //Service Pack 3 Windows
|
|
343
|
+
optional int32 sp_major_version = 32; //3 Windows
|
|
344
|
+
optional int32 sp_minor_version = 33; // 0 Windows
|
|
345
|
+
optional string suite_mask = 34; //Communications,Datacenter Edition Windows
|
|
346
|
+
optional string system_role = 35; // workstation (1), domain controller (2) or server (3) Windows
|
|
347
|
+
optional string uuid = 36; // 241F0742-E4BD-42F9-5B77-D243F25C3188 Windows, Linux, Mac
|
|
348
|
+
optional string version = 37; // 22H2 Windows
|
|
349
|
+
optional string version_full = 38; // Windows, Mac, Linux examples: 10.0.19045.2965, 12.3.1 (21E258),20.04.4 Windows
|
|
350
|
+
optional string version_major = 39; // Windows, Mac, Linux examples: 10,12,22 Windows, Linux, Mac
|
|
351
|
+
optional string version_minor = 40; // Windows, Mac, Linux examples: 0,3,04 Windows, Linux, Mac
|
|
352
|
+
optional string version_full_3rd_digit = 41; // Windows, Mac, Linux examples: 19045,1,4 Windows, Linux, Mac
|
|
353
|
+
optional string version_full_4th_digit = 42; // Windows, Mac examples: 2965,21E258 Windows, Linux, Mac
|
|
354
|
+
optional int64 visible_memory = 43; // 16729456 Windows
|
|
355
|
+
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
message DeprecatedOperatingSystemInfo {
|
|
278
359
|
// catalog id of: CatalogOs
|
|
279
360
|
optional int64 id = 1;
|
|
280
361
|
|
|
@@ -293,11 +374,11 @@ message OperatingSystemInfo {
|
|
|
293
374
|
optional int32 rank = 8;
|
|
294
375
|
|
|
295
376
|
oneof spec {
|
|
296
|
-
|
|
297
|
-
OtFirmwareInfo ot = 33;
|
|
377
|
+
DeprecatedWindowsOperatingSystemInfo windows = 32;
|
|
298
378
|
}
|
|
299
379
|
}
|
|
300
380
|
|
|
381
|
+
|
|
301
382
|
/* OS Patch, i.e. Windows KB's, aka Hotfix, aka QuickFixEngieering */
|
|
302
383
|
message OperatingSystemPatch {
|
|
303
384
|
// from hot_fix_id, e.g.: "KB4570334"
|
|
@@ -317,11 +398,8 @@ message OperatingSystemPatch {
|
|
|
317
398
|
|
|
318
399
|
}
|
|
319
400
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
message WindowsOperatingSystemInfo {
|
|
401
|
+
// deprecated
|
|
402
|
+
message DeprecatedWindowsOperatingSystemInfo {
|
|
325
403
|
optional string version = 1;
|
|
326
404
|
optional int32 service_pack = 2;
|
|
327
405
|
optional string build = 3; // "WindowsVersion": "10.0.19045"
|
|
@@ -461,13 +539,13 @@ message Processor {
|
|
|
461
539
|
message Chassis
|
|
462
540
|
{
|
|
463
541
|
MappedValue type = 1;
|
|
464
|
-
optional bool
|
|
465
|
-
optional string
|
|
466
|
-
optional MappedValue
|
|
467
|
-
optional string
|
|
468
|
-
optional string
|
|
469
|
-
optional string
|
|
470
|
-
optional MappedValue
|
|
542
|
+
optional bool lock_present = 2;
|
|
543
|
+
optional string manufacturer = 3;
|
|
544
|
+
optional MappedValue security_status = 4;
|
|
545
|
+
optional string serial_number = 5;
|
|
546
|
+
optional string asset_tag = 6;
|
|
547
|
+
optional string version = 7;
|
|
548
|
+
optional MappedValue bootup_state = 8;
|
|
471
549
|
}
|
|
472
550
|
|
|
473
551
|
/**
|
|
@@ -511,37 +589,37 @@ message Memory {
|
|
|
511
589
|
message PhysicalMemory
|
|
512
590
|
{
|
|
513
591
|
optional int64 size = 21; // memory capacity/size
|
|
514
|
-
optional
|
|
515
|
-
optional
|
|
516
|
-
optional
|
|
517
|
-
optional
|
|
518
|
-
optional
|
|
519
|
-
optional
|
|
520
|
-
optional
|
|
521
|
-
optional
|
|
522
|
-
optional
|
|
523
|
-
optional
|
|
524
|
-
optional
|
|
525
|
-
optional
|
|
526
|
-
optional
|
|
527
|
-
optional
|
|
528
|
-
optional
|
|
529
|
-
optional
|
|
530
|
-
optional
|
|
531
|
-
optional
|
|
532
|
-
optional
|
|
533
|
-
optional
|
|
592
|
+
optional string bank_locator= 1; // Linux
|
|
593
|
+
optional int32 configured_clock_speed = 2; // Windows
|
|
594
|
+
optional int32 configured_voltage= 3; // Windows
|
|
595
|
+
optional int32 data_width= 4; // Windows, Linux
|
|
596
|
+
optional string device_locator= 5; // Windows, Linux
|
|
597
|
+
optional MappedValue form_factor= 6; // Windows, Linux
|
|
598
|
+
optional int32 interleave_data_depth= 7; // Windows
|
|
599
|
+
optional MappedValue interleave_position= 8; // Windows
|
|
600
|
+
optional string manufacturer= 9; // Windows, Linux
|
|
601
|
+
optional string name= 10; // Mac
|
|
602
|
+
optional string part_number= 11; // Windows
|
|
603
|
+
optional int32 position_in_row= 12; // Windows
|
|
604
|
+
optional string serial_number= 13; // Windows, Linux
|
|
605
|
+
optional string set= 14; // Linux
|
|
606
|
+
optional string sku= 15; // Windows
|
|
607
|
+
optional int32 speed= 16; // Windows, Linux, Mac
|
|
608
|
+
optional string state= 17; // Mac
|
|
609
|
+
optional int32 total_width= 18; // Windows, Linux
|
|
610
|
+
optional MappedValue type= 19; // Windows, Linux, Mac
|
|
611
|
+
optional MappedValue type_detail= 20; // Windows, Linux
|
|
534
612
|
}
|
|
535
613
|
|
|
536
614
|
|
|
537
615
|
/** MemoryArray, only Windows **/
|
|
538
616
|
message MemoryArray {
|
|
539
617
|
optional int32 max_capacity= 1; // Windows
|
|
540
|
-
optional
|
|
541
|
-
optional
|
|
542
|
-
optional
|
|
543
|
-
optional
|
|
544
|
-
optional
|
|
618
|
+
optional MappedValue location= 2; // Windows
|
|
619
|
+
optional int32 memory_devices= 3; // Windows
|
|
620
|
+
optional MappedValue memory_error_correction= 4; // Windows
|
|
621
|
+
optional string tag= 5; // Windows
|
|
622
|
+
optional MappedValue use= 6; // Windows
|
|
545
623
|
}
|
|
546
624
|
|
|
547
625
|
/**
|
|
@@ -577,6 +655,11 @@ message Monitor {
|
|
|
577
655
|
oneof spec {
|
|
578
656
|
WindowsMonitorInfo windows = 20;
|
|
579
657
|
}
|
|
658
|
+
|
|
659
|
+
// placeholder to be able to inject the catalog meta-data if/when needed
|
|
660
|
+
optional CatalogBrand catalog_brand = 50;
|
|
661
|
+
// placeholder to be able to inject the catalog meta-data if/when needed
|
|
662
|
+
optional CatalogMonitor catalog_monitor = 51;
|
|
580
663
|
}
|
|
581
664
|
|
|
582
665
|
message WindowsMonitorInfo {
|
|
@@ -640,6 +723,13 @@ message Software {
|
|
|
640
723
|
RawSoftware raw = 17;
|
|
641
724
|
optional string raw_hash = 18; // optional raw hash of SW
|
|
642
725
|
optional string nre_hash = 19; // optional NRE hash of SW
|
|
726
|
+
|
|
727
|
+
// placeholder to be able to inject the catalog meta-data if/when needed
|
|
728
|
+
optional CatalogBrand catalog_brand = 50;
|
|
729
|
+
// placeholder to be able to inject the catalog meta-data if/when needed
|
|
730
|
+
optional CatalogSoftware catalog_software = 51;
|
|
731
|
+
// placeholder to be able to inject the catalog meta-data if/when needed
|
|
732
|
+
optional CatalogSoftware catalog_parent = 52;
|
|
643
733
|
}
|
|
644
734
|
|
|
645
735
|
/**
|