@lansweeper/data-platform-outbound-grpc 0.1.61 → 0.1.62
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 +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +258 -0
- package/gen-proto/outbound_pb.js +2068 -1
- package/generated-go/outbound.pb.go +5890 -5313
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +68 -1
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.62",
|
|
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": "7053eb5aed2500682407261564571685d50de7e5"
|
|
13
13
|
}
|
package/proto/outbound.proto
CHANGED
|
@@ -184,7 +184,10 @@ message Asset {
|
|
|
184
184
|
repeated RunningProcess running_process = 41;
|
|
185
185
|
repeated SharedResource shared_resource = 44;
|
|
186
186
|
|
|
187
|
-
optional LastUser last_user = 31;
|
|
187
|
+
optional LastUser last_user = 31; // i.e. computer current user
|
|
188
|
+
repeated UserAccount user = 69;
|
|
189
|
+
repeated UserGroup user_group = 70;
|
|
190
|
+
repeated UserInGroup user_in_group = 71;
|
|
188
191
|
|
|
189
192
|
optional OtModule ot_module = 16; // OT specific module info when asset type is 'OT'
|
|
190
193
|
|
|
@@ -331,6 +334,70 @@ message LastUser {
|
|
|
331
334
|
optional string sid = 4;
|
|
332
335
|
}
|
|
333
336
|
|
|
337
|
+
/**
|
|
338
|
+
* User account: from Windows.WindowsUser and Unix.Users.
|
|
339
|
+
*/
|
|
340
|
+
message UserAccount {
|
|
341
|
+
optional string name = 1; // unix:user_name
|
|
342
|
+
optional string domain = 2;
|
|
343
|
+
optional string caption = 3;
|
|
344
|
+
optional string description = 4; // unix:comment
|
|
345
|
+
optional string full_name = 5;
|
|
346
|
+
|
|
347
|
+
optional MappedValue account_type = 6; // unix:type
|
|
348
|
+
|
|
349
|
+
optional string sid = 7;
|
|
350
|
+
optional MappedValue sid_type = 8;
|
|
351
|
+
|
|
352
|
+
optional bool local_account = 9;
|
|
353
|
+
optional bool disabled = 10;
|
|
354
|
+
optional bool lockout = 11;
|
|
355
|
+
optional bool password_changeable = 12;
|
|
356
|
+
optional bool password_expires = 13;
|
|
357
|
+
optional bool password_required = 14;
|
|
358
|
+
|
|
359
|
+
optional string status = 15;
|
|
360
|
+
|
|
361
|
+
// unix specific
|
|
362
|
+
optional int32 user_id = 16;
|
|
363
|
+
optional int32 group_id = 17;
|
|
364
|
+
|
|
365
|
+
optional string home_directory = 18;
|
|
366
|
+
optional string login_shell = 19;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* User group, from Windows.WindowsGroup and Unix.GroupEntry.
|
|
371
|
+
* Note that Unix.user_names are not here but programmatically mapped to UserInGroup.
|
|
372
|
+
*/
|
|
373
|
+
message UserGroup {
|
|
374
|
+
optional string name = 1;
|
|
375
|
+
optional string caption = 2;
|
|
376
|
+
optional string description = 3;
|
|
377
|
+
optional string domain = 4;
|
|
378
|
+
|
|
379
|
+
optional string sid = 5;
|
|
380
|
+
optional bool local_account = 6;
|
|
381
|
+
|
|
382
|
+
// unix specific
|
|
383
|
+
optional int32 group_id = 7;
|
|
384
|
+
optional string type = 8;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Many to many relationship between users and groups and related relation properties.
|
|
389
|
+
* Windows: direct mapping mapped from WindowsUserInGroupInfo.
|
|
390
|
+
* Unix: created from parsing of Unix.GroupEntry.user_names
|
|
391
|
+
*/
|
|
392
|
+
message UserInGroup {
|
|
393
|
+
optional string group_name = 1;
|
|
394
|
+
optional string user_name = 2;
|
|
395
|
+
optional string user_domain_name = 3;
|
|
396
|
+
optional string account_type = 4;
|
|
397
|
+
|
|
398
|
+
optional bool is_admin_group = 5;
|
|
399
|
+
}
|
|
400
|
+
|
|
334
401
|
message HardwareInfo {
|
|
335
402
|
optional int64 type_id = 1;
|
|
336
403
|
|