@lansweeper/data-platform-outbound-grpc 0.1.50 → 0.1.52

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.49",
2
+ "version": "0.1.51",
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.50",
3
+ "version": "0.1.52",
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": "fa1ace9c474611b5c2e2699673f7f702694acd61"
12
+ "gitHead": "a9dcba104e994244868be23697156040bb99ee5d"
13
13
  }
@@ -106,6 +106,7 @@ message Asset {
106
106
  google.protobuf.Timestamp last_updated = 4;
107
107
  google.protobuf.Timestamp last_enriched = 5;
108
108
 
109
+
109
110
  /**
110
111
  * This is unique and source of UUID asset_id. Kept also in verbose key format for debug/future use.
111
112
  * The key is not globally unique across sites, but it's made up with strongest attributes of the asset.
@@ -116,6 +117,8 @@ message Asset {
116
117
 
117
118
  repeated ScanError scan_error = 33;
118
119
 
120
+ optional string last_synced_source = 39; // last synced source name and version
121
+
119
122
  repeated Tag tag = 14;
120
123
  repeated Relation relation = 20; // e.g. relations to and from OT parent module to sub-modules
121
124
 
@@ -142,6 +145,8 @@ message Asset {
142
145
  optional Motherboard motherboard = 21;
143
146
  repeated OpticalDrive optical_drive = 24;
144
147
  repeated HardDrive hard_drive = 25;
148
+ repeated DriveVolume drive_volume = 38;
149
+ repeated NetworkVolume network_volume = 40;
145
150
  repeated GraphicsCard graphics_card = 27;
146
151
  repeated SoundCard sound_card = 30;
147
152
  repeated Keyboard keyboard = 28;
@@ -569,6 +574,70 @@ message HardDrive {
569
574
  optional string mounted_on = 11;
570
575
  }
571
576
 
577
+ /**
578
+ * Volumes for Computers: Windows.Volume+Windows.EncryptableVolumes and Unix.Volumes
579
+ **/
580
+ message DriveVolume {
581
+ optional string device_id = 1;
582
+ optional string path = 2; // unix path, windows drive_letter
583
+ optional string label = 3; // win and linux
584
+ optional string name = 4;
585
+
586
+ optional int64 capacity = 5; // windows capacity, size in unix
587
+ optional int64 block_size = 6;
588
+ optional int64 free_space = 7;
589
+
590
+ optional MappedValue drive_type = 8; // Windows: WMI mapped, Unix: string
591
+ optional MappedValue protection_status = 9; // from Windows if encrypted: Windows.EncryptableVolumes
592
+
593
+ optional string error_description = 10;
594
+ optional string error_methodology = 11;
595
+ optional string file_system = 12;
596
+
597
+ optional bool auto_mount = 13;
598
+ optional bool compressed = 14;
599
+ optional bool dirty_bit_set = 15;
600
+ optional bool error_cleared = 16;
601
+ optional bool indexing_enabled = 17;
602
+ optional bool page_file_present = 18;
603
+ optional bool supports_disk_quotas = 19;
604
+ optional bool supports_file_based_compression = 20;
605
+
606
+ // unix
607
+ optional string mounted = 21;
608
+ optional string mount_point = 22;
609
+
610
+ }
611
+
612
+ /**
613
+ * Network drives/volumes for Computers: Windows.MappedDrive and Mac.NetworkVolume
614
+ **/
615
+ message NetworkVolume {
616
+ oneof driver {
617
+ WindowsMappedDrive win_mapped_drive = 1;
618
+ MacNetworkVolume mac_volume = 2;
619
+ }
620
+
621
+ optional string name = 100;
622
+ }
623
+
624
+ // Network drive for Windows: Mapped drive.
625
+ message WindowsMappedDrive {
626
+ string drive_letter = 1;
627
+ optional string user_name = 2;
628
+ optional string user_domain = 3;
629
+ optional string remote_path = 4;
630
+ }
631
+
632
+ // Network volume for Mac: NetworkVolume.
633
+ message MacNetworkVolume {
634
+ optional string name = 1;
635
+ optional string auto_mounted = 2;
636
+ optional string fsmt_non_name = 3;
637
+ optional string fs_type_name = 4;
638
+ optional string mnt_from_name = 5;
639
+ }
640
+
572
641
  /**
573
642
  * Keyboard for computers: Windows.Keyboards
574
643
  **/