1
0
Fork 0

Add metadata in command, add whitelist, add daemon config

This commit is contained in:
Florian RICHER 2023-02-04 14:33:57 +01:00
parent 482dd830dc
commit 46d401493b
9 changed files with 123 additions and 16 deletions

View file

@ -10,18 +10,16 @@ service Unix {
}
message AuthorizeRequest {
// identifier of the project
string identifier = 1;
// ssh_keys from ssh agent
string token = 2;
// command like /bin/bash
string command = 3;
// json like argument
string command_arg = 1;
// pid
uint32 pid = 4;
uint32 pid = 2;
}
message AuthorizeResponse {
string session_id = 2;
string session_id = 1;
// json like arguments changed by daemon
string command_arg = 2;
}
message TerminateRequest {