@lansweeper/data-platform-outbound-grpc 0.1.19 → 0.1.21
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 +393 -108
- package/gen-proto/outbound_pb.js +2833 -526
- package/generated-go/outbound.pb.go +2049 -1397
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +70 -14
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.21",
|
|
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": "df7a15e5fd5cb5e0cfd2afe10933fd9fbc006bfd"
|
|
13
13
|
}
|
package/proto/outbound.proto
CHANGED
|
@@ -130,6 +130,8 @@ message Asset {
|
|
|
130
130
|
|
|
131
131
|
repeated OperatingSystemPatch os_patch = 13;
|
|
132
132
|
|
|
133
|
+
repeated Processor processor = 15;
|
|
134
|
+
|
|
133
135
|
// Reconciliation future
|
|
134
136
|
//string entry_state = 2; // GOLDEN | ALIAS
|
|
135
137
|
//string master_type = 3; // NULL | ENGINE | USER
|
|
@@ -189,10 +191,10 @@ message HardwareInfo {
|
|
|
189
191
|
optional string cpe = 21;
|
|
190
192
|
optional int32 rank = 20;
|
|
191
193
|
|
|
192
|
-
optional
|
|
194
|
+
optional SpecHardwareInfo spec = 24;
|
|
193
195
|
}
|
|
194
196
|
|
|
195
|
-
message
|
|
197
|
+
message SpecHardwareInfo {
|
|
196
198
|
optional string architecture = 1;
|
|
197
199
|
optional string model = 2;
|
|
198
200
|
optional string manufacturer = 3;
|
|
@@ -217,8 +219,8 @@ message OperatingSystemInfo {
|
|
|
217
219
|
|
|
218
220
|
optional int32 rank = 8;
|
|
219
221
|
|
|
220
|
-
oneof
|
|
221
|
-
|
|
222
|
+
oneof spec {
|
|
223
|
+
WindowsOperatingSystemInfo windows = 32;
|
|
222
224
|
}
|
|
223
225
|
}
|
|
224
226
|
|
|
@@ -241,7 +243,7 @@ message OperatingSystemPatch {
|
|
|
241
243
|
|
|
242
244
|
}
|
|
243
245
|
|
|
244
|
-
message
|
|
246
|
+
message WindowsOperatingSystemInfo {
|
|
245
247
|
optional string version = 1;
|
|
246
248
|
optional int32 service_pack = 2;
|
|
247
249
|
optional string build = 3; // "WindowsVersion": "10.0.19045"
|
|
@@ -267,9 +269,9 @@ message WindowsRawOperatingSystemInfo {
|
|
|
267
269
|
optional uint64 max_process_memory_size = 24;
|
|
268
270
|
optional uint32 number_of_licensed_users = 25;
|
|
269
271
|
optional string organization = 26;
|
|
270
|
-
optional
|
|
271
|
-
optional
|
|
272
|
-
optional
|
|
272
|
+
optional MappedValue os_language = 27;
|
|
273
|
+
optional MappedValue os_product_suite = 28;
|
|
274
|
+
optional MappedValue os_type = 29;
|
|
273
275
|
optional string plus_product_id = 30;
|
|
274
276
|
optional string plus_version_number = 31;
|
|
275
277
|
optional string registered_user = 32;
|
|
@@ -286,7 +288,7 @@ message WindowsRawOperatingSystemInfo {
|
|
|
286
288
|
optional uint64 total_swap_space_size = 44;
|
|
287
289
|
optional uint32 large_system_cache = 45;
|
|
288
290
|
optional string other_type_description = 46;
|
|
289
|
-
optional
|
|
291
|
+
optional MappedValue product_type = 47;
|
|
290
292
|
optional uint32 suite_mask = 48;
|
|
291
293
|
optional string system_drive = 49;
|
|
292
294
|
optional uint32 encryption_level = 50;
|
|
@@ -329,8 +331,61 @@ message NetworkInterface {
|
|
|
329
331
|
|
|
330
332
|
/* Network IP address with IP and subnet */
|
|
331
333
|
message NetIpAddress {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
+
string ip = 1;
|
|
335
|
+
string subnet = 2;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/** Processor **/
|
|
339
|
+
message Processor {
|
|
340
|
+
string name = 1 ;
|
|
341
|
+
optional string address_sizes = 2; // Linux-only
|
|
342
|
+
optional int32 address_width = 3; // Windows-only
|
|
343
|
+
optional MappedValue architecture = 4; // Consolidate on-prem fields into single numeric list with translations
|
|
344
|
+
optional int32 availability = 5; // Windows-only
|
|
345
|
+
optional double bogo_mips = 6; // Standardize to numeric
|
|
346
|
+
optional string byte_order = 7; // Linux-only
|
|
347
|
+
optional string caption = 8; // Windows-only
|
|
348
|
+
optional int32 current_clock_speed = 9; // Standardize values to numeric (MHz)
|
|
349
|
+
optional int32 data_width = 10; // Windows-only
|
|
350
|
+
optional string device_id = 11; // Windows-only
|
|
351
|
+
optional int32 external_clock_mhz = 12; // Windows-only
|
|
352
|
+
optional MappedValue family = 13; // Consolidate on-prem fields into single numeric list with translations
|
|
353
|
+
optional string hypervisor_vendor = 14; // Linux-only
|
|
354
|
+
optional int32 l1d_cache_size_kb = 15; // Linux-only, standardize to numeric (kilobytes)
|
|
355
|
+
optional int32 l1i_cache_size_kb = 16; // Linux-only, standardize to numeric (kilobytes)
|
|
356
|
+
optional int32 l2_cache_size_kb = 17; // Standardize values to int (kilobytes)
|
|
357
|
+
optional int32 l2_cache_speed_mhz = 18; // Windows-only
|
|
358
|
+
optional int32 l3_cache_size_kb = 19; // Linux-only, standardize to numeric (kilobytes)
|
|
359
|
+
optional int32 level = 20; // Windows-only, unclear meaning
|
|
360
|
+
optional int32 logical_cores_count = 21 ;
|
|
361
|
+
optional string manufacturer = 22 ;
|
|
362
|
+
optional int32 max_clock_speed_mhz = 23; // Standardize Linux values to int (MHz)
|
|
363
|
+
optional int32 min_clock_speed_mhz = 24; // Linux-only, standardize to numeric (MHz)
|
|
364
|
+
optional int32 model_number = 25; // Linux-only, standardize to numeric
|
|
365
|
+
optional string op_modes = 26; // Linux-only
|
|
366
|
+
optional int32 physical_cores_count = 27 ;
|
|
367
|
+
optional string processor_id = 28; // Windows-only, probably not used much by customers due to its complexity
|
|
368
|
+
optional MappedValue processor_type = 29; // Windows-only
|
|
369
|
+
optional int32 revision = 30; // Windows-only
|
|
370
|
+
optional string socket_designation = 31; // Windows-only
|
|
371
|
+
optional int32 sockets = 32; // Linux-only
|
|
372
|
+
optional MappedValue status = 33; // Windows-only
|
|
373
|
+
optional int32 stepping = 34; // Consolidate on-prem fields into single numeric list
|
|
374
|
+
optional int32 threads_per_physical_core_count = 35; // Linux-only
|
|
375
|
+
optional string unique_id = 36; // Windows-only
|
|
376
|
+
optional MappedValue upgrade_method = 37; // Windows-only
|
|
377
|
+
optional string version = 38; // Windows-only
|
|
378
|
+
optional string virtualization = 39; // Linux-only
|
|
379
|
+
optional MappedValue voltage_capabilities = 40; // Windows-only
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* A Mapped value is a numeric field that can optionally have a text looked up value.
|
|
384
|
+
* Typical in WMI fields.
|
|
385
|
+
*/
|
|
386
|
+
message MappedValue {
|
|
387
|
+
int64 value = 1;
|
|
388
|
+
optional string name = 2;
|
|
334
389
|
}
|
|
335
390
|
|
|
336
391
|
/* Monitor Inventory with list of connected monitors */
|
|
@@ -339,6 +394,7 @@ message MonitorInventory {
|
|
|
339
394
|
repeated Monitor monitor = 2;
|
|
340
395
|
}
|
|
341
396
|
|
|
397
|
+
|
|
342
398
|
/* Monitor definition: normalized and with link to raw */
|
|
343
399
|
message Monitor {
|
|
344
400
|
// catalog id of: CatalogMonitor
|
|
@@ -353,12 +409,12 @@ message Monitor {
|
|
|
353
409
|
optional string serial_number = 5;
|
|
354
410
|
google.protobuf.Timestamp manufacturer_date = 6;
|
|
355
411
|
|
|
356
|
-
oneof
|
|
357
|
-
|
|
412
|
+
oneof spec {
|
|
413
|
+
WindowsMonitorInfo windows = 20;
|
|
358
414
|
}
|
|
359
415
|
}
|
|
360
416
|
|
|
361
|
-
message
|
|
417
|
+
message WindowsMonitorInfo {
|
|
362
418
|
string model = 1;
|
|
363
419
|
optional string pnp_device_id = 2;
|
|
364
420
|
optional string serial_number = 3;
|