diff --git a/tappd/rpc/proto/tappd_rpc.proto b/tappd/rpc/proto/tappd_rpc.proto index 2c62ecb..1bfc4af 100644 --- a/tappd/rpc/proto/tappd_rpc.proto +++ b/tappd/rpc/proto/tappd_rpc.proto @@ -97,6 +97,10 @@ message WorkerInfo { string tcb_info = 4; // App name string app_name = 5; + // Whether the app logs are public + bool public_logs = 6; + // Whether the app sysinfo is public + bool public_sysinfo = 7; } // The response to a WorkerInfo request diff --git a/tappd/src/rpc_service.rs b/tappd/src/rpc_service.rs index 8febb59..e8d0f12 100644 --- a/tappd/src/rpc_service.rs +++ b/tappd/src/rpc_service.rs @@ -182,6 +182,8 @@ impl WorkerRpc for ExternalRpcHandler { instance_id, app_cert: ca.pem_cert.clone(), tcb_info, + public_logs: self.state.config().public_logs, + public_sysinfo: self.state.config().public_sysinfo, }) }