@lansweeper/data-platform-outbound-grpc 0.1.30 → 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/java.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.29",
2
+ "version": "0.1.30",
3
3
  "package": "com.lansweeper.dp.outbound.v1",
4
4
  "service": true
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/data-platform-outbound-grpc",
3
- "version": "0.1.30",
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": "b8f0c535111670a579b6acfc9051f972c351c91d"
12
+ "gitHead": "97766ade635c49d796c28cca836b4b3bf2ed8dfe"
13
13
  }
@@ -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 OperatingSystem os = 8;
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;
@@ -351,6 +355,30 @@ message OperatingSystem {
351
355
 
352
356
  }
353
357
 
358
+ message DeprecatedOperatingSystemInfo {
359
+ // catalog id of: CatalogOs
360
+ optional int64 id = 1;
361
+
362
+ // catalog id of: CatalogBrand
363
+ optional int64 make_id = 11;
364
+
365
+ optional string name = 2;
366
+ optional string version = 3;
367
+ optional string build = 4;
368
+
369
+ optional string fw_version = 5;
370
+
371
+ optional string cpe = 6;
372
+ optional string fw_cpe = 7;
373
+
374
+ optional int32 rank = 8;
375
+
376
+ oneof spec {
377
+ DeprecatedWindowsOperatingSystemInfo windows = 32;
378
+ }
379
+ }
380
+
381
+
354
382
  /* OS Patch, i.e. Windows KB's, aka Hotfix, aka QuickFixEngieering */
355
383
  message OperatingSystemPatch {
356
384
  // from hot_fix_id, e.g.: "KB4570334"
@@ -370,8 +398,8 @@ message OperatingSystemPatch {
370
398
 
371
399
  }
372
400
 
373
-
374
- message WindowsOperatingSystemInfo {
401
+ // deprecated
402
+ message DeprecatedWindowsOperatingSystemInfo {
375
403
  optional string version = 1;
376
404
  optional int32 service_pack = 2;
377
405
  optional string build = 3; // "WindowsVersion": "10.0.19045"