@lansweeper/discovery-sensor-proto 2.29.1 → 2.31.0
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/gen-proto/discovery_sections_mac_pb.d.ts +30 -0
- package/gen-proto/discovery_sections_mac_pb.js +256 -1
- package/gen-proto/discovery_sections_other_grpc_pb.js +1 -0
- package/gen-proto/discovery_sections_other_pb.d.ts +31 -0
- package/gen-proto/discovery_sections_other_pb.js +199 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/index.d.ts +1 -0
- package/gen-proto/index.js +3 -1
- package/package.json +2 -2
- package/proto/discovery_sections_api.proto +938 -938
- package/proto/discovery_sections_mac.proto +6 -1
- package/proto/discovery_sections_other.proto +14 -0
- package/proto/import/discovery_common.proto +95 -0
|
@@ -267,9 +267,14 @@ message SystemHardware {
|
|
|
267
267
|
google.protobuf.StringValue bus_speed = 8;
|
|
268
268
|
google.protobuf.StringValue boot_rom_version = 9;
|
|
269
269
|
google.protobuf.StringValue serial_number = 10;
|
|
270
|
-
google.protobuf.StringValue packages
|
|
270
|
+
google.protobuf.StringValue packages = 11;
|
|
271
271
|
google.protobuf.StringValue platform_uuid = 12; // Hardware UUID: Can be used to uniquely identify the device
|
|
272
272
|
google.protobuf.StringValue smc_version_system = 13;
|
|
273
|
+
google.protobuf.StringValue provisioning_udid = 14;
|
|
274
|
+
google.protobuf.StringValue activation_lock_status = 15;
|
|
275
|
+
google.protobuf.StringValue platform_cpu_htt = 16; // Hyper-Threading Technology
|
|
276
|
+
google.protobuf.StringValue os_loader_version = 17;
|
|
277
|
+
google.protobuf.StringValue model_number = 18;
|
|
273
278
|
}
|
|
274
279
|
|
|
275
280
|
/* Section element for displays on Mac */
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package com.lansweeper.discovery.sensor.other.v1;
|
|
4
|
+
|
|
5
|
+
option java_multiple_files = true;
|
|
6
|
+
|
|
7
|
+
option csharp_namespace = "Lansweeper.Discovery.Model.Proto.Sensor.Other";
|
|
8
|
+
|
|
9
|
+
import "import/discovery_common.proto";
|
|
10
|
+
|
|
11
|
+
/* Section element for SNMP info*/
|
|
12
|
+
message SnmpInfo {
|
|
13
|
+
com.lansweeper.discovery.sensor.common.v1.SnmpInfo data = 1;
|
|
14
|
+
}
|
|
@@ -47,4 +47,99 @@ message HttpCertificate {
|
|
|
47
47
|
google.protobuf.Timestamp effective_date = 5; // not_before
|
|
48
48
|
google.protobuf.Timestamp expiration_date = 6; // not_after
|
|
49
49
|
uint32 ssl_errors = 7; // Flags enum value of ssl policy errors
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
message SnmpInfo {
|
|
53
|
+
google.protobuf.StringValue sysoid = 1;
|
|
54
|
+
google.protobuf.StringValue name = 2;
|
|
55
|
+
google.protobuf.StringValue description = 3;
|
|
56
|
+
google.protobuf.StringValue contact = 4;
|
|
57
|
+
google.protobuf.StringValue location = 5;
|
|
58
|
+
|
|
59
|
+
google.protobuf.BoolValue is_windows = 6;
|
|
60
|
+
google.protobuf.StringValue domain = 7;
|
|
61
|
+
google.protobuf.Int32Value vendor_code = 8;
|
|
62
|
+
google.protobuf.StringValue manufacturer = 9;
|
|
63
|
+
google.protobuf.StringValue model = 10;
|
|
64
|
+
google.protobuf.StringValue serial_number = 11;
|
|
65
|
+
|
|
66
|
+
google.protobuf.Int64Value uptime = 12;
|
|
67
|
+
google.protobuf.BoolValue ip_forwarding = 13;
|
|
68
|
+
google.protobuf.StringValue dns_name = 14;
|
|
69
|
+
google.protobuf.StringValue cisco_name = 15;
|
|
70
|
+
google.protobuf.StringValue connected_to_drac = 16;
|
|
71
|
+
google.protobuf.StringValue mac_address = 17;
|
|
72
|
+
|
|
73
|
+
google.protobuf.BoolValue is_printer = 18;
|
|
74
|
+
google.protobuf.BoolValue is_ups = 19;
|
|
75
|
+
SnmpPrinterInfo printer_info = 20;
|
|
76
|
+
SnmpUpsInfo ups_info = 21;
|
|
77
|
+
|
|
78
|
+
repeated string mac_addresses = 22;
|
|
79
|
+
repeated SnmpInterfaceInfo interface_infos = 23;
|
|
80
|
+
repeated SnmpArpEntry arp_table = 24;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
message SnmpInterfaceInfo {
|
|
84
|
+
google.protobuf.StringValue index= 1;
|
|
85
|
+
google.protobuf.StringValue description= 2;
|
|
86
|
+
google.protobuf.StringValue name= 3;
|
|
87
|
+
google.protobuf.StringValue alias= 4;
|
|
88
|
+
google.protobuf.StringValue type= 5;
|
|
89
|
+
google.protobuf.StringValue mtu= 6;
|
|
90
|
+
google.protobuf.StringValue speed= 7;
|
|
91
|
+
google.protobuf.StringValue high_speed= 8;
|
|
92
|
+
google.protobuf.StringValue phys_address= 9;
|
|
93
|
+
google.protobuf.StringValue admin_status= 10;
|
|
94
|
+
google.protobuf.StringValue oper_status= 11;
|
|
95
|
+
google.protobuf.StringValue default_gateway= 12;
|
|
96
|
+
google.protobuf.StringValue ip_address= 13;
|
|
97
|
+
google.protobuf.StringValue mask= 14;
|
|
98
|
+
repeated string connected_devices= 15;
|
|
99
|
+
repeated string vlans= 16;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
message SnmpPrinterInfo {
|
|
103
|
+
google.protobuf.StringValue printer_name = 1;
|
|
104
|
+
google.protobuf.StringValue printed_pages = 2;
|
|
105
|
+
google.protobuf.StringValue printed_color_pages = 3;
|
|
106
|
+
google.protobuf.StringValue printed_mono_pages = 4;
|
|
107
|
+
google.protobuf.StringValue printer_status = 5;
|
|
108
|
+
google.protobuf.StringValue serial_number = 6;
|
|
109
|
+
repeated SnmpPrinterTonerInfo toners = 7;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
message SnmpPrinterTonerInfo {
|
|
113
|
+
google.protobuf.StringValue name = 1;
|
|
114
|
+
google.protobuf.StringValue color = 2;
|
|
115
|
+
google.protobuf.Int32Value color_number = 3;
|
|
116
|
+
google.protobuf.Int32Value maximum_toner_level = 4;
|
|
117
|
+
google.protobuf.Int32Value number = 5;
|
|
118
|
+
google.protobuf.Int32Value remaining_toner_level = 6;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
message SnmpUpsInfo {
|
|
122
|
+
google.protobuf.StringValue manufacturer = 1;
|
|
123
|
+
google.protobuf.StringValue model = 2;
|
|
124
|
+
google.protobuf.StringValue ups_software_version = 3;
|
|
125
|
+
google.protobuf.StringValue agent_software_version = 4;
|
|
126
|
+
google.protobuf.StringValue name = 5;
|
|
127
|
+
google.protobuf.StringValue attached_devices = 6;
|
|
128
|
+
google.protobuf.StringValue battery_status = 7;
|
|
129
|
+
google.protobuf.StringValue seconds_on_battery = 8;
|
|
130
|
+
google.protobuf.StringValue estimated_minutes_remaining = 9;
|
|
131
|
+
google.protobuf.StringValue estimated_charge_remaining = 10;
|
|
132
|
+
google.protobuf.StringValue battery_voltage = 11;
|
|
133
|
+
google.protobuf.StringValue battery_current = 12;
|
|
134
|
+
google.protobuf.StringValue battery_temperature = 13;
|
|
135
|
+
google.protobuf.StringValue alarms_present = 14;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/* Check https://oidref.com/1.3.6.1.2.1.4.22.1 for more info */
|
|
139
|
+
message SnmpArpEntry {
|
|
140
|
+
google.protobuf.StringValue id = 1;
|
|
141
|
+
google.protobuf.UInt32Value if_id = 2;
|
|
142
|
+
google.protobuf.StringValue mac_address = 3;
|
|
143
|
+
google.protobuf.StringValue ip_address = 4;
|
|
144
|
+
google.protobuf.UInt32Value mapping_type = 5; // other(1), invalid(2), dynamic(3), static(4)
|
|
50
145
|
}
|