new(userspace/falco): output gRPC service to provide a server streaming method and a bidirectional method to obtain Falco alerts

Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
Leonardo Di Donato
2020-05-27 20:01:12 +00:00
committed by poiana
parent cf31712fad
commit 58adc5b60c

View File

@@ -7,10 +7,12 @@ package falco.output;
option go_package = "github.com/falcosecurity/client-go/pkg/api/output";
// The `subscribe` service defines the RPC call
// to perform an output `request` which will lead to obtain an output `response`.
// This service defines the RPC calls
// to perform an output `request` which will lead to obtain a stream of output `response`s.
service service {
rpc subscribe(request) returns (stream response);
rpc sub(stream request) returns (stream response);
rpc get(request) returns (stream response);
}
// The `request` message is the logical representation of the request model.