update(grpc): substitute and deprecate enum source field from protobuf

Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
Jason Dellaluce
2022-01-04 13:27:32 +00:00
committed by poiana
parent 48a23121df
commit 0f984c4dbe
2 changed files with 5 additions and 1 deletions

View File

@@ -45,10 +45,11 @@ message request {
message response {
google.protobuf.Timestamp time = 1;
falco.schema.priority priority = 2;
falco.schema.source source = 3;
falco.schema.source source_deprecated = 3 [deprecated=true];
string rule = 4;
string output = 5;
map<string, string> output_fields = 6;
string hostname = 7;
repeated string tags = 8;
string source = 9;
}

View File

@@ -60,4 +60,7 @@ enum source {
INTERNAL = 2;
internal = 2;
Internal = 2;
PLUGIN = 3;
plugin = 3;
Plugin = 3;
}