@lansweeper/data-platform-outbound-grpc 0.1.68 → 0.1.70
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 +258 -0
- package/gen-proto/outbound_pb.js +2113 -8
- package/generated-go/outbound.pb.go +7489 -6792
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +68 -0
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.70",
|
|
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": "841bdbce22642477a6172112f86502afb4354dfe"
|
|
13
13
|
}
|
package/proto/outbound.proto
CHANGED
|
@@ -139,6 +139,8 @@ message Asset {
|
|
|
139
139
|
|
|
140
140
|
optional MonitorInventory monitor_inventory = 10;
|
|
141
141
|
optional NetworkInterfaces network_interfaces = 11;
|
|
142
|
+
optional NetworkProtocols network_protocols = 76;
|
|
143
|
+
optional PortScan port_scan = 77;
|
|
142
144
|
|
|
143
145
|
// START OF DEPRECATED: in Computer message now
|
|
144
146
|
optional SoftwareInventory software_inventory = 9;
|
|
@@ -285,6 +287,9 @@ message Relation {
|
|
|
285
287
|
*/
|
|
286
288
|
message CloudEntity {
|
|
287
289
|
google.protobuf.Any body = 1;
|
|
290
|
+
string environment_id = 2;
|
|
291
|
+
string cloud_provider = 3;
|
|
292
|
+
optional string region_id = 4;
|
|
288
293
|
}
|
|
289
294
|
|
|
290
295
|
/**
|
|
@@ -301,6 +306,7 @@ message OtModule {
|
|
|
301
306
|
|
|
302
307
|
bool is_main_module = 3;
|
|
303
308
|
bool is_network_node = 7;
|
|
309
|
+
optional string scan_protocol = 8;
|
|
304
310
|
|
|
305
311
|
optional string part_number = 4;
|
|
306
312
|
repeated OtModuleExtInfo ext_info = 5;
|
|
@@ -792,6 +798,68 @@ message NetIpAddress {
|
|
|
792
798
|
string subnet = 2;
|
|
793
799
|
}
|
|
794
800
|
|
|
801
|
+
/**
|
|
802
|
+
* Network protocols, summary and detailed info.
|
|
803
|
+
*/
|
|
804
|
+
message NetworkProtocols {
|
|
805
|
+
repeated string protocol = 1; // summary list of protocols and data points available
|
|
806
|
+
|
|
807
|
+
// later here we can have all fingerprints merged
|
|
808
|
+
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Full port scan.
|
|
813
|
+
*/
|
|
814
|
+
message PortScan {
|
|
815
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
816
|
+
repeated ScannedPort scanned_port = 2;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
message ScannedPort {
|
|
820
|
+
string protocol = 1;
|
|
821
|
+
int32 port_number = 2;
|
|
822
|
+
optional string local_address = 3;
|
|
823
|
+
optional string process_name = 4;
|
|
824
|
+
|
|
825
|
+
optional string banner = 5;
|
|
826
|
+
optional HttpServerInfo http_server = 6;
|
|
827
|
+
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
message HttpServerInfo {
|
|
831
|
+
int32 port = 1;
|
|
832
|
+
optional bool ssl = 2;
|
|
833
|
+
|
|
834
|
+
repeated string server = 3; // http_header.server
|
|
835
|
+
repeated string wwwauth = 4; // http_header.wwwauth
|
|
836
|
+
repeated string cookie = 5; // http_header.cookie
|
|
837
|
+
|
|
838
|
+
optional string title = 6; // html_title
|
|
839
|
+
optional string favicon_md5 = 7; // favicon.md5
|
|
840
|
+
optional bytes favicon = 8; // in case at some point we want to store full
|
|
841
|
+
|
|
842
|
+
repeated HttpCertificate certificates = 9; // Captured certificates
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
message HttpCertificate {
|
|
846
|
+
optional string thumbprint = 1; // thumbprint
|
|
847
|
+
optional string serial_number = 2; // serial_number (as a big-endian hexadecimal string)
|
|
848
|
+
optional string x509_issuer = 3; // x509.issuer
|
|
849
|
+
optional string x509_subject = 4; // x509.subject
|
|
850
|
+
optional google.protobuf.Timestamp effective_date = 5; // not_before
|
|
851
|
+
optional google.protobuf.Timestamp expiration_date = 6; // not_after
|
|
852
|
+
|
|
853
|
+
enum SslPolicyErrors {
|
|
854
|
+
SSL_REMOTE_CERTIFICATE_NOT_AVAILABLE = 0;
|
|
855
|
+
SSL_REMOTE_CERTIFICATE_NAME_MISMATCH = 1;
|
|
856
|
+
SSL_REMOTE_CERTIFICATE_CHAIN_ERRORS = 2;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
repeated SslPolicyErrors errors = 7; // ssl errors
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
|
|
795
863
|
/** Processor **/
|
|
796
864
|
message Processor {
|
|
797
865
|
string name = 1 ;
|