@lansweeper/discovery-sensor-proto 2.26.0 → 2.27.1
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 +197 -0
- package/gen-proto/discovery_sections_mac_pb.js +1593 -0
- package/gen-proto/discovery_sections_unix_pb.d.ts +196 -0
- package/gen-proto/discovery_sections_unix_pb.js +1620 -29
- package/gen-proto/discovery_sections_windows_pb.d.ts +6 -0
- package/gen-proto/discovery_sections_windows_pb.js +52 -1
- package/gen-proto/image.json +1 -1
- package/package.json +2 -2
- package/proto/discovery_sections_mac.proto +46 -0
- package/proto/discovery_sections_unix.proto +45 -0
- package/proto/discovery_sections_windows.proto +1 -0
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.
|
|
4
|
+
"version": "2.27.1",
|
|
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": "
|
|
19
|
+
"gitHead": "87bb1531868fde35fc5b4d62571694e5c79202ab"
|
|
20
20
|
}
|
|
@@ -7,6 +7,7 @@ option java_multiple_files = true;
|
|
|
7
7
|
option csharp_namespace = "Lansweeper.Discovery.Model.Proto.Sensor.Mac";
|
|
8
8
|
|
|
9
9
|
import "google/protobuf/wrappers.proto";
|
|
10
|
+
import "google/protobuf/timestamp.proto";
|
|
10
11
|
|
|
11
12
|
/* Section element for basic info on Mac */
|
|
12
13
|
message MacBasicInfo {
|
|
@@ -366,3 +367,48 @@ message DeviceMedia {
|
|
|
366
367
|
google.protobuf.StringValue media_type = 5;
|
|
367
368
|
google.protobuf.StringValue media_writespeeds = 6;
|
|
368
369
|
}
|
|
370
|
+
|
|
371
|
+
/* Section element for open ports on Mac */
|
|
372
|
+
message MacOpenPorts {
|
|
373
|
+
repeated OpenPort entries = 1;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
message OpenPort {
|
|
377
|
+
int32 local_port = 1;
|
|
378
|
+
google.protobuf.StringValue local_address = 2;
|
|
379
|
+
google.protobuf.StringValue process_name = 3;
|
|
380
|
+
google.protobuf.StringValue banner = 4; // Banner (Any non-HTTP response we get back)
|
|
381
|
+
optional HttpServerInfo http_server = 5;
|
|
382
|
+
google.protobuf.StringValue protocol = 6; // Protocol (tcp or tcp6)
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
message HttpServerInfo {
|
|
386
|
+
google.protobuf.BoolValue http = 1;
|
|
387
|
+
google.protobuf.BoolValue ssl = 2;
|
|
388
|
+
|
|
389
|
+
repeated string server = 3; // http_header.server
|
|
390
|
+
repeated string wwwauth = 4; // http_header.wwwauth
|
|
391
|
+
repeated string cookie = 5; // http_header.cookie
|
|
392
|
+
|
|
393
|
+
google.protobuf.StringValue title = 6; // html_title
|
|
394
|
+
google.protobuf.BytesValue favicon = 7; // favicon.ico bytes
|
|
395
|
+
|
|
396
|
+
repeated HttpCertificate certificates = 8; // Captured certificates
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
enum SslPolicyErrors {
|
|
400
|
+
none = 0;
|
|
401
|
+
remote_certificate_not_available = 1;
|
|
402
|
+
remote_certificate_name_mismatch = 2;
|
|
403
|
+
remote_certificate_chain_errors = 4;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
message HttpCertificate {
|
|
407
|
+
google.protobuf.StringValue thumbprint = 1; // thumbprint
|
|
408
|
+
google.protobuf.StringValue serial_number = 2; // serial_number (as a big-endian hexadecimal string)
|
|
409
|
+
google.protobuf.StringValue x509_issuer = 3; // x509.issuer
|
|
410
|
+
google.protobuf.StringValue x509_subject = 4; // x509.subject
|
|
411
|
+
google.protobuf.Timestamp effective_date = 5; // not_before
|
|
412
|
+
google.protobuf.Timestamp expiration_date = 6; // not_after
|
|
413
|
+
uint32 ssl_errors = 7; // Flags enum value of ssl policy errors
|
|
414
|
+
}
|
|
@@ -456,3 +456,48 @@ message PhysicalVolumeEntry
|
|
|
456
456
|
google.protobuf.Int64Value used = 6;
|
|
457
457
|
google.protobuf.StringValue in_use = 7;
|
|
458
458
|
}
|
|
459
|
+
|
|
460
|
+
/* Section element for open ports on Unix */
|
|
461
|
+
message OpenPorts {
|
|
462
|
+
repeated OpenPort entries = 1;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
message OpenPort {
|
|
466
|
+
int32 local_port = 1;
|
|
467
|
+
google.protobuf.StringValue local_address = 2;
|
|
468
|
+
google.protobuf.StringValue process_name = 3;
|
|
469
|
+
google.protobuf.StringValue banner = 4; // Banner (Any non-HTTP response we get back)
|
|
470
|
+
optional HttpServerInfo http_server = 5;
|
|
471
|
+
google.protobuf.StringValue protocol = 6; // Protocol (tcp or tcp6)
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
message HttpServerInfo {
|
|
475
|
+
google.protobuf.BoolValue http = 1;
|
|
476
|
+
google.protobuf.BoolValue ssl = 2;
|
|
477
|
+
|
|
478
|
+
repeated string server = 3; // http_header.server
|
|
479
|
+
repeated string wwwauth = 4; // http_header.wwwauth
|
|
480
|
+
repeated string cookie = 5; // http_header.cookie
|
|
481
|
+
|
|
482
|
+
google.protobuf.StringValue title = 6; // html_title
|
|
483
|
+
google.protobuf.BytesValue favicon = 7; // favicon.ico bytes
|
|
484
|
+
|
|
485
|
+
repeated HttpCertificate certificates = 8; // Captured certificates
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
enum SslPolicyErrors {
|
|
489
|
+
none = 0;
|
|
490
|
+
remote_certificate_not_available = 1;
|
|
491
|
+
remote_certificate_name_mismatch = 2;
|
|
492
|
+
remote_certificate_chain_errors = 4;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
message HttpCertificate {
|
|
496
|
+
google.protobuf.StringValue thumbprint = 1; // thumbprint
|
|
497
|
+
google.protobuf.StringValue serial_number = 2; // serial_number (as a big-endian hexadecimal string)
|
|
498
|
+
google.protobuf.StringValue x509_issuer = 3; // x509.issuer
|
|
499
|
+
google.protobuf.StringValue x509_subject = 4; // x509.subject
|
|
500
|
+
google.protobuf.Timestamp effective_date = 5; // not_before
|
|
501
|
+
google.protobuf.Timestamp expiration_date = 6; // not_after
|
|
502
|
+
uint32 ssl_errors = 7; // Flags enum value of ssl policy errors
|
|
503
|
+
}
|
|
@@ -1651,6 +1651,7 @@ message OpenPort {
|
|
|
1651
1651
|
google.protobuf.StringValue process_name = 3;
|
|
1652
1652
|
google.protobuf.StringValue banner = 4; // Banner (Any non-HTTP response we get back)
|
|
1653
1653
|
optional HttpServerInfo http_server = 5;
|
|
1654
|
+
google.protobuf.StringValue protocol = 6; // Protocol (tcp or tcp6)
|
|
1654
1655
|
}
|
|
1655
1656
|
|
|
1656
1657
|
message HttpServerInfo {
|