From 73f9e12d32dbceab41eb69d1da72d5161cd72db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Hanuszczak?= <1961136+panhania@users.noreply.github.com> Date: Tue, 19 Nov 2024 11:06:44 +0100 Subject: [PATCH] Fix missing imports for command execution protos. --- crates/rrg-proto/build.rs | 1 + proto/rrg/action/execute_signed_command.proto | 3 +++ 2 files changed, 4 insertions(+) diff --git a/crates/rrg-proto/build.rs b/crates/rrg-proto/build.rs index c6e7d7da..3ecf7d2c 100644 --- a/crates/rrg-proto/build.rs +++ b/crates/rrg-proto/build.rs @@ -13,6 +13,7 @@ const PROTOS: &'static [&'static str] = &[ "../../proto/rrg/os.proto", "../../proto/rrg/startup.proto", "../../proto/rrg/winreg.proto", + "../../proto/rrg/action/execute_signed_command.proto", "../../proto/rrg/action/get_file_contents.proto", "../../proto/rrg/action/get_file_hash.proto", "../../proto/rrg/action/get_file_metadata.proto", diff --git a/proto/rrg/action/execute_signed_command.proto b/proto/rrg/action/execute_signed_command.proto index 2e8577f3..30b8bb80 100644 --- a/proto/rrg/action/execute_signed_command.proto +++ b/proto/rrg/action/execute_signed_command.proto @@ -7,6 +7,9 @@ syntax = "proto3"; package rrg.action.execute_signed_command; +import "google/protobuf/duration.proto"; +import "rrg/fs.proto"; + message SignedCommand { // Path to the executable file to execute. rrg.fs.Path path = 1;