@lansweeper/discovery-sensor-proto 2.57.0 → 2.59.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lansweeper/discovery-sensor-proto",
3
3
  "description": "Discovery Sensor proto",
4
- "version": "2.57.0",
4
+ "version": "2.59.0",
5
5
  "main": "gen-proto/index.js",
6
6
  "types": "gen-proto/index.d.ts",
7
7
  "license": "MIT",
@@ -16,5 +16,5 @@
16
16
  "devDependencies": {
17
17
  "@types/google-protobuf": "^3.15.5"
18
18
  },
19
- "gitHead": "d45de5003da0e9a3cc06d119c0cfc4fa65e76a45"
19
+ "gitHead": "263e92e0ff370ee2f1f461d1c21a65a68352a472"
20
20
  }
@@ -307,20 +307,6 @@ message ChromeOsVolume {
307
307
  google.protobuf.Int64Value storage_total = 3;
308
308
  }
309
309
 
310
- /* Warranty API scanning root object */
311
- message Warranties {
312
- repeated Warranty entries = 1;
313
- }
314
-
315
- message Warranty {
316
- optional google.protobuf.Timestamp warranty_start_date = 1;
317
- optional google.protobuf.Timestamp warranty_end_date = 2;
318
- google.protobuf.StringValue service_type = 3;
319
- google.protobuf.StringValue purchase_country = 4;
320
- optional google.protobuf.Timestamp ship_date = 5;
321
- bool is_silly = 6;
322
- }
323
-
324
310
  /* Intune API scanning root object */
