1
0
Fork 0
forked from navos/sheepd

osquery

This commit is contained in:
JMARyA 2025-05-06 22:48:24 +02:00
parent 1c3a136730
commit 5c53c57d74
Signed by untrusted user: jmarya
GPG key ID: 901B2ADDF27C2263
6 changed files with 86 additions and 4 deletions

View file

@ -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),
}
}