@lansweeper/data-platform-outbound-grpc 0.3.19 → 0.3.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.
Files changed (123) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +749 -8
  4. package/gen-proto/outbound_pb.js +5939 -38
  5. package/generated-go/outbound.pb.go +11319 -9569
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +134 -3
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetOrBuilder.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$1.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$Builder.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$HypervisorsDefaultEntryHolder.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiClusterOrBuilder.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/Group$1.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/Group$Builder.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/Group.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/GroupOrBuilder.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlan$1.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlan$Builder.class +0 -0
  24. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlan$UsersKeysDefaultEntryHolder.class +0 -0
  25. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlan.class +0 -0
  26. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365AssignedPlanOrBuilder.class +0 -0
  27. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Contact$1.class +0 -0
  28. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Contact$Builder.class +0 -0
  29. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Contact.class +0 -0
  30. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ContactOrBuilder.class +0 -0
  31. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Domain$1.class +0 -0
  32. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Domain$Builder.class +0 -0
  33. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Domain.class +0 -0
  34. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365DomainOrBuilder.class +0 -0
  35. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Group$1.class +0 -0
  36. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Group$Builder.class +0 -0
  37. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Group.class +0 -0
  38. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365GroupOrBuilder.class +0 -0
  39. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License$1.class +0 -0
  40. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License$Builder.class +0 -0
  41. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License$UsersKeysDefaultEntryHolder.class +0 -0
  42. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365License.class +0 -0
  43. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365LicenseOrBuilder.class +0 -0
  44. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$1.class +0 -0
  45. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$AssignedPlansDefaultEntryHolder.class +0 -0
  46. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$Builder$AssignedPlansConverter.class +0 -0
  47. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization$Builder.class +0 -0
  48. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365Organization.class +0 -0
  49. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365OrganizationOrBuilder.class +0 -0
  50. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ServicePlan$1.class +0 -0
  51. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ServicePlan$Builder.class +0 -0
  52. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ServicePlan.class +0 -0
  53. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365ServicePlanOrBuilder.class +0 -0
  54. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User$1.class +0 -0
  55. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User$Builder.class +0 -0
  56. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User$GroupKeysDefaultEntryHolder.class +0 -0
  57. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365User.class +0 -0
  58. package/model/target/classes/com/lansweeper/dp/outbound/v1/Office365UserOrBuilder.class +0 -0
  59. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  60. package/model/target/classes/com/lansweeper/dp/outbound/v1/User$1.class +0 -0
  61. package/model/target/classes/com/lansweeper/dp/outbound/v1/User$Builder.class +0 -0
  62. package/model/target/classes/com/lansweeper/dp/outbound/v1/User.class +0 -0
  63. package/model/target/classes/com/lansweeper/dp/outbound/v1/UserOrBuilder.class +0 -0
  64. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$1.class +0 -0
  65. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$Builder$DatastoresConverter.class +0 -0
  66. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$Builder.class +0 -0
  67. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$DatastoresDefaultEntryHolder.class +0 -0
  68. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster.class +0 -0
  69. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreClusterOrBuilder.class +0 -0
  70. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$1.class +0 -0
  71. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder$EsxiGuestSnapshotsConverter.class +0 -0
  72. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder.class +0 -0
  73. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.class +0 -0
  74. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.class +0 -0
  75. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$1.class +0 -0
  76. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$Builder$EsxiHypervisorDatastoresConverter.class +0 -0
  77. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$Builder.class +0 -0
  78. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor.class +0 -0
  79. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisorOrBuilder.class +0 -0
  80. package/model/target/classes/outbound.proto +134 -3
  81. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Asset.java +232 -47
  82. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +23 -8
  83. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/EsxiCluster.java +200 -7
  84. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/EsxiClusterOrBuilder.java +31 -2
  85. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Group.java +185 -0
  86. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/GroupOrBuilder.java +15 -0
  87. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365AssignedPlan.java +1368 -0
  88. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365AssignedPlanOrBuilder.java +123 -0
  89. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Contact.java +723 -0
  90. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365ContactOrBuilder.java +44 -0
  91. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Domain.java +1793 -0
  92. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365DomainOrBuilder.java +167 -0
  93. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Group.java +1701 -0
  94. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365GroupOrBuilder.java +158 -0
  95. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365License.java +2041 -0
  96. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365LicenseOrBuilder.java +193 -0
  97. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365Organization.java +3591 -0
  98. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365OrganizationOrBuilder.java +330 -0
  99. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365ServicePlan.java +1037 -0
  100. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365ServicePlanOrBuilder.java +78 -0
  101. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365User.java +6756 -0
  102. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365UserOrBuilder.java +715 -0
  103. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +722 -444
  104. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/User.java +232 -47
  105. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UserOrBuilder.java +23 -8
  106. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster.java +104 -306
  107. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastoreClusterOrBuilder.java +8 -25
  108. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.java +114 -0
  109. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.java +19 -0
  110. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor.java +334 -109
  111. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisorOrBuilder.java +51 -13
  112. package/model/target/maven-archiver/pom.properties +2 -2
  113. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +37 -0
  114. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +16 -0
  115. package/model/target/{outbound-model-0.3.18-sources.jar → outbound-model-0.3.20-sources.jar} +0 -0
  116. package/model/target/{outbound-model-0.3.18.jar → outbound-model-0.3.20.jar} +0 -0
  117. package/package.json +2 -2
  118. package/pom.xml +1 -1
  119. package/proto/outbound.proto +134 -3
  120. package/service/pom.xml +1 -1
  121. package/service/target/maven-archiver/pom.properties +2 -2
  122. package/service/target/{outbound-service-0.3.18-sources.jar → outbound-service-0.3.20-sources.jar} +0 -0
  123. package/service/target/{outbound-service-0.3.18.jar → outbound-service-0.3.20.jar} +0 -0
package/java.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.3.18",
2
+ "version": "0.3.20",
3
3
  "package": "com.lansweeper.dp.outbound.v1",
4
4
  "name": "outbound",
5
5
  "service": true
package/model/pom.xml CHANGED
@@ -6,7 +6,7 @@
6
6
  <parent>
7
7
  <groupId>com.lansweeper.dp.outbound.v1</groupId>
8
8
  <artifactId>parent</artifactId>
9
- <version>0.3.18</version>
9
+ <version>0.3.20</version>
10
10
  </parent>
11
11
 
12
12
  <artifactId>outbound-model</artifactId>
@@ -286,6 +286,7 @@ message Asset {
286
286
  optional IntuneDevice intune_device = 90;
287
287
 
288
288
  optional Vmware vmware = 93;
289
+ optional Office365Organization office_365_organization = 94;
289
290
  // Vmware Guest Network is mapped in the computer section
290
291
  }
291
292
 
@@ -3606,6 +3607,7 @@ message User {
3606
3607
  UserCoreFields core = 20;
3607
3608
 
3608
3609
  optional ActiveDirectoryUser ad_user = 21;
3610
+ optional Office365User office_365_user = 22;
3609
3611
  // optional LastUser asset_user = 22; <- refine here with also link/relation to originating asset?
3610
3612
  }
3611
3613
 
@@ -3653,6 +3655,7 @@ message Group {
3653
3655
  // .......................
3654
3656
 
3655
3657
  optional ActiveDirectoryGroup ad_group = 21;
3658
+ optional Office365Group office_365_group = 23;
3656
3659
  }
3657
3660
 
3658
3661
  /* Core fields for groups */
