forked from navos/sheepd
✨ osquery
This commit is contained in:
parent
1c3a136730
commit
5c53c57d74
6 changed files with 86 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
use sheepctl_core::{
|
||||
args::{DeviceCommands, SheepctlArgs, SheepctlCommand},
|
||||
cmd::{interactive_shell, list_devices, login},
|
||||
cmd::{interactive_shell, list_devices, login, run_osquery},
|
||||
};
|
||||
|
||||
mod api;
|
||||
|
@ -15,5 +15,6 @@ fn main() {
|
|||
},
|
||||
SheepctlCommand::Login(login_command) => login(login_command),
|
||||
SheepctlCommand::Shell(shell_command) => interactive_shell(shell_command),
|
||||
SheepctlCommand::Query(query_command) => run_osquery(query_command),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue