@lansweeper/discovery-sensor-proto 2.25.1 → 2.27.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.25.1",
4
+ "version": "2.27.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": "da693697ead825733430fe6d9a57acfb89271398"
19
+ "gitHead": "228639b983c71cef97b12bf650e598a4ce8f6e7f"
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,47 @@ 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
+ }
383
+
384
+ message HttpServerInfo {
385
+ google.protobuf.BoolValue http = 1;
386
+ google.protobuf.BoolValue ssl = 2;
387
+
388
+ repeated string server = 3; // http_header.server
389
+ repeated string wwwauth = 4; // http_header.wwwauth
390
+ repeated string cookie = 5; // http_header.cookie
391
+
392
+ google.protobuf.StringValue title = 6; // html_title
393
+ google.protobuf.BytesValue favicon = 7; // favicon.ico bytes
394
+
395
+ repeated HttpCertificate certificates = 8; // Captured certificates
396
+ }
397
+
398
+ enum SslPolicyErrors {
399
+ none = 0;
400
+ remote_certificate_not_available = 1;
401
+ remote_certificate_name_mismatch = 2;
402
+ remote_certificate_chain_errors = 4;
403
+ }
404
+
405
+ message HttpCertificate {
406
+ google.protobuf.StringValue thumbprint = 1; // thumbprint
407
+ google.protobuf.StringValue serial_number = 2; // serial_number (as a big-endian hexadecimal string)
408
+ google.protobuf.StringValue x509_issuer = 3; // x509.issuer
409
+ google.protobuf.StringValue x509_subject = 4; // x509.subject
410
+ google.protobuf.Timestamp effective_date = 5; // not_before
411
+ google.protobuf.Timestamp expiration_date = 6; // not_after
412
+ uint32 ssl_errors = 7; // Flags enum value of ssl policy errors
413
+ }
@@ -456,3 +456,47 @@ 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
+ }
472
+
473
+ message HttpServerInfo {
474
+ google.protobuf.BoolValue http = 1;
475
+ google.protobuf.BoolValue ssl = 2;
476
+
477
+ repeated string server = 3; // http_header.server
478
+ repeated string wwwauth = 4; // http_header.wwwauth
479
+ repeated string cookie = 5; // http_header.cookie
480
+
481
+ google.protobuf.StringValue title = 6; // html_title
482
+ google.protobuf.BytesValue favicon = 7; // favicon.ico bytes
483
+
484
+ repeated HttpCertificate certificates = 8; // Captured certificates
485
+ }
486
+
487
+ enum SslPolicyErrors {
488
+ none = 0;
489
+ remote_certificate_not_available = 1;
490
+ remote_certificate_name_mismatch = 2;
491
+ remote_certificate_chain_errors = 4;
492
+ }
493
+
494
+ message HttpCertificate {
495
+ google.protobuf.StringValue thumbprint = 1; // thumbprint
496
+ google.protobuf.StringValue serial_number = 2; // serial_number (as a big-endian hexadecimal string)
497
+ google.protobuf.StringValue x509_issuer = 3; // x509.issuer
498
+ google.protobuf.StringValue x509_subject = 4; // x509.subject
499
+ google.protobuf.Timestamp effective_date = 5; // not_before
500
+ google.protobuf.Timestamp expiration_date = 6; // not_after
501
+ uint32 ssl_errors = 7; // Flags enum value of ssl policy errors
502
+ }
@@ -1648,4 +1648,38 @@ message OpenPorts {
1648
1648
  message OpenPort {
1649
1649
  int32 local_port = 1;
1650
1650
  google.protobuf.StringValue local_address = 2;
1651
+ google.protobuf.StringValue process_name = 3;
1652
+ google.protobuf.StringValue banner = 4; // Banner (Any non-HTTP response we get back)
1653
+ optional HttpServerInfo http_server = 5;
1654
+ }
1655
+
1656
+ message HttpServerInfo {
1657
+ google.protobuf.BoolValue http = 1;
1658
+ google.protobuf.BoolValue ssl = 2;
1659
+
1660
+ repeated string server = 3; // http_header.server
1661
+ repeated string wwwauth = 4; // http_header.wwwauth
1662
+ repeated string cookie = 5; // http_header.cookie
1663
+
1664
+ google.protobuf.StringValue title = 6; // html_title
1665
+ google.protobuf.BytesValue favicon = 7; // favicon.ico bytes
1666
+
1667
+ repeated HttpCertificate certificates = 8; // Captured certificates
1668
+ }
1669
+
1670
+ enum SslPolicyErrors {
1671
+ none = 0;
1672
+ remote_certificate_not_available = 1;
1673
+ remote_certificate_name_mismatch = 2;
1674
+ remote_certificate_chain_errors = 4;
1675
+ }
1676
+
1677
+ message HttpCertificate {
1678
+ google.protobuf.StringValue thumbprint = 1; // thumbprint
1679
+ google.protobuf.StringValue serial_number = 2; // serial_number (as a big-endian hexadecimal string)
1680
+ google.protobuf.StringValue x509_issuer = 3; // x509.issuer
1681
+ google.protobuf.StringValue x509_subject = 4; // x509.subject
1682
+ google.protobuf.Timestamp effective_date = 5; // not_before
1683
+ google.protobuf.Timestamp expiration_date = 6; // not_after
1684
+ uint32 ssl_errors = 7; // Flags enum value of ssl policy errors
1651
1685
  }