b61b4df2c2
a65ee4f Fix buf lint stage bc5fad6 Merge commit '580d2995be07ca1dd4839c3e9214ee881b98bb3e' into 45-add-api-to-restart-handlers 226c480 Add endpoint API to control running endpoint groups 505b06f Add support for DHCP to audit stream d742b08 Introduce profiling API e7e9e82 Introduce DNS-over-HTTPS and HTTP2 support 6a5ac9b Merge branch 'renovate/configure' into 'main' d9d3c9f Add renovate.json 5cad2aa Include PPROF handler to improve observability 3698421 Remove unnecessary proto import 74f521c Move to grpc default health service definition f341615 Return ConsumerKey when recording is started git-subtree-dir: api git-subtree-split: a65ee4f207bd1734095990e12e56069ec3881d0e
56 lines
1.2 KiB
Protocol Buffer
56 lines
1.2 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package inetmock.audit.v1;
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
import "audit/v1/http_details.proto";
|
|
import "audit/v1/dns_details.proto";
|
|
import "audit/v1/dhcp_details.proto";
|
|
|
|
enum TransportProtocol {
|
|
TRANSPORT_PROTOCOL_UNSPECIFIED = 0;
|
|
TRANSPORT_PROTOCOL_TCP = 1;
|
|
TRANSPORT_PROTOCOL_UDP = 2;
|
|
}
|
|
|
|
enum AppProtocol {
|
|
APP_PROTOCOL_UNSPECIFIED = 0;
|
|
APP_PROTOCOL_DNS = 1;
|
|
APP_PROTOCOL_HTTP = 2;
|
|
APP_PROTOCOL_HTTP_PROXY = 3;
|
|
APP_PROTOCOL_PPROF = 4;
|
|
APP_PROTOCOL_DNS_OVER_HTTPS = 5;
|
|
APP_PROTOCOL_DHCP = 6;
|
|
}
|
|
|
|
enum TLSVersion {
|
|
TLS_VERSION_UNSPECIFIED = 0;
|
|
TLS_VERSION_TLS10 = 1;
|
|
TLS_VERSION_TLS11 = 2;
|
|
TLS_VERSION_TLS12 = 3;
|
|
TLS_VERSION_TLS13 = 4;
|
|
}
|
|
|
|
message TLSDetailsEntity {
|
|
TLSVersion version = 1;
|
|
string cipher_suite = 2;
|
|
string server_name = 3;
|
|
}
|
|
|
|
message EventEntity {
|
|
int64 id = 1;
|
|
google.protobuf.Timestamp timestamp = 2;
|
|
TransportProtocol transport = 3;
|
|
AppProtocol application = 4;
|
|
bytes source_ip = 5;
|
|
bytes destination_ip = 6;
|
|
uint32 source_port = 7;
|
|
uint32 destination_port = 8;
|
|
TLSDetailsEntity tls = 9;
|
|
|
|
oneof protocol_details {
|
|
HTTPDetailsEntity http = 20;
|
|
DNSDetailsEntity dns = 21;
|
|
DHCPDetailsEntity dhcp = 22;
|
|
}
|
|
}
|