@lansweeper/data-platform-outbound-grpc 0.1.123 → 0.1.125
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 +109 -204
- package/gen-proto/outbound_pb.js +560 -1300
- package/generated-go/outbound.pb.go +7624 -7809
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +52 -55
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.125",
|
|
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": "a5191070958dc00c9a6a0741bd470a90a8681c1a"
|
|
13
13
|
}
|
package/proto/outbound.proto
CHANGED
|
@@ -189,13 +189,15 @@ message Asset {
|
|
|
189
189
|
optional PortScan port_scan = 77;
|
|
190
190
|
|
|
191
191
|
repeated WarrantyInfo warranty_info = 81;
|
|
192
|
-
optional SNMPInfo snmp_info= 82;
|
|
193
192
|
|
|
194
193
|
// list of deprecated fields, now moved to computer message
|
|
195
|
-
reserved 9, 26, 13, 37, 15, 18, 19, 21, 24, 25, 27, 30, 28, 29, 31;
|
|
194
|
+
reserved 9, 26, 13, 37, 15, 18, 19, 21, 24, 25, 27, 30, 28, 29, 31, 82;
|
|
196
195
|
|
|
197
196
|
optional Computer computer = 75;
|
|
198
197
|
|
|
198
|
+
optional Printer printer = 84;
|
|
199
|
+
optional Ups ups = 85;
|
|
200
|
+
|
|
199
201
|
optional OtModule ot_module = 16; // OT specific module info when asset type is 'OT'
|
|
200
202
|
|
|
201
203
|
optional CloudEntity cloud = 17;
|
|
@@ -856,6 +858,7 @@ message LinuxOperatingSystemInfo {
|
|
|
856
858
|
optional string os_release = 5;
|
|
857
859
|
}
|
|
858
860
|
|
|
861
|
+
|
|
859
862
|
/* Section element for hardware iBridge controller info on Mac */
|
|
860
863
|
message ComputerMacHardwareController {
|
|
861
864
|
optional string boot_uuid = 1;
|
|
@@ -978,6 +981,8 @@ message NetworkInterfaces {
|
|
|
978
981
|
repeated NetworkInterface interface = 2;
|
|
979
982
|
}
|
|
980
983
|
|
|
984
|
+
|
|
985
|
+
|
|
981
986
|
message NetworkInterface {
|
|
982
987
|
string name = 1; // note for macOS -> to Be mapped from BSD name or fallback to confirmed_interface_name in Network IPV6 model
|
|
983
988
|
string type = 2;
|
|
@@ -1002,21 +1007,24 @@ message NetworkInterface {
|
|
|
1002
1007
|
optional string service_name = 14;
|
|
1003
1008
|
optional string database_path = 15;
|
|
1004
1009
|
|
|
1005
|
-
|
|
1006
|
-
optional
|
|
1007
|
-
optional string
|
|
1008
|
-
optional string
|
|
1009
|
-
optional
|
|
1010
|
-
optional
|
|
1011
|
-
optional
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
repeated string
|
|
1010
|
+
// SNMP specifics:
|
|
1011
|
+
optional int32 snmp_index = 27; // SNMP only: marking if it's a SNMP enumerated interface
|
|
1012
|
+
optional string description = 16; // SNMP only
|
|
1013
|
+
optional string alias = 17; // SNMP only
|
|
1014
|
+
optional int64 mtu = 18; // SNMP only
|
|
1015
|
+
optional int64 speed = 19; // SNMP only
|
|
1016
|
+
optional int64 high_speed = 20; // SNMP only
|
|
1017
|
+
optional MappedValue admin_status = 21; // SNMP only
|
|
1018
|
+
optional MappedValue oper_status = 22; // SNMP only
|
|
1019
|
+
repeated string connected_devices = 23; // SNMP only
|
|
1020
|
+
repeated string vlans = 24; // SNMP only
|
|
1015
1021
|
|
|
1016
|
-
|
|
1017
|
-
optional
|
|
1022
|
+
// macOS specifics:
|
|
1023
|
+
optional uint64 ipv6_prefix_length = 25; // macOS only
|
|
1024
|
+
optional string network_signature = 26; // macOS only
|
|
1018
1025
|
}
|
|
1019
1026
|
|
|
1027
|
+
|
|
1020
1028
|
/* Network IP address with IP and subnet */
|
|
1021
1029
|
message NetIpAddress {
|
|
1022
1030
|
string ip = 1;
|
|
@@ -3131,64 +3139,53 @@ message CatalogMonitor {
|
|
|
3131
3139
|
}
|
|
3132
3140
|
|
|
3133
3141
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
3142
|
+
|
|
3134
3143
|
/**
|
|
3135
|
-
|
|
3144
|
+
* Printer details.
|
|
3145
|
+
* Currently filled only from source SNMP.
|
|
3136
3146
|
*/
|
|
3137
|
-
message
|
|
3138
|
-
optional string object_id = 1;
|
|
3139
|
-
optional string name = 2;
|
|
3140
|
-
optional string description = 3;
|
|
3141
|
-
optional string contact = 4;
|
|
3142
|
-
optional string location = 5;
|
|
3143
|
-
|
|
3144
|
-
optional bool is_windows = 6;
|
|
3145
|
-
optional string domain = 7;
|
|
3146
|
-
|
|
3147
|
-
optional int32 vendor_code = 8; //HardwareInfo includes device manufacturer model serial_no
|
|
3148
|
-
optional bool ip_forwarding = 9;
|
|
3149
|
-
optional string dns_name = 10;
|
|
3150
|
-
optional string cisco_name = 11;
|
|
3151
|
-
optional string connected_to_drac = 12;
|
|
3152
|
-
optional string mac_address = 13;
|
|
3153
|
-
|
|
3154
|
-
optional SnmpPrinterInfo printer_info = 14;
|
|
3155
|
-
optional SnmpUpsInfo ups_info = 15;
|
|
3156
|
-
}
|
|
3157
|
-
|
|
3158
|
-
message SnmpPrinterInfo {
|
|
3147
|
+
message Printer {
|
|
3159
3148
|
optional string printer_name = 1;
|
|
3160
|
-
optional
|
|
3161
|
-
optional
|
|
3162
|
-
optional
|
|
3149
|
+
optional int64 printed_pages = 2;
|
|
3150
|
+
optional int64 printed_color_pages = 3;
|
|
3151
|
+
optional int64 printed_mono_pages = 4;
|
|
3163
3152
|
optional string printer_status = 5;
|
|
3164
3153
|
optional string serial_number = 6;
|
|
3165
|
-
repeated
|
|
3154
|
+
repeated PrinterTonerInfo toner = 7;
|
|
3166
3155
|
}
|
|
3167
3156
|
|
|
3168
|
-
|
|
3157
|
+
/**
|
|
3158
|
+
* Printer details.
|
|
3159
|
+
* Currently filled only from source SNMP.
|
|
3160
|
+
*/
|
|
3161
|
+
message PrinterTonerInfo {
|
|
3169
3162
|
optional string name = 1;
|
|
3170
3163
|
optional string color = 2;
|
|
3171
|
-
optional
|
|
3172
|
-
optional
|
|
3173
|
-
optional
|
|
3174
|
-
optional
|
|
3164
|
+
optional MappedValue color_number = 3;
|
|
3165
|
+
optional int64 maximum_toner_level = 4;
|
|
3166
|
+
optional int64 number = 5;
|
|
3167
|
+
optional int64 remaining_toner_level = 6;
|
|
3175
3168
|
}
|
|
3176
3169
|
|
|
3177
|
-
|
|
3170
|
+
/**
|
|
3171
|
+
* UPS details.
|
|
3172
|
+
* Currently filled only from source SNMP.
|
|
3173
|
+
*/
|
|
3174
|
+
message Ups {
|
|
3178
3175
|
optional string manufacturer = 1;
|
|
3179
3176
|
optional string model = 2;
|
|
3180
3177
|
optional string ups_software_version = 3;
|
|
3181
3178
|
optional string agent_software_version = 4;
|
|
3182
3179
|
optional string name = 5;
|
|
3183
3180
|
optional string attached_devices = 6;
|
|
3184
|
-
optional
|
|
3185
|
-
optional
|
|
3186
|
-
optional
|
|
3187
|
-
optional
|
|
3188
|
-
optional
|
|
3189
|
-
optional
|
|
3190
|
-
optional
|
|
3191
|
-
optional
|
|
3181
|
+
optional int64 battery_status = 7;
|
|
3182
|
+
optional int64 seconds_on_battery = 8;
|
|
3183
|
+
optional int64 estimated_minutes_remaining = 9;
|
|
3184
|
+
optional int64 estimated_charge_remaining = 10;
|
|
3185
|
+
optional int64 battery_voltage = 11;
|
|
3186
|
+
optional int64 battery_current = 12;
|
|
3187
|
+
optional int64 battery_temperature = 13;
|
|
3188
|
+
optional int64 alarms_present = 14;
|
|
3192
3189
|
}
|
|
3193
3190
|
|
|
3194
3191
|
// ---------------------------------------------------------------------------------------------------------------------
|