325
311
  message IntuneScanResult {
326
312
  repeated IntuneContainer containers = 1;
@@ -6,9 +6,123 @@ option java_multiple_files = true;
6
6
 
7
7
  option csharp_namespace = "Lansweeper.Discovery.Model.Proto.Sensor.Other";
8
8
 
9
- import "import/discovery_common.proto";
9
+ import "google/protobuf/timestamp.proto";
10
+ import "google/protobuf/wrappers.proto";
10
11
 
11
12
  /* Section element for SNMP info*/
12
13
  message Snmp {
13
- com.lansweeper.discovery.sensor.common.v1.SnmpInfo data = 1;
14
- }
14
+ google.protobuf.StringValue object_id = 1;
15
+ google.protobuf.StringValue name = 2;
16
+ google.protobuf.StringValue description = 3;
17
+ google.protobuf.StringValue contact = 4;
18
+ google.protobuf.StringValue location = 5;
19
+
20
+ google.protobuf.BoolValue is_windows = 6;
21
+ google.protobuf.StringValue domain = 7;
22
+ google.protobuf.Int32Value vendor_code = 8;
23
+ google.protobuf.StringValue manufacturer = 9;
24
+ google.protobuf.StringValue model = 10;
25
+ google.protobuf.StringValue serial_number = 11;
26
+
27
+ google.protobuf.Int64Value uptime = 12;
28
+ google.protobuf.BoolValue ip_forwarding = 13;
29
+ google.protobuf.StringValue dns_name = 14;
30
+ google.protobuf.StringValue cisco_name = 15;
31
+ google.protobuf.StringValue connected_to_drac = 16;
32
+ google.protobuf.StringValue mac_address = 17;
33
+
34
+ google.protobuf.BoolValue is_printer = 18;
35
+ google.protobuf.BoolValue is_ups = 19;
36
+ SnmpPrinterInfo printer_info = 20;
37
+ SnmpUpsInfo ups_info = 21;
38
+
39
+ repeated string mac_addresses = 22;
40
+ repeated SnmpInterfaceInfo interface_infos = 23;
41
+ repeated SnmpArpEntry arp_table = 24;
42
+
43
+ repeated SnmpCustomOid custom_oids = 25;
44
+ }
45
+
46
+ message SnmpCustomOid {
47
+ string object_id = 1;
48
+ google.protobuf.StringValue label = 2; // Label set by the customer
49
+ google.protobuf.StringValue value = 3;
50
+ }
51
+
52
+ message SnmpInterfaceInfo {
53
+ google.protobuf.StringValue index = 1;
54
+ google.protobuf.StringValue description = 2;
55
+ google.protobuf.StringValue name = 3;
56
+ google.protobuf.StringValue alias = 4;
57
+ google.protobuf.StringValue type = 5; // As defined in https://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib
58
+ google.protobuf.StringValue mtu = 6;
59
+ google.protobuf.StringValue speed = 7;
60
+ google.protobuf.StringValue high_speed = 8;
61
+ google.protobuf.StringValue phys_address = 9;
62
+ google.protobuf.StringValue admin_status = 10;
63
+ google.protobuf.StringValue oper_status = 11;
64
+ google.protobuf.StringValue default_gateway = 12;
65
+ google.protobuf.StringValue ip_address = 13;
66
+ google.protobuf.StringValue mask = 14;
67
+ repeated string connected_devices = 15;
68
+ repeated string vlans = 16;
69
+ }
70
+
71
+ message SnmpPrinterInfo {
72
+ google.protobuf.StringValue printer_name = 1;
73
+ google.protobuf.StringValue printed_pages = 2;
74
+ google.protobuf.StringValue printed_color_pages = 3;
75
+ google.protobuf.StringValue printed_mono_pages = 4;
76
+ google.protobuf.StringValue printer_status = 5;
77
+ google.protobuf.StringValue serial_number = 6;
78
+ repeated SnmpPrinterTonerInfo toners = 7;
79
+ }
80
+
81
+ message SnmpPrinterTonerInfo {
82
+ google.protobuf.StringValue name = 1;
83
+ google.protobuf.StringValue color = 2;
84
+ google.protobuf.Int32Value color_number = 3;
85
+ google.protobuf.Int32Value maximum_toner_level = 4;
86
+ google.protobuf.Int32Value number = 5;
87
+ google.protobuf.Int32Value remaining_toner_level = 6;
88
+ }
89
+
90
+ message SnmpUpsInfo {
91
+ google.protobuf.StringValue manufacturer = 1;
92
+ google.protobuf.StringValue model = 2;
93
+ google.protobuf.StringValue ups_software_version = 3;
94
+ google.protobuf.StringValue agent_software_version = 4;
95
+ google.protobuf.StringValue name = 5;
96
+ google.protobuf.StringValue attached_devices = 6;
97
+ google.protobuf.StringValue battery_status = 7;
98
+ google.protobuf.StringValue seconds_on_battery = 8;
99
+ google.protobuf.StringValue estimated_minutes_remaining = 9;
100
+ google.protobuf.StringValue estimated_charge_remaining = 10;
101
+ google.protobuf.StringValue battery_voltage = 11;
102
+ google.protobuf.StringValue battery_current = 12;
103
+ google.protobuf.StringValue battery_temperature = 13;
104
+ google.protobuf.StringValue alarms_present = 14;
105
+ }
106
+
107
+ /* Check https://oidref.com/1.3.6.1.2.1.4.22.1 for more info */
108
+ message SnmpArpEntry {
109
+ google.protobuf.StringValue id = 1;
110
+ google.protobuf.UInt32Value if_id = 2;
111
+ google.protobuf.StringValue mac_address = 3;
112
+ google.protobuf.StringValue ip_address = 4;
113
+ google.protobuf.UInt32Value mapping_type = 5; // other(1), invalid(2), dynamic(3), static(4)
114
+ }
115
+
116
+ /* Warranty API scanning root object */
117
+ message Warranties {
118
+ repeated Warranty entries = 1;
119
+ }
120
+
121
+ message Warranty {
122
+ optional google.protobuf.Timestamp warranty_start_date = 1;
123
+ optional google.protobuf.Timestamp warranty_end_date = 2;
124
+ google.protobuf.StringValue service_type = 3;
125
+ google.protobuf.StringValue purchase_country = 4;
126
+ optional google.protobuf.Timestamp ship_date = 5;
127
+ bool is_silly = 6;
128
+ }
@@ -47,107 +47,4 @@ 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 object_id = 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
- repeated SnmpCustomOid custom_oids = 25;
83
- }
84
-
85
- message SnmpCustomOid {
86
- string object_id = 1;
87
- google.protobuf.StringValue label = 2; // Label set by the customer
88
- google.protobuf.StringValue value = 3;
89
- }
90
-
91
- message SnmpInterfaceInfo {
92
- google.protobuf.StringValue index = 1;
93
- google.protobuf.StringValue description = 2;
94
- google.protobuf.StringValue name = 3;
95
- google.protobuf.StringValue alias = 4;
96
- google.protobuf.StringValue type = 5; // As defined in https://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib
97
- google.protobuf.StringValue mtu = 6;
98
- google.protobuf.StringValue speed = 7;
99
- google.protobuf.StringValue high_speed = 8;
100
- google.protobuf.StringValue phys_address = 9;
101
- google.protobuf.StringValue admin_status = 10;
102
- google.protobuf.StringValue oper_status = 11;
103
- google.protobuf.StringValue default_gateway = 12;
104
- google.protobuf.StringValue ip_address = 13;
105
- google.protobuf.StringValue mask = 14;
106
- repeated string connected_devices = 15;
107
- repeated string vlans = 16;
108
- }
109
-
110
- message SnmpPrinterInfo {
111
- google.protobuf.StringValue printer_name = 1;
112
- google.protobuf.StringValue printed_pages = 2;
113
- google.protobuf.StringValue printed_color_pages = 3;
114
- google.protobuf.StringValue printed_mono_pages = 4;
115
- google.protobuf.StringValue printer_status = 5;
116
- google.protobuf.StringValue serial_number = 6;
117
- repeated SnmpPrinterTonerInfo toners = 7;
118
- }
119
-
120
- message SnmpPrinterTonerInfo {
121
- google.protobuf.StringValue name = 1;
122
- google.protobuf.StringValue color = 2;
123
- google.protobuf.Int32Value color_number = 3;
124
- google.protobuf.Int32Value maximum_toner_level = 4;
125
- google.protobuf.Int32Value number = 5;
126
- google.protobuf.Int32Value remaining_toner_level = 6;
127
- }
128
-
129
- message SnmpUpsInfo {
130
- google.protobuf.StringValue manufacturer = 1;
131
- google.protobuf.StringValue model = 2;
132
- google.protobuf.StringValue ups_software_version = 3;
133
- google.protobuf.StringValue agent_software_version = 4;
134
- google.protobuf.StringValue name = 5;
135
- google.protobuf.StringValue attached_devices = 6;
136
- google.protobuf.StringValue battery_status = 7;
137
- google.protobuf.StringValue seconds_on_battery = 8;
138
- google.protobuf.StringValue estimated_minutes_remaining = 9;
139
- google.protobuf.StringValue estimated_charge_remaining = 10;
140
- google.protobuf.StringValue battery_voltage = 11;
141
- google.protobuf.StringValue battery_current = 12;
142
- google.protobuf.StringValue battery_temperature = 13;
143
- google.protobuf.StringValue alarms_present = 14;
144
- }
145
-
146
- /* Check https://oidref.com/1.3.6.1.2.1.4.22.1 for more info */
147
- message SnmpArpEntry {
148
- google.protobuf.StringValue id = 1;
149
- google.protobuf.UInt32Value if_id = 2;
150
- google.protobuf.StringValue mac_address = 3;
151
- google.protobuf.StringValue ip_address = 4;
152
- google.protobuf.UInt32Value mapping_type = 5; // other(1), invalid(2), dynamic(3), static(4)
153
50
  }