@lansweeper/data-platform-outbound-grpc 0.1.18 → 0.1.20
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 +537 -12
- package/gen-proto/outbound_pb.js +5026 -808
- package/generated-go/outbound.pb.go +2297 -1152
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +99 -3
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.20",
|
|
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": "e172271270bcd8e79998368fd344b6c35be464f5"
|
|
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
|
|
@@ -246,14 +248,54 @@ message WindowsRawOperatingSystemInfo {
|
|
|
246
248
|
optional int32 service_pack = 2;
|
|
247
249
|
optional string build = 3; // "WindowsVersion": "10.0.19045"
|
|
248
250
|
optional string version_name = 4; // OsVersion": "22H2",
|
|
249
|
-
optional string build_number = 5; // "OsBuildNumber": "2486",
|
|
250
|
-
optional int32 product_type = 6; // WindowsProductType: 1
|
|
251
|
-
|
|
252
251
|
optional bool is_domain_controller = 7;
|
|
253
252
|
optional bool part_of_domain = 8;
|
|
254
253
|
optional bool is_azure_ad_joined = 9;
|
|
255
254
|
|
|
256
255
|
optional string os_code = 10; // "OsCode": "10.0.19045" - with S if server
|
|
256
|
+
|
|
257
|
+
optional string boot_device = 12;
|
|
258
|
+
optional string build_number = 13; // "OsBuildNumber": "2486",
|
|
259
|
+
optional string build_type = 14;
|
|
260
|
+
optional string caption = 15;
|
|
261
|
+
optional string code_set = 16;
|
|
262
|
+
optional string country_code = 17;
|
|
263
|
+
optional string csd_version = 18;
|
|
264
|
+
optional int32 current_timezone = 19;
|
|
265
|
+
optional bool debug = 20;
|
|
266
|
+
optional string description = 21;
|
|
267
|
+
optional uint32 foreground_application_boost = 22;
|
|
268
|
+
optional google.protobuf.Timestamp install_date = 23;
|
|
269
|
+
optional uint64 max_process_memory_size = 24;
|
|
270
|
+
optional uint32 number_of_licensed_users = 25;
|
|
271
|
+
optional string organization = 26;
|
|
272
|
+
optional uint32 os_language = 27;
|
|
273
|
+
optional uint32 os_product_suite = 28;
|
|
274
|
+
optional uint32 os_type = 29;
|
|
275
|
+
optional string plus_product_id = 30;
|
|
276
|
+
optional string plus_version_number = 31;
|
|
277
|
+
optional string registered_user = 32;
|
|
278
|
+
optional string serial_number = 33;
|
|
279
|
+
optional uint32 service_pack_major_version = 34;
|
|
280
|
+
optional uint32 service_pack_minor_version = 35;
|
|
281
|
+
optional uint64 size_stored_in_paging_files = 36;
|
|
282
|
+
optional string status = 37;
|
|
283
|
+
optional string system_device = 38;
|
|
284
|
+
optional string system_directory = 39;
|
|
285
|
+
optional uint64 total_virtual_memory_size = 40;
|
|
286
|
+
optional uint64 total_visible_memory_size = 41;
|
|
287
|
+
optional string windows_directory = 43;
|
|
288
|
+
optional uint64 total_swap_space_size = 44;
|
|
289
|
+
optional uint32 large_system_cache = 45;
|
|
290
|
+
optional string other_type_description = 46;
|
|
291
|
+
optional uint32 product_type = 47;
|
|
292
|
+
optional uint32 suite_mask = 48;
|
|
293
|
+
optional string system_drive = 49;
|
|
294
|
+
optional uint32 encryption_level = 50;
|
|
295
|
+
optional bool data_execution_prevention32_bit_applications = 51;
|
|
296
|
+
optional bool is_data_execution_prevention_available = 52;
|
|
297
|
+
optional bool data_execution_prevention_drivers = 53;
|
|
298
|
+
optional uint32 data_execution_prevention_support_policy = 54;
|
|
257
299
|
}
|
|
258
300
|
|
|
259
301
|
/* Network Interface cards */
|
|
@@ -293,12 +335,66 @@ message NetIpAddress {
|
|
|
293
335
|
string subnet = 2;
|
|
294
336
|
}
|
|
295
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;
|
|
389
|
+
}
|
|
390
|
+
|
|
296
391
|
/* Monitor Inventory with list of connected monitors */
|
|
297
392
|
message MonitorInventory {
|
|
298
393
|
google.protobuf.Timestamp timestamp = 1;
|
|
299
394
|
repeated Monitor monitor = 2;
|
|
300
395
|
}
|
|
301
396
|
|
|
397
|
+
|
|
302
398
|
/* Monitor definition: normalized and with link to raw */
|
|
303
399
|
message Monitor {
|
|
304
400
|
// catalog id of: CatalogMonitor
|