Skip to content

Commit

Permalink
Added a gRPC API proxy endpoint for LaunchFlow.
Browse files Browse the repository at this point in the history
  • Loading branch information
scudette committed Jun 20, 2018
1 parent 17d2f8c commit 6953352
Show file tree
Hide file tree
Showing 21 changed files with 1,334 additions and 241 deletions.
262 changes: 232 additions & 30 deletions actions/proto/vql.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions actions/proto/vql.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,34 @@ message VQLResponse {
VQLRequest Query = 3;
}


// FIXME: We replicate a small subset of GRR's elaborate knowledgebase
// protos here because the GUI API plugins use this to construct the
// GRR APIs. When we re-implement the API plugins, refactor this into
// a more sane structure.
message User {
string username = 1;
}

message Knowledgebase {
repeated User users = 32;
}

message ClientInfo {
repeated VQLResponse info = 1;

// GRR Keeps these separated so they can be searched on.
uint64 last_timestamp = 2;
string hostname = 3;
string fqdn = 4;
string system = 5;
string release = 6;
string architecture = 7;
string usernames = 8;
string mac_address = 9;
string ip_address = 10;
uint64 ping = 11;
string client_version = 12;
string client_name = 13;
Knowledgebase knowledgebase = 14;
}
Loading

0 comments on commit 6953352

Please sign in to comment.