@@ -3831,7 +3834,7 @@ message VmwareEsxiHypervisor {
3831
3834
  optional uint64 up_time = 5; // Up time of the Esxi Hypervisor
3832
3835
  optional google.protobuf.Timestamp boot_time = 17; // Boot time of the Esxi Hypervisor
3833
3836
  optional uint64 host_max_virtual_disk_capacity = 6; // Maximum virtual disk capacity of the Esxi Hypervisor
3834
- optional string num_cpu_packages = 7; // Number of CPU packages of the Esxi Hypervisor
3837
+ optional uint32 num_cpu_packages = 7; // Number of CPU packages of the Esxi Hypervisor
3835
3838
  repeated string cpu_packages_descriptions = 8; // Descriptions of each CPU package of the Esxi Hypervisor
3836
3839
  optional uint32 num_nics = 9; // Number of NICs of the Esxi Hypervisor
3837
3840
  optional uint32 num_hbas = 10; // Number of HBAs of the Esxi Hypervisor
@@ -3847,6 +3850,8 @@ message VmwareEsxiHypervisor {
3847
3850
  optional string management_server_ip = 21; // Management server IP of the Esxi Hypervisor
3848
3851
  optional uint32 num_cpu = 22; // Number of CPU cores of the Esxi Hypervisor
3849
3852
  optional uint32 num_cores_per_socket = 23; // Number of cores per socket of the Esxi Hypervisor
3853
+ optional string version = 24; // Version of the Esxi Hypervisor
3854
+ optional uint64 memory_size = 25; // Memory size of the Esxi Hypervisor
3850
3855
  }
3851
3856
 
3852
3857
  /**
@@ -3873,6 +3878,7 @@ message VmwareEsxiGuestVm {
3873
3878
  optional google.protobuf.Timestamp boot_time = 17; // Boot time of the Esxi Guest VM
3874
3879
  optional string domain_name = 18; // Domain name of the Esxi Guest VM
3875
3880
  optional string config_name = 19; // Config name of the Esxi Guest VM
3881
+ optional double memory_size_mb = 21; // Memory size in MB of the Esxi Guest VM
3876
3882
  }
3877
3883
 
3878
3884
  /*
@@ -3919,7 +3925,7 @@ This can represent a single or multiple Esxi instances.
3919
3925
  If we get a single Esxi instance, we will have only one element in the list.
3920
3926
  */
3921
3927
  message EsxiCluster {
3922
- string uuid = 14; // Primary key of this cluster
3928
+ string uuid = 14; // Primary key of this cluster, the internal key from inbound
3923
3929
  string datacenter_key = 1; // Datacenter this cluster belongs to
3924
3930
  string vcenter_asset_key = 2; // Reference to the vCenter asset, which this message is child of
3925
3931
  optional string name = 3; // Name of the cluster
@@ -3933,6 +3939,7 @@ message EsxiCluster {
3933
3939
  optional uint32 total_effective_hosts = 11; // Total number of effective hosts in the cluster
3934
3940
  optional string status = 12; // Status of the cluster
3935
3941
  map<string, bool> hypervisors = 13; // Map of asset keys hypervisors in the cluster
3942
+ optional string parent_folder = 15; // Parent folder of the cluster
3936
3943
  }
3937
3944
 
3938
3945
  /**
@@ -3944,7 +3951,7 @@ message VmwareDatastoreCluster {
3944
3951
  optional string internal_key = 3; // Internal key
3945
3952
  optional string name = 4; // Name of the datastore cluster
3946
3953
  map<string, VmwareDatastore> datastores = 5; // Datastores, the key is the uuid
3947
- repeated DatastoreClusterStorageDrs storage_drs = 6; // Storage DRS
3954
+ optional DatastoreClusterStorageDrs storage_drs = 6; // Storage DRS
3948
3955
  repeated DatastoreClusterDrsPodConfigRule drs_pod_config_rule = 7; // DRS Pod Config Rule
3949
3956
  repeated DatastoreClusterDrsVmOverride drs_vm_override = 8; // DRS VM Override
3950
3957
  }
@@ -4078,3 +4085,127 @@ message ReconRule {
4078
4085
  }
4079
4086
 
4080
4087
  // ---------------------------------------------------------------------------------------------------------------------
4088
+
4089
+ /* Office365 API scanning root object */
4090
+ message Office365Organization {
4091
+ string tenant_id = 1;
4092
+ optional string displayname = 2;
4093
+ optional string country = 3;
4094
+ optional string city = 4;
4095
+ optional string country_name = 5;
4096
+ optional string postal_code = 6;
4097
+ optional string state = 7;
4098
+ optional string street = 8;
4099
+ optional string telephone_number = 9;
4100
+ optional google.protobuf.Timestamp company_last_dir_sync_time = 10;
4101
+ optional bool dir_sync_enabled = 11;
4102
+ // Users and groups are standalone entities, so they are not included here
4103
+ repeated Office365Domain domains = 12;
4104
+ repeated Office365License licenses = 15;
4105
+ map<string, Office365AssignedPlan> assigned_plans = 16; // The key is the service plan id
4106
+ repeated Office365Contact contacts = 17;
4107
+ }
4108
+
4109
+ message Office365AssignedPlan {
4110
+ string service_plan_id = 1;
4111
+ optional string service = 2;
4112
+ optional string capability_status = 3;
4113
+ optional google.protobuf.Timestamp assigned_time_stamp = 4;
4114
+ map<string, bool> users_keys = 5; // Entity keys of users assigned to this plan
4115
+ }
4116
+
4117
+ message Office365Contact {
4118
+ optional string display_name = 1;
4119
+ optional string mail = 2;
4120
+ }
4121
+
4122
+ message Office365Domain {
4123
+ int32 id = 1;
4124
+ optional int32 organization_id = 2;
4125
+ optional string domain_name = 3;
4126
+ optional string authentication_type = 4;
4127
+ optional bool is_admin_managed = 5;
4128
+ optional bool is_default = 6;
4129
+ optional bool is_initial = 7;
4130
+ optional bool is_root = 8;
4131
+ optional bool is_verified = 9;
4132
+ optional string supported_services = 10;
4133
+ optional string state = 11;
4134
+ optional string availability_status = 12;
4135
+ }
4136
+
4137
+ message Office365Group {
4138
+ string object_id = 1;
4139
+ optional string display_name = 2;
4140
+ optional string description = 3;
4141
+ optional bool mail_enabled = 4;
4142
+ optional bool security_enabled = 5;
4143
+ optional string mail = 6;
4144
+ optional string mail_nickname = 7;
4145
+ optional string proxy_addresses = 8;
4146
+ optional string organization_entity_key = 9; //Reference to the Office365 organization entity key related to this group
4147
+ }
4148
+
4149
+ message Office365License {
4150
+ string sku_id = 1;
4151
+ optional int32 consumed_units = 2;
4152
+ optional int32 prepaid_units_enabled = 3;
4153
+ optional int32 prepaid_units_suspended = 4;
4154
+ optional int32 prepaid_units_warning = 5;
4155
+ optional string sku_part_number = 6;
4156
+ optional string applies_to = 7;
4157
+ optional string capability_status = 8;
4158
+ map<string, bool> users_keys = 9; // Entity keys of users assigned to this license
4159
+ repeated Office365ServicePlan service_plans = 10;
4160
+ }
4161
+
4162
+ message Office365ServicePlan {
4163
+ optional string service_plan_id = 1;
4164
+ optional string service_plan_name = 2;
4165
+ optional string provisioning_status = 3;
4166
+ optional string applies_to = 4;
4167
+ }
4168
+
4169
+ message Office365User {
4170
+ string object_id = 1;
4171
+ optional string user_principal_name = 2;
4172
+ optional string display_name = 3;
4173
+ optional string mail = 4;
4174
+ optional bool account_enabled = 5;
4175
+ optional string age_group = 6;
4176
+ optional string city = 7;
4177
+ optional string company = 8;
4178
+ optional string consent_provided_for_minor = 9;
4179
+ optional string creation_type = 10;
4180
+ optional string department = 11;
4181
+ optional bool dir_sync_enabled = 12;
4182
+ optional string facsimile_telephone_number = 13;
4183
+ optional string given_name = 14;
4184
+ optional string immutable_id = 15;
4185
+ optional bool is_global_administrator = 16;
4186
+ optional bool is_licensed = 17;
4187
+ optional string job_title = 18;
4188
+ optional google.protobuf.Timestamp last_dir_sync_time = 19;
4189
+ optional string legal_age_group_classification = 20;
4190
+ optional string mail_nick_name = 21;
4191
+ optional string mobile = 22;
4192
+ optional string on_premises_security_identifier = 23;
4193
+ optional string other_mails = 24;
4194
+ optional string password_policies = 25;
4195
+ optional string password_profile = 26;
4196
+ optional string physical_delivery_office_name = 27;
4197
+ optional string postal_code = 28;
4198
+ optional string preferred_language = 30;
4199
+ optional google.protobuf.Timestamp refresh_tokens_valid_from_date_time = 31;
4200
+ optional string state = 32;
4201
+ optional string street = 33;
4202
+ optional string telephone_number = 34;
4203
+ optional string usage_location = 35;
4204
+ optional string user_type = 36;
4205
+ optional string manager_upn = 37;
4206
+ optional string distinguished_name = 38;
4207
+ optional bool reset_password_on_next_logon = 39;
4208
+ optional string name = 40;
4209
+ optional string organization_entity_key = 41; //Reference to the Office365 organization entity key related to this user
4210
+ map<string, bool> group_keys = 42; // Deduplicated set of group entity keys this user is member of
4211
+ }
@@ -286,6 +286,7 @@ message Asset {
286
286
  optional IntuneDevice intune_device = 90;
287
287
 
288
288
  optional Vmware vmware = 93;
289
+ optional Office365Organization office_365_organization = 94;
289
290
  // Vmware Guest Network is mapped in the computer section
290
291
  }
291
292
 
@@ -3606,6 +3607,7 @@ message User {
3606
3607
  UserCoreFields core = 20;
3607
3608
 
3608
3609
  optional ActiveDirectoryUser ad_user = 21;
3610
+ optional Office365User office_365_user = 22;
3609
3611
  // optional LastUser asset_user = 22; <- refine here with also link/relation to originating asset?
3610
3612
  }
3611
3613
 
@@ -3653,6 +3655,7 @@ message Group {
3653
3655
  // .......................
3654
3656
 
3655
3657
  optional ActiveDirectoryGroup ad_group = 21;
3658
+ optional Office365Group office_365_group = 23;
3656
3659
  }
3657
3660
 
3658
3661
  /* Core fields for groups */
@@ -3831,7 +3834,7 @@ message VmwareEsxiHypervisor {
3831
3834
  optional uint64 up_time = 5; // Up time of the Esxi Hypervisor
3832
3835
  optional google.protobuf.Timestamp boot_time = 17; // Boot time of the Esxi Hypervisor
3833
3836
  optional uint64 host_max_virtual_disk_capacity = 6; // Maximum virtual disk capacity of the Esxi Hypervisor
3834
- optional string num_cpu_packages = 7; // Number of CPU packages of the Esxi Hypervisor
3837
+ optional uint32 num_cpu_packages = 7; // Number of CPU packages of the Esxi Hypervisor
3835
3838
  repeated string cpu_packages_descriptions = 8; // Descriptions of each CPU package of the Esxi Hypervisor
3836
3839
  optional uint32 num_nics = 9; // Number of NICs of the Esxi Hypervisor
3837
3840
  optional uint32 num_hbas = 10; // Number of HBAs of the Esxi Hypervisor
@@ -3847,6 +3850,8 @@ message VmwareEsxiHypervisor {
3847
3850
  optional string management_server_ip = 21; // Management server IP of the Esxi Hypervisor
3848
3851
  optional uint32 num_cpu = 22; // Number of CPU cores of the Esxi Hypervisor
3849
3852
  optional uint32 num_cores_per_socket = 23; // Number of cores per socket of the Esxi Hypervisor
3853
+ optional string version = 24; // Version of the Esxi Hypervisor
3854
+ optional uint64 memory_size = 25; // Memory size of the Esxi Hypervisor
3850
3855
  }
3851
3856
 
3852
3857
  /**
@@ -3873,6 +3878,7 @@ message VmwareEsxiGuestVm {
3873
3878
  optional google.protobuf.Timestamp boot_time = 17; // Boot time of the Esxi Guest VM
3874
3879
  optional string domain_name = 18; // Domain name of the Esxi Guest VM
3875
3880
  optional string config_name = 19; // Config name of the Esxi Guest VM
3881
+ optional double memory_size_mb = 21; // Memory size in MB of the Esxi Guest VM
3876
3882
  }
3877
3883
 
3878
3884
  /*
@@ -3919,7 +3925,7 @@ This can represent a single or multiple Esxi instances.
3919
3925
  If we get a single Esxi instance, we will have only one element in the list.
3920
3926
  */
3921
3927
  message EsxiCluster {
3922
- string uuid = 14; // Primary key of this cluster
3928
+ string uuid = 14; // Primary key of this cluster, the internal key from inbound
3923
3929
  string datacenter_key = 1; // Datacenter this cluster belongs to
3924
3930
  string vcenter_asset_key = 2; // Reference to the vCenter asset, which this message is child of
3925
3931
  optional string name = 3; // Name of the cluster
@@ -3933,6 +3939,7 @@ message EsxiCluster {
3933
3939
  optional uint32 total_effective_hosts = 11; // Total number of effective hosts in the cluster
3934
3940
  optional string status = 12; // Status of the cluster
3935
3941
  map<string, bool> hypervisors = 13; // Map of asset keys hypervisors in the cluster
3942
+ optional string parent_folder = 15; // Parent folder of the cluster
3936
3943
  }
3937
3944
 
3938
3945
  /**
@@ -3944,7 +3951,7 @@ message VmwareDatastoreCluster {
3944
3951
  optional string internal_key = 3; // Internal key
3945
3952
  optional string name = 4; // Name of the datastore cluster
3946
3953
  map<string, VmwareDatastore> datastores = 5; // Datastores, the key is the uuid
3947
- repeated DatastoreClusterStorageDrs storage_drs = 6; // Storage DRS
3954
+ optional DatastoreClusterStorageDrs storage_drs = 6; // Storage DRS
3948
3955
  repeated DatastoreClusterDrsPodConfigRule drs_pod_config_rule = 7; // DRS Pod Config Rule
3949
3956
  repeated DatastoreClusterDrsVmOverride drs_vm_override = 8; // DRS VM Override
3950
3957
  }
@@ -4078,3 +4085,127 @@ message ReconRule {
4078
4085
  }
4079
4086
 
4080
4087
  // ---------------------------------------------------------------------------------------------------------------------
4088
+
4089
+ /* Office365 API scanning root object */
4090
+ message Office365Organization {
4091
+ string tenant_id = 1;
4092
+ optional string displayname = 2;
4093
+ optional string country = 3;
4094
+ optional string city = 4;
4095
+ optional string country_name = 5;
4096
+ optional string postal_code = 6;
4097
+ optional string state = 7;
4098
+ optional string street = 8;
4099
+ optional string telephone_number = 9;
4100
+ optional google.protobuf.Timestamp company_last_dir_sync_time = 10;
4101
+ optional bool dir_sync_enabled = 11;
4102
+ // Users and groups are standalone entities, so they are not included here
4103
+ repeated Office365Domain domains = 12;
4104
+ repeated Office365License licenses = 15;
4105
+ map<string, Office365AssignedPlan> assigned_plans = 16; // The key is the service plan id
4106
+ repeated Office365Contact contacts = 17;
4107
+ }
4108
+
4109
+ message Office365AssignedPlan {
4110
+ string service_plan_id = 1;
4111
+ optional string service = 2;
4112
+ optional string capability_status = 3;
4113
+ optional google.protobuf.Timestamp assigned_time_stamp = 4;
4114
+ map<string, bool> users_keys = 5; // Entity keys of users assigned to this plan
4115
+ }
4116
+
4117
+ message Office365Contact {
4118
+ optional string display_name = 1;
4119
+ optional string mail = 2;
4120
+ }
4121
+
4122
+ message Office365Domain {
4123
+ int32 id = 1;
4124
+ optional int32 organization_id = 2;
4125
+ optional string domain_name = 3;
4126
+ optional string authentication_type = 4;
4127
+ optional bool is_admin_managed = 5;
4128
+ optional bool is_default = 6;
4129
+ optional bool is_initial = 7;
4130
+ optional bool is_root = 8;
4131
+ optional bool is_verified = 9;
4132
+ optional string supported_services = 10;
4133
+ optional string state = 11;
4134
+ optional string availability_status = 12;
4135
+ }
4136
+
4137
+ message Office365Group {
4138
+ string object_id = 1;
4139
+ optional string display_name = 2;
4140
+ optional string description = 3;
4141
+ optional bool mail_enabled = 4;
4142
+ optional bool security_enabled = 5;
4143
+ optional string mail = 6;
4144
+ optional string mail_nickname = 7;
4145
+ optional string proxy_addresses = 8;
4146
+ optional string organization_entity_key = 9; //Reference to the Office365 organization entity key related to this group
4147
+ }
4148
+
4149
+ message Office365License {
4150
+ string sku_id = 1;
4151
+ optional int32 consumed_units = 2;
4152
+ optional int32 prepaid_units_enabled = 3;
4153
+ optional int32 prepaid_units_suspended = 4;
4154
+ optional int32 prepaid_units_warning = 5;
4155
+ optional string sku_part_number = 6;
4156
+ optional string applies_to = 7;
4157
+ optional string capability_status = 8;
4158
+ map<string, bool> users_keys = 9; // Entity keys of users assigned to this license
4159
+ repeated Office365ServicePlan service_plans = 10;
4160
+ }
4161
+
4162
+ message Office365ServicePlan {
4163
+ optional string service_plan_id = 1;
4164
+ optional string service_plan_name = 2;
4165
+ optional string provisioning_status = 3;
4166
+ optional string applies_to = 4;
4167
+ }
4168
+
4169
+ message Office365User {
4170
+ string object_id = 1;
4171
+ optional string user_principal_name = 2;
4172
+ optional string display_name = 3;
4173
+ optional string mail = 4;
4174
+ optional bool account_enabled = 5;
4175
+ optional string age_group = 6;
4176
+ optional string city = 7;
4177
+ optional string company = 8;
4178
+ optional string consent_provided_for_minor = 9;
4179
+ optional string creation_type = 10;
4180
+ optional string department = 11;
4181
+ optional bool dir_sync_enabled = 12;
4182
+ optional string facsimile_telephone_number = 13;
4183
+ optional string given_name = 14;
4184
+ optional string immutable_id = 15;
4185
+ optional bool is_global_administrator = 16;
4186
+ optional bool is_licensed = 17;
4187
+ optional string job_title = 18;
4188
+ optional google.protobuf.Timestamp last_dir_sync_time = 19;
4189
+ optional string legal_age_group_classification = 20;
4190
+ optional string mail_nick_name = 21;
4191
+ optional string mobile = 22;
4192
+ optional string on_premises_security_identifier = 23;
4193
+ optional string other_mails = 24;
4194
+ optional string password_policies = 25;
4195
+ optional string password_profile = 26;
4196
+ optional string physical_delivery_office_name = 27;
4197
+ optional string postal_code = 28;
4198
+ optional string preferred_language = 30;
4199
+ optional google.protobuf.Timestamp refresh_tokens_valid_from_date_time = 31;
4200
+ optional string state = 32;
4201
+ optional string street = 33;
4202
+ optional string telephone_number = 34;
4203
+ optional string usage_location = 35;
4204
+ optional string user_type = 36;
4205
+ optional string manager_upn = 37;
4206
+ optional string distinguished_name = 38;
4207
+ optional bool reset_password_on_next_logon = 39;
4208
+ optional string name = 40;
4209
+ optional string organization_entity_key = 41; //Reference to the Office365 organization entity key related to this user
4210
+ map<string, bool> group_keys = 42; // Deduplicated set of group entity keys this user is member of
4211
+ }