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
42 lines
891 B
Protocol Buffer
42 lines
891 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package inetmock.rpc.v1;
|
|
|
|
import "audit/v1/event_entity.proto";
|
|
|
|
message WatchEventsRequest {
|
|
string watcher_name = 1;
|
|
}
|
|
|
|
message WatchEventsResponse {
|
|
inetmock.audit.v1.EventEntity entity = 1;
|
|
}
|
|
|
|
message RegisterFileSinkRequest {
|
|
string target_path = 1;
|
|
}
|
|
|
|
message RegisterFileSinkResponse {
|
|
string resolved_path = 1;
|
|
}
|
|
|
|
message RemoveFileSinkRequest {
|
|
string target_path = 1;
|
|
}
|
|
|
|
message RemoveFileSinkResponse {
|
|
bool sink_got_removed = 1;
|
|
}
|
|
|
|
message ListSinksRequest {}
|
|
|
|
message ListSinksResponse {
|
|
repeated string sinks = 1;
|
|
}
|
|
|
|
service AuditService {
|
|
rpc WatchEvents(WatchEventsRequest) returns (stream WatchEventsResponse);
|
|
rpc RegisterFileSink(RegisterFileSinkRequest) returns (RegisterFileSinkResponse);
|
|
rpc RemoveFileSink(RemoveFileSinkRequest) returns (RemoveFileSinkResponse);
|
|
rpc ListSinks(ListSinksRequest) returns (ListSinksResponse);
|
|
}
|