@lansweeper/data-platform-outbound-grpc 0.1.83 → 0.1.85
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 +302 -0
- package/gen-proto/outbound_pb.js +3554 -1144
- package/generated-go/outbound.pb.go +5430 -4682
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +83 -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.85",
|
|
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": "d324810608d421e2dc16d20b58d8ca98dc335f0e"
|
|
13
13
|
}
|
package/proto/outbound.proto
CHANGED
|
@@ -31,8 +31,13 @@ service DataCoreOutboundService {
|
|
|
31
31
|
|
|
32
32
|
// Retrieve a single entity by site/inst-id/type/id
|
|
33
33
|
rpc CatalogLookup (CatalogLookupRequest) returns (CatalogLookupResponse) {}
|
|
34
|
+
|
|
35
|
+
// Get IPLocation config by site
|
|
36
|
+
//rpc GetIpLocationConfig(EntityPath) returns (GetIpLocationConfigResponse) {}
|
|
37
|
+
//rpc SetIpLocationConfig(SetIpLocationConfigRequest) returns (SetIpLocationConfigResponse) {}
|
|
34
38
|
}
|
|
35
39
|
|
|
40
|
+
|
|
36
41
|
/**
|
|
37
42
|
* Retrieve an Entity through his path
|
|
38
43
|
*/
|
|
@@ -193,6 +198,7 @@ message Computer {
|
|
|
193
198
|
repeated ComputerConnectedModem modem = 24;
|
|
194
199
|
repeated ComputerConnectedPrinter printer = 25;
|
|
195
200
|
repeated ComputerConnectedTapeDrive tape_drive = 26;
|
|
201
|
+
repeated ComputerWindowsFloppy windows_floppy = 33;
|
|
196
202
|
repeated ComputerWindowsDesktop windows_desktop = 27;
|
|
197
203
|
repeated ComputerWindowsDesktopMonitor windows_desktop_monitor = 32;
|
|
198
204
|
repeated ComputerWindowsDisplay windows_display = 28;
|
|
@@ -200,6 +206,7 @@ message Computer {
|
|
|
200
206
|
repeated ComputerWindowsIdeController windows_ide_controller = 30;
|
|
201
207
|
repeated ComputerWindowsDiskPartition windows_disk_partition = 31;
|
|
202
208
|
|
|
209
|
+
|
|
203
210
|
// OS
|
|
204
211
|
optional Bios bios = 101;
|
|
205
212
|
repeated OperatingSystemPatch os_patch = 102;
|
|
@@ -222,7 +229,7 @@ message Computer {
|
|
|
222
229
|
repeated ComputerWindowsNetworkClient windows_network_client = 210;
|
|
223
230
|
repeated NetworkVolume network_volume = 211;
|
|
224
231
|
repeated ComputerWindowsCertificate windows_cert = 212;
|
|
225
|
-
|
|
232
|
+
repeated ComputerWindowsSerial windows_serial = 213;
|
|
226
233
|
|
|
227
234
|
|
|
228
235
|
// USERS AND ACCOUNT
|
|
@@ -1741,6 +1748,16 @@ message ComputerConnectedTapeDrive {
|
|
|
1741
1748
|
optional int32 padding = 15;
|
|
1742
1749
|
}
|
|
1743
1750
|
|
|
1751
|
+
/**
|
|
1752
|
+
* Computer, Windows only Serial info. Mapped from
|
|
1753
|
+
*/
|
|
1754
|
+
message ComputerWindowsSerial {
|
|
1755
|
+
optional string product_name = 1;
|
|
1756
|
+
optional string product_id = 2;
|
|
1757
|
+
optional string product_serial = 3;
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
|
|
1744
1761
|
/**
|
|
1745
1762
|
* Computer, Windows only Certificate.
|
|
1746
1763
|
*/
|
|
@@ -1958,6 +1975,30 @@ message ComputerWindowsDiskPartition {
|
|
|
1958
1975
|
optional string type = 11;
|
|
1959
1976
|
}
|
|
1960
1977
|
|
|
1978
|
+
/**
|
|
1979
|
+
* Computer Windows only: from WindowsFloppy. Mapped in LEC adapter to DiskDrive.
|
|
1980
|
+
*/
|
|
1981
|
+
message ComputerWindowsFloppy {
|
|
1982
|
+
optional uint32 bytes_per_sector = 2;
|
|
1983
|
+
optional string description = 3;
|
|
1984
|
+
optional string interface_type = 4;
|
|
1985
|
+
optional string manufacturer = 5;
|
|
1986
|
+
optional string model = 6;
|
|
1987
|
+
optional string name = 7;
|
|
1988
|
+
optional uint32 partitions = 8;
|
|
1989
|
+
optional string pnp_device_id = 9;
|
|
1990
|
+
optional uint32 sectors_per_track = 10;
|
|
1991
|
+
optional int64 size = 11;
|
|
1992
|
+
optional int64 total_cylinders = 12;
|
|
1993
|
+
optional uint32 total_heads = 13;
|
|
1994
|
+
optional int64 total_sectors = 14;
|
|
1995
|
+
optional int64 total_tracks = 15;
|
|
1996
|
+
optional uint32 tracks_per_cylinder = 16;
|
|
1997
|
+
optional string device_id = 17;
|
|
1998
|
+
optional string status = 18;
|
|
1999
|
+
optional string firmware_revision = 19;
|
|
2000
|
+
optional string serial_number = 20;
|
|
2001
|
+
}
|
|
1961
2002
|
|
|
1962
2003
|
/**
|
|
1963
2004
|
* PortableBattery, only Windows atm.
|
|
@@ -2334,3 +2375,44 @@ message CatalogMonitor {
|
|
|
2334
2375
|
optional int32 match_score = 100; // filled only when a result of search
|
|
2335
2376
|
|
|
2336
2377
|
}
|
|
2378
|
+
|
|
2379
|
+
|
|
2380
|
+
// ---------------------------------------------------------------------------------------------------------------------
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* IP location management
|
|
2384
|
+
*/
|
|
2385
|
+
message GetIpLocationConfigResponse {
|
|
2386
|
+
repeated IpLocationConfig config = 1;
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
message SetIpLocationConfigRequest {
|
|
2390
|
+
repeated IpLocationConfig config = 1;
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
message SetIpLocationConfigResponse {
|
|
2394
|
+
bool ok = 1;
|
|
2395
|
+
}
|
|
2396
|
+
|
|
2397
|
+
/**
|
|
2398
|
+
* Configuration of rules for IP location.
|
|
2399
|
+
*/
|
|
2400
|
+
message IpLocationConfig {
|
|
2401
|
+
|
|
2402
|
+
string name = 1; // IP location name, to set when match
|
|
2403
|
+
|
|
2404
|
+
// Local IP Address filter
|
|
2405
|
+
optional string local_ip_cidr = 2;
|
|
2406
|
+
optional string local_ip_start = 3;
|
|
2407
|
+
optional string local_ip_end = 4;
|
|
2408
|
+
|
|
2409
|
+
optional string source_id = 5; // source id / name (optional in vNext, this was mandatory in LS-classic)
|
|
2410
|
+
|
|
2411
|
+
// Internet public rules: vNext new
|
|
2412
|
+
optional string internet_ip_cidr = 6;
|
|
2413
|
+
optional string internet_country_code = 7;
|
|
2414
|
+
optional string internet_country_city = 8;
|
|
2415
|
+
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2418
|
+
// ---------------------------------------------------------------------------------------------------------------------
|