♻️ refactor osquery
This commit is contained in:
parent
5c53c57d74
commit
62924c5edc
2 changed files with 1 additions and 1 deletions
1
PKGBUILD
1
PKGBUILD
|
@ -28,6 +28,7 @@ build() {
|
|||
|
||||
package_sheepd() {
|
||||
pkgdesc="sheep daemon"
|
||||
depends=('osquery')
|
||||
cd "$srcdir/repo"
|
||||
install -Dm755 "sheepd.service" "$pkgir/etc/systemd/systemd/sheepd.service"
|
||||
install -Dm755 "target/release/sheepd" "$pkgdir/usr/bin/sheepd"
|
||||
|
|
|
@ -21,7 +21,6 @@ pub async fn handle_mqtt(topic: String, data: Vec<u8>) {
|
|||
|
||||
match &action.action {
|
||||
crate::api::ClientActions::OSQuery(query) => {
|
||||
// TODO : run osquery
|
||||
log::info!("Doing osquery with {query}");
|
||||
let res = osquery(&query);
|
||||
send_back(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue